Re: [dpdk-dev] [PATCH v6 1/3] ethdev: new API to free consumed buffers in Tx ring

2017-03-15 Thread Billy McFall
On Wed, Mar 15, 2017 at 6:29 AM, Olivier Matz wrote: > Hi Billy, > > On Thu, 9 Mar 2017 15:51:17 -0500, Billy McFall > wrote: > > 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)

Re: [dpdk-dev] [PATCH v6 1/3] ethdev: new API to free consumed buffers in Tx ring

2017-03-15 Thread Thomas Monjalon
2017-03-09 15:51, Billy McFall: > @@ -3097,6 +3101,33 @@ rte_eth_tx_buffer(uint8_t port_id, uint16_t queue_id, > } > > /** > + * Request the driver to free mbufs currently cached by the driver. The > + * driver will only free the mbuf if it is no longer in use. It is the > + * application's res

Re: [dpdk-dev] [PATCH v6 1/3] ethdev: new API to free consumed buffers in Tx ring

2017-03-15 Thread Olivier Matz
Hi Billy, On Thu, 9 Mar 2017 15:51:17 -0500, Billy McFall wrote: > 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). > > Please double check my python codin

[dpdk-dev] [PATCH v6 1/3] ethdev: new API to free consumed buffers in Tx ring

2017-03-09 Thread Billy McFall
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). Please double check my python coding in conf.py and make sure I implemented 'feature_str_len' properly. Signed-o