Fix bxe(4) netdump rx polling.

Reviewed by:	cem, rstone
X-MFC with:	r333287
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Mark Johnston 2018-05-09 19:54:34 +00:00
parent 4273f67609
commit b4fa90d6f9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333429

View File

@ -19240,7 +19240,7 @@ bxe_netdump_poll(struct ifnet *ifp, int count)
return (ENOENT);
for (i = 0; i < sc->num_queues; i++)
(void)bxe_rxeof(sc, &sc->fp[0]);
(void)bxe_rxeof(sc, &sc->fp[i]);
(void)bxe_txeof(sc, &sc->fp[0]);
return (0);
}