From: Broadroad <[email protected]>

Use MFLCN for 82599 and X540 HW instead of FCTRL.

Signed-off-by: Zhang Kang <[email protected]>
Signed-off-by: Gao Wayne <[email protected]>
Signed-off-by: Wei Net <[email protected]>
---
 ixgbe.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ixgbe.c b/ixgbe.c
index ff0e769..c632137 100644
--- a/ixgbe.c
+++ b/ixgbe.c
@@ -232,9 +232,9 @@ ixgbe_dump_regs(struct ethtool_drvinfo *info, struct 
ethtool_regs *regs)
                "       Receive Priority Flow Control Packets:         %s\n",
                reg,
                reg & IXGBE_MFLCN_RFCE    ? "enabled"  : "disabled",
-               reg & IXGBE_FCTRL_DPF     ? "enabled"  : "disabled",
-               reg & IXGBE_FCTRL_PMCF    ? "enabled"  : "disabled",
-               reg & IXGBE_FCTRL_RPFCE   ? "enabled"  : "disabled");
+               reg & IXGBE_MFLCN_DPF     ? "enabled"  : "disabled",
+               reg & IXGBE_MFLCN_PMCF    ? "enabled"  : "disabled",
+               reg & IXGBE_MFLCN_RPFCE   ? "enabled"  : "disabled");
        }
 
        reg = regs_buff[516];
-- 
2.10.2.windows.1


Reply via email to