OSDN Git Service

net: aquantia: regression on cpus with high cores: set mode with 8 queues
authorDmitry Bogdanov <dmitry.bogdanov@aquantia.com>
Tue, 26 Feb 2019 15:39:13 +0000 (15:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Mar 2019 19:24:53 +0000 (11:24 -0800)
commit15f3ddf53d4d26c4e338c355abffb3eaf4b3112f
treefa15cc265769222d5a59bf543bb53247be017008
parentada641ff6ed34a125fbf62ec79733352ffd4305d
net: aquantia: regression on cpus with high cores: set mode with 8 queues

Recently the maximum number of queues was increased up to 8, but
NIC was not fully configured for 8 queues. In setups with more than 4 CPU
cores parts of TX traffic gets lost if the kernel routes it to queues 4th-8th.

This patch sets a tx hw traffic mode with 8 queues.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=202651

Fixes: 71a963cfc50b ("net: aquantia: increase max number of hw queues")
Reported-by: Nicholas Johnson <nicholas.johnson@outlook.com.au>
Signed-off-by: Dmitry Bogdanov <dmitry.bogdanov@aquantia.com>
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h