examples/l3fwd: skip Tx queue drain on first FIB iteration
authorConor Walsh <conor.walsh@intel.com>
Wed, 21 Apr 2021 12:48:42 +0000 (12:48 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 21 Apr 2021 18:43:41 +0000 (20:43 +0200)
commit91470c0ddfabc61655f6ed1516efd495d9271324
treec585a32adf32fb87ef778ad9188e5c4c15cf5713
parent5be3505717269d6634a844bff3fc9339402b2690
examples/l3fwd: skip Tx queue drain on first FIB iteration

The commit a8f8b672d575 ("examples/l3fwd: skip Tx queue drain on first iteration")
implemented a change to the EM and LPM lookup methods to
prevent the Tx queue drain running in the first iteration of their
packet processing loops.

This patch applies the same change into the new FIB lookup method.

Signed-off-by: Conor Walsh <conor.walsh@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
examples/l3fwd/l3fwd_fib.c