Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Apr 2015 14:53:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 199174] em tx and rx hang
Message-ID:  <bug-199174-8-Qobh0SSUok@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-199174-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-199174-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199174

--- Comment #1 from david.keller@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199174-8-Qobh0SSUok>