Skip to contentSkip to conversation

cxgb4: depend on firmware event for link status

PATCH Applied Ganesh Goudar 2 participants 2 messages Mar 23, 2018 – Mar 26, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cxgb4: depend on firmware event for link status

Depend on the firmware sending us link status changes, rather than assuming that the link goes down upon L1 configuration.

---
 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 2 --
 1 file changed, 2 deletions(-)
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c +0 -2
index 38e38dc..b862477 100644
@@ -4066,8 +4066,6 @@ int t4_link_l1cfg(struct adapter *adapter, unsigned int mbox,
 	unsigned int fw_mdi = FW_PORT_CAP32_MDI_V(FW_PORT_CAP32_MDI_AUTO);
 	fw_port_cap32_t fw_fc, cc_fec, fw_fec, rcap;
 
-	lc->link_ok = 0;
-
 	/* Convert driver coding of Pause Frame Flow Control settings into the
 	 * Firmware's API.
 	 */
Signature · 1 line
2.1.0