[Bug 199174] em tx and rx hang

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 5 14:53:22 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199174

--- Comment #1 from david.keller at litchis.fr ---
The card is definitely not sending:

1) dev.em.0.queue0.tx_irq is *not* increasing, so no signal from the card that
data has been sent
2) hence sysctl dev.em.0.debug=1 shows that TX descriptors avail is decreasing
3) when it drops bellow EM_MAX_SCATTER, em_txeof() is finally called:
https://svnweb.freebsd.org/base/releng/10.1/sys/dev/e1000/if_em.c?view=markup#l962
4) em_txoef() examines descriptors and detects that the card has not processed
any of them and marks the queue as EM_QUEUE_HUNG:
https://svnweb.freebsd.org/base/releng/10.1/sys/dev/e1000/if_em.c?view=markup#l3925
5) The queue status is read and the card reset is performed:
https://svnweb.freebsd.org/base/releng/10.1/sys/dev/e1000/if_em.c?view=markup#l2297

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list