Home
last modified time | relevance | path

Searched refs:kern_spec (Results 1 – 1 of 1) sorted by relevance

/drivers/infiniband/core/
Duverbs_cmd.c3046 static int kern_spec_to_ib_spec(struct ib_uverbs_flow_spec *kern_spec, in kern_spec_to_ib_spec() argument
3049 if (kern_spec->reserved) in kern_spec_to_ib_spec()
3052 ib_spec->type = kern_spec->type; in kern_spec_to_ib_spec()
3057 if (ib_spec->eth.size != kern_spec->eth.size) in kern_spec_to_ib_spec()
3059 memcpy(&ib_spec->eth.val, &kern_spec->eth.val, in kern_spec_to_ib_spec()
3061 memcpy(&ib_spec->eth.mask, &kern_spec->eth.mask, in kern_spec_to_ib_spec()
3066 if (ib_spec->ipv4.size != kern_spec->ipv4.size) in kern_spec_to_ib_spec()
3068 memcpy(&ib_spec->ipv4.val, &kern_spec->ipv4.val, in kern_spec_to_ib_spec()
3070 memcpy(&ib_spec->ipv4.mask, &kern_spec->ipv4.mask, in kern_spec_to_ib_spec()
3076 if (ib_spec->tcp_udp.size != kern_spec->tcp_udp.size) in kern_spec_to_ib_spec()
[all …]