ixgbe: fix broken PFC with X550
Subsystems (2)
PATCH 1/1 ixgbe: fix broken PFC with X550
PFC is configuration is skipped for X550 devices due to a incorrect device id check, fixing that to include X550 PFC configuration.
---
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c +3 -3
@@ -223,13 +223,13 @@ s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) reg |=IXGBE_MFLCN_DPF ;/* -* X540 supports per TC Rx priority flow control. So -* clear all TCs and only enable those that should be +* X540 & X550 supports per TC Rx priority flow control. +* So clear all TCs and only enable those that should be * enabled. */ reg &= ~(IXGBE_MFLCN_RPFCE_MASK |IXGBE_MFLCN_RFCE ); -if (hw->mac.type == ixgbe_mac_X540) +if (hw->mac.type >= ixgbe_mac_X540) reg |= pfc_en <<IXGBE_MFLCN_RPFCE_SHIFT ;if (pfc_en)
Schmitt
PATCH 1/1 ixgbe: fix broken PFC with X550
Quoted 9 lines
-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Vasu Dev
Sent: Monday, November 23, 2015 10:31 AM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH] ixgbe: fix broken PFC with X550
Quoted 5 lines
PFC is configuration is skipped for X550 devices due to a incorrect device id check, fixing that to include X550 PFC configuration.
Signed-off-by Vasu Dev <[email protected]>---
The scope of my testing was limited to trying to find any issues that this patch might cause with standard (non-DCB) networking traffic.