examples/l3fwd: fix packets lost when stopping
authorTomasz Kulasek <tomaszx.kulasek@intel.com>
Thu, 31 Mar 2016 13:38:08 +0000 (15:38 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 31 Mar 2016 20:56:00 +0000 (22:56 +0200)
Not all tx ports was included in tx_port_id array, used to periodically
drain only available ports. This caused that some packets remain in buffer
when application stops to receiving packets.

Fixes: 52c97adc1f0f ("examples/l3fwd: fix exact match performance")

Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>

No differences found