[dpdk-dev] [PATCH] librte_port: fix mbuf allocation in source port and missing

2015-11-30 Thread Thomas Monjalon
Hi, 2015-11-30 15:46, Fan Zhang: > This patch fixes two issues: > - The allocated mbufs in rte_port_source_rx() are not initialized properly > issue. This issue caused the mbufs not be able to freed back to mempool by > rte_pktmbuf_free(). > - The missed sink port statistics issue. Sink port was

[dpdk-dev] [PATCH] librte_port: fix mbuf allocation in source port and missing

2015-11-30 Thread Fan Zhang
This patch fixes two issues: - The allocated mbufs in rte_port_source_rx() are not initialized properly issue. This issue caused the mbufs not be able to freed back to mempool by rte_pktmbuf_free(). - The missed sink port statistics issue. Sink port was not able record the number of mbufs