net/hns3: optimize Tx performance by mbuf fast free
authorChengwen Feng <fengchengwen@huawei.com>
Tue, 16 Nov 2021 01:22:11 +0000 (09:22 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Nov 2021 15:39:20 +0000 (16:39 +0100)
Currently the vector and simple xmit algorithm don't support multi_segs,
so if Tx offload support MBUF_FAST_FREE, driver could invoke
rte_mempool_put_bulk() to free Tx mbufs in this situation.

In the testpmd single core MAC forwarding scenario, the performance is
improved by 8% at 64B on Kunpeng920 platform.

Cc: stable@dpdk.org
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>

No differences found