Re: [dpdk-dev] [PATCH v6 1/2] kni: add bulk function to free mbufs

2017-01-23 Thread Olivier Matz
Hi, [resent and updated, previous mail was sent from the wrong address] On Mon, 23 Jan 2017 13:59:47 +0100, Olivier Matz wrote: > > + * @param mbufs > > + * The packets mbufs array to be freed. > > + * @param n > > + * Number of packets. > > + */ > > +static inline void rte_pktmbuf_free_bul

Re: [dpdk-dev] [PATCH v6 1/2] kni: add bulk function to free mbufs

2017-01-23 Thread Olivier Matz
Hi, On Thu, 19 Jan 2017 11:46:58 +0700, Sergey Vyazmitinov wrote: > Suggested-by: Stephen Hemminger > Signed-off-by: Sergey Vyazmitinov > --- > v3: > * Fixed issue with possible different mempools in buffer list. > * Fixed issue with wrong rte_pktmbuf_alloc_bulk function return value > processi

[dpdk-dev] [PATCH v6 1/2] kni: add bulk function to free mbufs

2017-01-18 Thread Sergey Vyazmitinov
Suggested-by: Stephen Hemminger Signed-off-by: Sergey Vyazmitinov --- v3: * Fixed issue with possible different mempools in buffer list. * Fixed issue with wrong rte_pktmbuf_alloc_bulk function return value processing in the kni_allocate_mbufs. --- lib/librte_mbuf/rte_mbuf.h | 49 +++