summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/mlx5_ifc.h
diff options
context:
space:
mode:
authorMaor Gottlieb2017-10-19 07:25:54 +0200
committerDoug Ledford2017-10-25 20:17:06 +0200
commit4d350f1f89ee8ea84be1ef09717bf392fa5a3b45 (patch)
tree10ee20e01bed895835aebaf53af4d46245f3c202 /include/linux/mlx5/mlx5_ifc.h
parentIB/mlx5: Support padded 128B CQE feature (diff)
downloadkernel-qcow2-linux-4d350f1f89ee8ea84be1ef09717bf392fa5a3b45.tar.gz
kernel-qcow2-linux-4d350f1f89ee8ea84be1ef09717bf392fa5a3b45.tar.xz
kernel-qcow2-linux-4d350f1f89ee8ea84be1ef09717bf392fa5a3b45.zip
IB/mlx5: Update tunnel offloads bits
This patch updates the mlx5_ifc with the following: - Fix tunnel_stateless_gre typo. - max_geneve_opt_len - Maximum geneve options length. - tunnel_stateless_geneve_rx - If set, receive Stateless Offloads for Geneve tunneled (inner) packets are supported. Signed-off-by: Maor Gottlieb <maorg@mellanox.com> Reviewed-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.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 d49928c314ed..d4c29c183d28 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -614,7 +614,9 @@ struct mlx5_ifc_per_protocol_networking_offload_caps_bits {
u8 swp[0x1];
u8 swp_csum[0x1];
u8 swp_lso[0x1];
- u8 reserved_at_23[0x1d];
+ u8 reserved_at_23[0x1b];
+ u8 max_geneve_opt_len[0x1];
+ u8 tunnel_stateless_geneve_rx[0x1];
u8 reserved_at_40[0x10];
u8 lro_min_mss_size[0x10];