net/igb: free consumed Tx buffers on demand
authorBilly McFall <bmcfall@redhat.com>
Fri, 24 Mar 2017 18:55:54 +0000 (14:55 -0400)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 27 Mar 2017 15:17:33 +0000 (17:17 +0200)
commit8d907d2b79f7a54c809f1c44970ff455fa2865e1
tree84053bd4337cf9d8e4ded009d8e4b3cced7d26a5
parent44a718c457b5f8f034e490a626a9b970a79436ee
net/igb: free consumed Tx buffers on demand

Add support to the e1000 igb driver for the new API to force free
consumed buffers on Tx ring. This API is independent of the tx_rs_thresh
setting. With this API, buffers should be free even if tx_rs_thresh is
not met.

e1000 igb driver does not implement a tx_rs_thresh to free mbufs, it
frees a slot in the ring as needed. However, it could be implemented at
some future date.

Signed-off-by: Billy McFall <bmcfall@redhat.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: Keith Wiles <keith.wiles@intel.com>
doc/guides/nics/features/e1000.ini
drivers/net/e1000/e1000_ethdev.h
drivers/net/e1000/igb_ethdev.c
drivers/net/e1000/igb_rxtx.c