ixgbe: Manual AN-37 for troublesome link partners for X550 SFI
Subsystems (3)
PATCH v3 1/1 ixgbe: Manual AN-37 for troublesome link partners for X550 SFI
Some (Juniper MX5) SFP link partners exhibit a disinclination to autonegotiate with X550 configured in SFI mode. This patch enables a manual AN-37 restart to work around the problem.
--- drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | 3 + drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c | 56 ++++++++++++++++++- 2 files changed, 56 insertions(+), 3 deletions(-)
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h +3 -0
@@ -3705,7 +3705,9 @@ struct ixgbe_info {#define IXGBE_KRM_LINK_S1 (P ) ((P) ? 0x8200 : 0x4200)#define IXGBE_KRM_LINK_CTRL_1 (P ) ((P) ? 0x820C : 0x420C)#define IXGBE_KRM_AN_CNTL_1 (P ) ((P) ? 0x822C : 0x422C) +#define IXGBE_KRM_AN_CNTL_4 (P ) ((P) ? 0x8238 : 0x4238)#define IXGBE_KRM_AN_CNTL_8 (P ) ((P) ? 0x8248 : 0x4248) +#define IXGBE_KRM_PCS_KX_AN (P ) ((P) ? 0x9918 : 0x5918)#define IXGBE_KRM_SGMII_CTRL (P ) ((P) ? 0x82A0 : 0x42A0)#define IXGBE_KRM_LP_BASE_PAGE_HIGH (P ) ((P) ? 0x836C : 0x436C)#define IXGBE_KRM_DSP_TXFFE_STATE_4 (P ) ((P) ? 0x8634 : 0x4634)
@@ -3715,6 +3717,7 @@ struct ixgbe_info {#define IXGBE_KRM_PMD_FLX_MASK_ST20 (P ) ((P) ? 0x9054 : 0x5054)#define IXGBE_KRM_TX_COEFF_CTRL_1 (P ) ((P) ? 0x9520 : 0x5520)#define IXGBE_KRM_RX_ANA_CTL (P ) ((P) ? 0x9A00 : 0x5A00) +#define IXGBE_KRM_FLX_TMRS_CTRL_ST31 (P ) ((P) ? 0x9180 : 0x5180)#define IXGBE_KRM_PMD_FLX_MASK_ST20_SFI_10G_DA ~(0x3 << 20)#define IXGBE_KRM_PMD_FLX_MASK_ST20_SFI_10G_SR BIT(20)
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c +53 -3
62 lines not on this page · raw message
Signature · 6 lines
2.25.1 _______________________________________________ Intel-wired-lan mailing list [email protected] https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
Quoted 17 lines
-----Original Message-----
From: Daly, Jeff <[email protected]>
Sent: Thursday, July 21, 2022 7:11 AM
To: [email protected]
Cc: Brandeburg, Jesse <[email protected]>; Nguyen, Anthony L <[email protected]>; David S. Miller <[email protected]>; Jakub Kicinski <[email protected]>; [email protected]; [email protected]; [email protected]
Subject: [PATCH v3] ixgbe: Manual AN-37 for troublesome link partners for X550 SFISome (Juniper MX5) SFP link partners exhibit a disinclination to autonegotiate with X550 configured in SFI mode. This patch enables a manual AN-37 restart to work around the problem.
Quoted 5 lines
Signed-off-by Jeff Daly <[email protected]>---
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h| 3 +drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c| 56 ++++++++++++++++++-2 files changed, 56 insertions(+), 3 deletions(-)
We don't have the specific link partner that this patch fixes, but we have verified that AN wasn't hindered or broken with the link partners that we have.
_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan