port: add ring writer nodrop
authorMaciej Gajdzica <maciejx.t.gajdzica@intel.com>
Thu, 21 May 2015 12:28:44 +0000 (14:28 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 18 Jun 2015 14:41:13 +0000 (16:41 +0200)
commit5f4cd47309d68e974ddb5c521297c57e487ac288
tree4c992ccc8b1f30b0f25cfe619d0d7522004a85f0
parent304c8091e90afa174a064d1bc6b71c8a4962fb58
port: add ring writer nodrop

When ring_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_ring.c
lib/librte_port/rte_port_ring.h