[dpdk-dev] [PATCH] net/vmxnet3: fix mbuf release on reset/stop

2016-11-07 Thread Thomas Monjalon
2016-10-26 10:45, Yong Wang: > During device reset/stop, vmxnet3 releases all mbufs in tx and > rx cmd ring. For rx, we should go over all ring descriptors and > free using rte_pktmbuf_free_seg() instead of rte_pktmbuf_free() > as the metadata of the mbuf might not be properly initialized > (initi

[dpdk-dev] [PATCH] net/vmxnet3: fix mbuf release on reset/stop

2016-10-26 Thread Yong Wang
During device reset/stop, vmxnet3 releases all mbufs in tx and rx cmd ring. For rx, we should go over all ring descriptors and free using rte_pktmbuf_free_seg() instead of rte_pktmbuf_free() as the metadata of the mbuf might not be properly initialized (initialization after mempool creation is don