port: add ethdev writer nodrop
authorMaciej Gajdzica <maciejx.t.gajdzica@intel.com>
Thu, 21 May 2015 12:28:43 +0000 (14:28 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 18 Jun 2015 14:37:57 +0000 (16:37 +0200)
commit304c8091e90afa174a064d1bc6b71c8a4962fb58
treee724ec2fa7aea758f5050eda239a3b15e20ec806
parent3e5966837a0978f929222946575d11d4acf3ee64
port: add ethdev writer nodrop

When ethdev_writer_nodrop port fails to send data, it tries to resend.
Operation is aborted when maximum number of retries is reached.

Signed-off-by: Maciej Gajdzica <maciejx.t.gajdzica@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
lib/librte_port/rte_port_ethdev.c
lib/librte_port/rte_port_ethdev.h