summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAchiad Shochat <achiad@mellanox.com>2015-08-04 14:05:42 +0300
committerDavid S. Miller <davem@davemloft.net>2015-08-06 22:00:58 -0700
commitd9eea403ca81f60cd535d354c77ada4c2bee8d66 (patch)
tree563c729a3f3a1d654c10299c8c2963cb1216a71f /include
parent50cfa25aba67c658979c5a3188d514ee6780364b (diff)
downloadlinux-stable-d9eea403ca81f60cd535d354c77ada4c2bee8d66.tar.gz
linux-stable-d9eea403ca81f60cd535d354c77ada4c2bee8d66.tar.bz2
linux-stable-d9eea403ca81f60cd535d354c77ada4c2bee8d66.zip
net/mlx5_core: Introduce access function to modify RSS/LRO params
To be used by the mlx5 Eth driver in following commit. This is in preparation for netdev "light-weight" open/stop flow change described in previous commit. Signed-off-by: Achiad Shochat <achiad@mellanox.com> Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index c60a62bba652..469b7bda3304 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -4050,6 +4050,13 @@ struct mlx5_ifc_modify_tis_in_bits {
struct mlx5_ifc_tisc_bits ctx;
};
+struct mlx5_ifc_modify_tir_bitmask_bits {
+ u8 reserved[0x20];
+
+ u8 reserved1[0x1f];
+ u8 lro[0x1];
+};
+
struct mlx5_ifc_modify_tir_out_bits {
u8 status[0x8];
u8 reserved_0[0x18];
@@ -4071,7 +4078,7 @@ struct mlx5_ifc_modify_tir_in_bits {
u8 reserved_3[0x20];
- u8 modify_bitmask[0x40];
+ struct mlx5_ifc_modify_tir_bitmask_bits bitmask;
u8 reserved_4[0x40];