summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/mlx5_ifc.h
diff options
context:
space:
mode:
authorAriel Levkovich2018-05-13 13:33:35 +0200
committerJason Gunthorpe2018-05-17 05:32:55 +0200
commite818e255a58d64e86c8c93e3aa52498b1a3d1760 (patch)
treec5a16e86fbe0603337cc1815d3911111b51916d0 /include/linux/mlx5/mlx5_ifc.h
parentIB/mlx5: Add support for MPLS flow specification (diff)
downloadkernel-qcow2-linux-e818e255a58d64e86c8c93e3aa52498b1a3d1760.tar.gz
kernel-qcow2-linux-e818e255a58d64e86c8c93e3aa52498b1a3d1760.tar.xz
kernel-qcow2-linux-e818e255a58d64e86c8c93e3aa52498b1a3d1760.zip
IB/mlx5: Expose MPLS related tunneling offloads
This patch reports the device's capbilities to offload encapsulated MPLS tunnel protocols to user-space: - Capability to offload MPLS over GRE. - Capability to offload MPLS over UDP. 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/linux/mlx5/mlx5_ifc.h')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 3fee2f74d09d..68f756ea550d 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -1138,7 +1138,9 @@ struct mlx5_ifc_cmd_hca_cap_bits {
u8 reserved_at_500[0x20];
u8 num_of_uars_per_page[0x20];
- u8 reserved_at_540[0x40];
+
+ u8 flex_parser_protocols[0x20];
+ u8 reserved_at_560[0x20];
u8 reserved_at_580[0x3d];
u8 cqe_128_always[0x1];