ethdev: add API to free consumed buffers in Tx ring
authorBilly McFall <bmcfall@redhat.com>
Fri, 24 Mar 2017 18:55:53 +0000 (14:55 -0400)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 27 Mar 2017 15:17:33 +0000 (17:17 +0200)
commit44a718c457b5f8f034e490a626a9b970a79436ee
tree60a8f2d359f3a8af48f800aa22593be5bdbf1156
parentac71108d649273fe19e7653eda1499f868c6846a
ethdev: add API to free consumed buffers in Tx ring

Add a new API to force free consumed buffers on Tx ring. API will return
the number of packets freed (0-n) or error code if feature not supported
(-ENOTSUP) or input invalid (-ENODEV).

Signed-off-by: Billy McFall <bmcfall@redhat.com>
Acked-by: Keith Wiles <keith.wiles@intel.com>
doc/guides/conf.py
doc/guides/nics/features/default.ini
doc/guides/prog_guide/poll_mode_drv.rst
doc/guides/rel_notes/release_17_05.rst
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h