summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/amd/ariadne.h
diff options
context:
space:
mode:
authorLendacky, Thomas <Thomas.Lendacky@amd.com>2016-02-17 11:48:57 -0600
committerDavid S. Miller <davem@davemloft.net>2016-02-17 15:22:19 -0500
commit6a49ee4e1b9eb8747ff79c5438a42c0726aaa03b (patch)
treecc087b40ec69852c63758cb0648d4e3fdd17caa1 /drivers/net/ethernet/amd/ariadne.h
parent8dba2a2a88397dec6bdcae8bf7ceeefd62fd39fc (diff)
amd-xgbe: Fix the mapping of priorities to traffic classes
The driver is checking the pfc_en field of the ieee_pfc structure to determine whether to associate a priority with a traffic class. This is incorrect since the pfc_en field is for determining if PFC is enabled for a traffic class. The association of priority to traffic class does not depend on whether the traffic class is enabled for PFC, so remove that check. Also, the mapping of priorities to traffic classes should be done when configuring the traffic classes and not the PFC support so move the priority to traffic class association from xgbe_config_dcb_pfc to xgbe_config_dcb_tc. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/amd/ariadne.h')
0 files changed, 0 insertions, 0 deletions