aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_verbs.h
diff options
context:
space:
mode:
authorAriel Levkovich <lariel@mellanox.com>2018-05-13 14:33:31 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-05-16 21:32:54 -0600
commit0d86bbec71b283803f844b35d50dba977be2db4a (patch)
treea46961467c476fa342c385d72db51c2ebf423dd0 /include/rdma/ib_verbs.h
parentIB/uverbs: Introduce a GRE steering match filter (diff)
downloadlinux-dev-0d86bbec71b283803f844b35d50dba977be2db4a.tar.xz
linux-dev-0d86bbec71b283803f844b35d50dba977be2db4a.zip
IB/uverbs: Expose MPLS flow spec to the user-kernel ABI header
Add ib_uverbs_flow_spec_mpls to define a rule to match the MPLS protocol. The spec includes the generic specs header, type, size and reserved fields while the filter itself is defined as ib_uverbs_flow_mpls_filter and includes a single 32bit field named 'label' which consists of: Bits 0:19 - The MPLS label. Bits 20:22 - Traffic class field. Bit 23 - Bottom of stack bit. Bits 24:31 - Time to live (TTL) field. Reviewed-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Ariel Levkovich <lariel@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/ib_verbs.h')
0 files changed, 0 insertions, 0 deletions