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:
Sumit Saxena 2022-11-04 16:31:24 -06:00 committed by Warner Losh
parent baef1301a2
commit 19a57f85ba

View file

@ -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);
}
}