Author: davidch Date: Mon May 2 23:34:33 2011 New Revision: 221354 URL: http://svn.freebsd.org/changeset/base/221354
Log: - Fixed a typo in an if() statement when setting flow control for MTU greater than 5000 bytes. Submitted by: yongari Modified: head/sys/dev/bxe/if_bxe.c Modified: head/sys/dev/bxe/if_bxe.c ============================================================================== --- head/sys/dev/bxe/if_bxe.c Mon May 2 22:54:24 2011 (r221353) +++ head/sys/dev/bxe/if_bxe.c Mon May 2 23:34:33 2011 (r221354) @@ -3600,7 +3600,7 @@ bxe_initial_phy_init(struct bxe_softc *s * 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; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"