]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb268adb99255d363b0d1fd42538f0b5740ac3c8e
treefa15cc265769222d5a59bf543bb53247be017008
parentd12cf9b70a879081a7662d6831712b9e55d17245
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: 03784a17950e ("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