net/mlx4_en: Limit the number of RX rings
authorInbar Karmy <inbark@mellanox.com>
Tue, 10 Oct 2017 09:28:34 +0000 (12:28 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Oct 2017 20:11:22 +0000 (13:11 -0700)
commitb8d394367a631c2d749b3114e04dfb4d09624ddf
treeda2c277a0934e8a19585282ee7e3c92a1c82466d
parent7e1dc5e926d57a5bc4ac97d6e061e2fe29c266c0
net/mlx4_en: Limit the number of RX rings

Limit the number of RX rings by the number of cores
in the system.

Signed-off-by: Inbar Karmy <inbark@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c