summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorMoses Reuben <mosesr@mellanox.com>2016-11-14 18:04:49 +0100
committerDoug Ledford <dledford@redhat.com>2016-12-13 19:34:22 +0100
commita0cb4c759af12943806564294fa53ab08cb7cf93 (patch)
tree35819ed1af3e41403a266075353c37063abb7601 /include/rdma
parentIB/core: Align structure ib_flow_spec_type (diff)
downloadlinux-a0cb4c759af12943806564294fa53ab08cb7cf93.tar.xz
linux-a0cb4c759af12943806564294fa53ab08cb7cf93.zip
IB/uverbs: Add support for Vxlan protocol
Add ib_uverbs_flow_spec_tunnel to define the rule to match Vxlan, the type, size, reserved fields are identical to rest of the protocols, and are used to identify the spec. The tunnel id is the vni value of the Vxlan protocol, and it is used as part of the steering rule, it is limited by the mask. The steering rule configured on the hardware does a match according to vni and other protocols. In the same way as rest of the protocols that we match, the uniq field's of each protocol are represented on the val and the mask. Signed-off-by: Moses Reuben <mosesr@mellanox.com> Reviewed-by: Maor Gottlieb <maorg@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions