mlx4_en: set number of rx rings used by RSS using ethtool
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Tue, 17 Jan 2012 22:54:55 +0000 (22:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jan 2012 21:07:34 +0000 (16:07 -0500)
commit93d3e3678f23109363cd6f99f2944d2cda616b23
treebb03e8801b25f03d3e658e9dc3108101f7e94fc1
parentd00a9dd21bdf7908b70866794c8313ee8a5abd5c
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>
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
drivers/net/ethernet/mellanox/mlx4/en_main.c
drivers/net/ethernet/mellanox/mlx4/en_rx.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h