]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/hwspinlock.git/commit
net/mlx4_en: Limit the number of TX rings
authorInbar Karmy <inbark@mellanox.com>
Tue, 10 Oct 2017 09:28:33 +0000 (12:28 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Oct 2017 20:11:22 +0000 (13:11 -0700)
commit7e1dc5e926d57a5bc4ac97d6e061e2fe29c266c0
tree89ce19229a6e0ec086895058cabf69841249dee0
parent59d43876719ac46902b2a0f98217b430156d0d37
net/mlx4_en: Limit the number of TX rings

Limit the number of TX rings per UP 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
drivers/net/ethernet/mellanox/mlx4/en_main.c
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h