- Fixed a typo in an if() statement when setting flow control for MTU

greater than 5000 bytes.

Submitted by:	yongari
This commit is contained in:
David Christensen 2011-05-02 23:34:33 +00:00
parent 3ff6178ab5
commit f83b279588
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=221354

View File

@ -3600,7 +3600,7 @@ bxe_initial_phy_init(struct bxe_softc *sc)
* It is recommended to turn off RX flow control for 5771x
* when using jumbo frames for better performance.
*/
if (!IS_E1HMF(sc) & (sc->mbuf_alloc_size > 5000))
if (!IS_E1HMF(sc) && (sc->mbuf_alloc_size > 5000))
sc->link_params.req_fc_auto_adv = FLOW_CTRL_TX;
else
sc->link_params.req_fc_auto_adv = FLOW_CTRL_BOTH;