summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@mellanox.com>2016-02-29 21:17:12 +0200
committerDavid S. Miller <davem@davemloft.net>2016-03-02 14:37:25 -0500
commitbdfc028de1b3cd59490d5413a5c87b0fa50040c2 (patch)
treeb67431f079628691c61677783b26b09caeff9ac2 /include/linux
parent0ad9b20415a461332611666301e7812900a15ad4 (diff)
downloadlinux-stable-bdfc028de1b3cd59490d5413a5c87b0fa50040c2.tar.gz
linux-stable-bdfc028de1b3cd59490d5413a5c87b0fa50040c2.tar.bz2
linux-stable-bdfc028de1b3cd59490d5413a5c87b0fa50040c2.zip
net/mlx5e: Fix ethtool RX hash func configuration change
We should modify TIRs explicitly to apply the new RSS configuration. The light ndo close/open calls do not "refresh" them. Fixes: 2d75b2bc8a8c ('net/mlx5e: Add ethtool RSS configuration options') Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-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 51f1e540fc2b..58eef02edc7e 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -4245,7 +4245,9 @@ struct mlx5_ifc_modify_tir_bitmask_bits {
u8 reserved_at_20[0x1b];
u8 self_lb_en[0x1];
- u8 reserved_at_3c[0x3];
+ u8 reserved_at_3c[0x1];
+ u8 hash[0x1];
+ u8 reserved_at_3e[0x1];
u8 lro[0x1];
};