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:
parent
8b2103add0
commit
7a6b8f6f7f
3 changed files with 16 additions and 7 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue