mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
if_bnxt: Fix the PORT_PHY_CFG HWRM requests while setting Pause
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D36446
This commit is contained in:
parent
baef1301a2
commit
19a57f85ba
1 changed files with 3 additions and 0 deletions
|
|
@ -868,6 +868,9 @@ bnxt_hwrm_set_pause_common(struct bnxt_softc *softc,
|
|||
HWRM_PORT_PHY_CFG_INPUT_FORCE_PAUSE_TX;
|
||||
req->enables |=
|
||||
htole32(HWRM_PORT_PHY_CFG_INPUT_ENABLES_FORCE_PAUSE);
|
||||
req->auto_pause = req->force_pause;
|
||||
req->enables |=
|
||||
htole32(HWRM_PORT_PHY_CFG_INPUT_ENABLES_AUTO_PAUSE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue