From dca60051227a1635cfbca8316c42687f1ab128dc Mon Sep 17 00:00:00 2001 From: Sepherosa Ziehau Date: Sat, 24 Nov 2012 21:24:14 +0800 Subject: [PATCH] bnx: Commit coalesce parameters changes in polling code --- sys/dev/netif/bnx/if_bnx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/netif/bnx/if_bnx.c b/sys/dev/netif/bnx/if_bnx.c index 1f5abb1330..e86de2a505 100644 --- a/sys/dev/netif/bnx/if_bnx.c +++ b/sys/dev/netif/bnx/if_bnx.c @@ -2691,6 +2691,9 @@ bnx_npoll_compat(struct ifnet *ifp, void *arg __unused, int cycle __unused) tx_cons = sblk->bge_idx[0].bge_tx_cons_idx; if (sc->bnx_tx_saved_considx != tx_cons) bnx_txeof(sc, tx_cons); + + if (sc->bnx_coal_chg) + bnx_coal_change(sc); } #endif /* IFPOLL_ENABLE */ -- 2.41.0