[PATCH v2 0/2] Integrated mempool cache zero-copy API's
Kamalakshitha Aligeri
kamalakshitha.aligeri at arm.com
Fri Feb 10 07:54:05 CET 2023
In i40e PMD, for fast_free path in Tx, freeing mbufs need to do an extra
memcpy due to the special structure of ‘txep’.
Thus, replaced the put_bulk function with the zero-copy put API to
avoid the cost of this memcpy.
On Ampere-altra server, for single-core DPDK l3fwd test, throughput
improves by 5% with the new API
v2:
Fixed the code for n > RTE_MEMPOOL_CACHE_MAX_SIZE (Morten Brorup)
v1:
1. Integrated the zc_put API in i40e PMD
2. Added mempool test cases with the zero-cpoy API's
Kamalakshitha Aligeri (2):
net/i40e: replace put function
test/mempool: add zero-copy API's
.mailmap | 1 +
app/test/test_mempool.c | 81 ++++++++++++++++++-------
drivers/net/i40e/i40e_rxtx_vec_common.h | 28 +++++++--
3 files changed, 84 insertions(+), 26 deletions(-)
--
2.25.1
More information about the dev
mailing list