sfc: Enable autonegotiated flow-control by default if supported
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
8b2103add0
commit
7a6b8f6f7f
@@ -909,6 +909,8 @@ static int falcon_probe_port(struct efx_nic *efx)
|
||||
efx->wanted_fc = EFX_FC_RX | EFX_FC_TX;
|
||||
else
|
||||
efx->wanted_fc = EFX_FC_RX;
|
||||
if (efx->mdio.mmds & MDIO_DEVS_AN)
|
||||
efx->wanted_fc |= EFX_FC_AUTO;
|
||||
|
||||
/* Allocate buffer for stats */
|
||||
rc = efx_nic_alloc_buffer(efx, &efx->stats_buffer,
|
||||
|
Reference in New Issue
Block a user