summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
diff options
context:
space:
mode:
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>2012-01-17 22:54:55 +0000
committerDavid S. Miller <davem@davemloft.net>2012-01-18 16:07:34 -0500
commit93d3e3678f23109363cd6f99f2944d2cda616b23 (patch)
treebb03e8801b25f03d3e658e9dc3108101f7e94fc1 /drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
parentd00a9dd21bdf7908b70866794c8313ee8a5abd5c (diff)
downloadlwn-93d3e3678f23109363cd6f99f2944d2cda616b23.tar.gz
lwn-93d3e3678f23109363cd6f99f2944d2cda616b23.zip
mlx4_en: set number of rx rings used by RSS using ethtool
Value must be a power of 2 due to HW limitation. Driver supports only 'equal' mode in ethtool and can't be set by using weights. Signed-off-by: Amir Vadai <amirv@mellanox.co.il> Reviewed-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/mlx4_en.h')
-rw-r--r--drivers/net/ethernet/mellanox/mlx4/mlx4_en.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
index f2a8e65f5f88..f4d189a1290e 100644
--- a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
+++ b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
@@ -325,11 +325,11 @@ struct mlx4_en_port_profile {
u8 rx_ppp;
u8 tx_pause;
u8 tx_ppp;
+ int rss_rings;
};
struct mlx4_en_profile {
int rss_xor;
- int tcp_rss;
int udp_rss;
u8 rss_mask;
u32 active_ports;