[dpdk-dev] [PATCH v2] net/enic: decrement Tx mbuf reference count before recycling

2016-07-15 Thread Thomas Monjalon
2016-07-11 12:45, John Daley: > In the burst Tx cleanup function, the reference count in mbufs > returned to the pool should to be decremented before they are > returned. Decrementing is not done by rte_mempool_put_bulk() > so it must be done separately using __rte_pktmbuf_prefree_seg(). > > Also

[dpdk-dev] [PATCH v2] net/enic: decrement Tx mbuf reference count before recycling

2016-07-11 Thread John Daley
In the burst Tx cleanup function, the reference count in mbufs returned to the pool should to be decremented before they are returned. Decrementing is not done by rte_mempool_put_bulk() so it must be done separately using __rte_pktmbuf_prefree_seg(). Also when returning unsent buffers when the dev