mbox

[v2,0/2] Integrated mempool cache zero-copy API's

Message ID 20230210065407.209567-1-kamalakshitha.aligeri@arm.com (mailing list archive)
Headers

Message

Kamalakshitha Aligeri Feb. 10, 2023, 6:54 a.m. UTC
  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