EFX_FC_TX
efx->wanted_fc = EFX_FC_RX | EFX_FC_TX;
efx->wanted_fc &= ~(EFX_FC_TX | EFX_FC_RX);
if (wanted_fc & EFX_FC_TX)
pause->tx_pause = !!(efx->wanted_fc & EFX_FC_TX);
(pause->tx_pause ? EFX_FC_TX : 0) |
if ((wanted_fc & EFX_FC_TX) && !(wanted_fc & EFX_FC_RX)) {
(wanted_fc & EFX_FC_TX) && !(efx->wanted_fc & EFX_FC_TX))
case EFX_FC_RX | EFX_FC_TX:
link_state->fc = EFX_FC_AUTO | EFX_FC_TX | EFX_FC_RX;
link_state->fc = EFX_FC_TX | EFX_FC_RX;
if ((efx->wanted_fc & EFX_FC_TX) && rmtadv == ADVERTISED_Asym_Pause)
efx->wanted_fc = EFX_FC_RX | EFX_FC_TX;
efx->wanted_fc |= (EFX_FC_TX | EFX_FC_RX);
efx->wanted_fc &= ~(EFX_FC_TX | EFX_FC_RX);
efx->wanted_fc ^= EFX_FC_TX;
efx->wanted_fc &= ~(EFX_FC_TX | EFX_FC_RX);
if (wanted_fc & EFX_FC_TX)
pause->tx_pause = !!(efx->wanted_fc & EFX_FC_TX);
(pause->tx_pause ? EFX_FC_TX : 0) |
if ((wanted_fc & EFX_FC_TX) && !(wanted_fc & EFX_FC_RX)) {
(wanted_fc & EFX_FC_TX) && !(efx->wanted_fc & EFX_FC_TX))
case EFX_FC_RX | EFX_FC_TX:
link_state->fc = EFX_FC_AUTO | EFX_FC_TX | EFX_FC_RX;
link_state->fc = EFX_FC_TX | EFX_FC_RX;
if ((efx->wanted_fc & EFX_FC_TX) && rmtadv == ADVERTISED_Asym_Pause)
efx->wanted_fc = EFX_FC_RX | EFX_FC_TX;
efx->wanted_fc |= (EFX_FC_TX | EFX_FC_RX);
efx->wanted_fc &= ~(EFX_FC_TX | EFX_FC_RX);
efx->wanted_fc ^= EFX_FC_TX;