OpenCloudOS-Kernel/drivers/net/ethernet/aquantia/atlantic/hw_atl
Mark Starovoytov 40f05e5b0d net: atlantic: proper rss_ctrl1 (54c0) initialization
This patch fixes an inconsistency between code and spec, which
was found while working on the QoS implementation.

When 8TCs are used, 2 is the maximum supported number of index bits.
In a 4TC mode, we do support 3, but we shouldn't really use the bytes,
which are intended for the 8TC mode.

Signed-off-by: Mark Starovoytov <mstarovoitov@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-22 14:08:29 -07:00
..
hw_atl_a0.c net: atlantic: change the order of arguments for TC weight/credit setters 2020-05-22 14:08:29 -07:00
hw_atl_a0.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
hw_atl_a0_internal.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
hw_atl_b0.c net: atlantic: proper rss_ctrl1 (54c0) initialization 2020-05-22 14:08:29 -07:00
hw_atl_b0.h net: atlantic: proper rss_ctrl1 (54c0) initialization 2020-05-22 14:08:29 -07:00
hw_atl_b0_internal.h net: atlantic: proper rss_ctrl1 (54c0) initialization 2020-05-22 14:08:29 -07:00
hw_atl_llh.c net: atlantic: change the order of arguments for TC weight/credit setters 2020-05-22 14:08:29 -07:00
hw_atl_llh.h net: atlantic: change the order of arguments for TC weight/credit setters 2020-05-22 14:08:29 -07:00
hw_atl_llh_internal.h net: atlantic: QoS implementation: max_rate 2020-05-22 14:08:28 -07:00
hw_atl_utils.c net: atlantic: rename AQ_NIC_RATE_2GS to AQ_NIC_RATE_2G5 2020-05-09 11:47:25 -07:00
hw_atl_utils.h net: atlantic: rename AQ_NIC_RATE_2GS to AQ_NIC_RATE_2G5 2020-05-09 11:47:25 -07:00
hw_atl_utils_fw2x.c net: atlantic: unify MAC generation 2020-05-09 11:47:25 -07:00