Re: [dpdk-dev] [PATCH] net/mlx5: fix redundant free of Tx buffer

2017-06-01 Thread Ferruh Yigit
On 6/1/2017 9:08 AM, Nélio Laranjeiro wrote: > On Wed, May 31, 2017 at 10:48:45AM -0700, Yongseok Koh wrote: >> SW completion ring of Tx (txq->elts) stores individual mbufs even if a >> multi-segmented packet is sent. rte_pktmbuf_free_seg() must be used when >> cleaning up the completion ring. Othe

Re: [dpdk-dev] [PATCH] net/mlx5: fix redundant free of Tx buffer

2017-06-01 Thread Nélio Laranjeiro
On Wed, May 31, 2017 at 10:48:45AM -0700, Yongseok Koh wrote: > SW completion ring of Tx (txq->elts) stores individual mbufs even if a > multi-segmented packet is sent. rte_pktmbuf_free_seg() must be used when > cleaning up the completion ring. Otherwise, chained mbufs are redundantly > freed and f