[dpdk-dev] [PATCH] examples: fix symmetric_mp, set NIC rx_drop_en bit

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Dec 4 14:37:15 CET 2014


2014-12-03 16:56, Bruce Richardson:
> The symmetric_mp example app is set up to allow two processes to
> share a NIC port, with each pulling packets from one queue. In order
> to have the app continue working when one of the process dies, the
> drop_en bit should be set in the NIC configuration. Without this bit
> set, the NIC will stall once any queue fills. With the bit set, once
> a queue fills, all subsequent packets for that queue are discarded
> allowing other queues to continue operating as normal.
> 
> This setting was missed when converting to use standardised defaults
> in commit 81f7ecd9.

I don't see rx_drop_en in commit 81f7ecd9.
Why do you say it was missed?

-- 
Thomas


More information about the dev mailing list