mbox

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

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

Message

Kamalakshitha Aligeri Feb. 21, 2023, 5:52 a.m. UTC
  In i40e PMD, for fast_free path in Tx, freeing mbufs firstly 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

v4:
Added the Depends-on tag
v3:
Fixed the way mbufs are accessed from txep (Morten Brorup)
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 | 27 +++++++--
 3 files changed, 83 insertions(+), 26 deletions(-)

--
2.25.1