sfc: Implement auto-negotiation
Add infrastructure for auto-negotiation of speed, duplex and flow control. When using 10Xpress, auto-negotiate flow control. While we're at it, clean up the code to warn when partner is not 10GBASE-T capable. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
177dfcd80f
commit
04cc8cacb0
@@ -155,6 +155,7 @@ static void xfp_phy_reconfigure(struct efx_nic *efx)
|
||||
efx->link_up = xfp_link_ok(efx);
|
||||
efx->link_speed = 10000;
|
||||
efx->link_fd = true;
|
||||
efx->link_fc = efx->wanted_fc;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user