[dpdk-dev] [PATCH 2/3] driver/net/mpipe: optimize mpipe buffer return mechanism.

2016-01-08 Thread Tony Lu
>-Original Message- >From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Liming Sun >Sent: Tuesday, December 15, 2015 11:38 PM >To: dev at dpdk.org >Subject: [dpdk-dev] [PATCH 2/3] driver/net/mpipe: optimize mpipe buffer return >mechanism. > >This submit has

[dpdk-dev] [PATCH 2/3] driver/net/mpipe: optimize mpipe buffer return mechanism.

2015-12-15 Thread Liming Sun
This submit has changes to optimize the mpipe buffer return. When a packet is received, instead of allocating and refilling the buffer stack right away, it tracks the number of pending buffers, and use HW buffer return as an optimization when the pending number is below certain threshold, thus save