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

2015-12-07 Thread Thomas Monjalon
2015-11-30 20:41, Fan Zhang: > Fixes the mbuf allocation not initialized problem. This problem will cause > the mbufs not be able to freed back to mempool by rte_pktmbuf_free(). > > The problem was introduced by commit "Packet Framework librte_port: Source > /Sink ports" (commit id ef3403fb6f9a3c4

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

2015-11-30 Thread Fan Zhang
Fixes the mbuf allocation not initialized problem. This problem will cause the mbufs not be able to freed back to mempool by rte_pktmbuf_free(). The problem was introduced by commit "Packet Framework librte_port: Source /Sink ports" (commit id ef3403fb6f9a3c4b730d2e4fbe7ddc0291ffa992) Signed-off-

[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 n

[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 received/