mbox series

[RFC,0/2] net/ice: support header split in Rx data path

Message ID 20220303063841.48763-1-xuan.ding@intel.com (mailing list archive)
Headers
Series net/ice: support header split in Rx data path |

Message

Ding, Xuan March 3, 2022, 6:38 a.m. UTC
  From: Xuan Ding <xuan.ding@intel.com>

Header split is useful in some scenarios, such as GPU acceleration.
The spliting will help to enable true zero copy and hence improve
the performance significantly.

This patchset enables header split in normal Rx data paths. When
Rx queue is configured with header split feature with testpmd,
packets received will be directly splited into two different
mempools.

Xuan Ding (2):
  app/testpmd: add header split configuration
  net/ice: support header split in Rx data path

 app/test-pmd/cmdline.c                |  85 +++++++++++
 app/test-pmd/testpmd.c                |   6 +-
 app/test-pmd/testpmd.h                |   2 +
 drivers/net/ice/ice_ethdev.c          |   5 +-
 drivers/net/ice/ice_rxtx.c            | 211 ++++++++++++++++++++++----
 drivers/net/ice/ice_rxtx.h            |  15 ++
 drivers/net/ice/ice_rxtx_vec_common.h |   3 +
 7 files changed, 295 insertions(+), 32 deletions(-)