DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] e1000 igb packet rx stuck
@ 2021-08-02 16:58 Eric Christian
  0 siblings, 0 replies; only message in thread
From: Eric Christian @ 2021-08-02 16:58 UTC (permalink / raw)
  To: users

Using DPDK 20.11, our application will set Virtual MAC addresses on
interfaces.  This involves bringing the interface down, changing the MAC
address, and bringing the interface back up.  There is a
probability greater than zero that when this is done 20 times (~1
occurrence in 20 attempts), a port will come up in a bad rx state where all
of the received packets are rx_missed_errors (mpc).

When the interface is in this bad state, all calls to the rx_pkt_burst()
function which in our case is eth_igb_recv_scattered_pkts() return zero
packets available for processing.  The Receive Descriptor that is pointed
to by the tail index is showing that the Done Descriptor is not set, so it
returns immediately without reading out any packets.  Manually bringing the
interface down (ifconfig down) and then back up will usually clear this
condition.

My initial question is, has anyone seen this condition?  And if so, what
could be the likely cause?  And what are some things I should be checking
for to try to understand how the rx queue ring has gotten into this state
where HW thinks it cannot write anymore packet descriptors?

Thanks for any help.

Eric

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-02 16:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02 16:58 [dpdk-users] e1000 igb packet rx stuck Eric Christian

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git