[dpdk-dev] [PATCH v2 0/3] security: Improve inline fast path routines

Nithin Dabilpuram ndabilpuram at marvell.com
Thu Jul 15 08:09:44 CEST 2021


Improvements to Inline inbound and outbound processing fast path routines
rte_security_set_pkt_metadata() and rte_security_get_userdata() to make
them inline functions and also provide mechanism for drivers to support
fast userdata and metadata access instead of driver specific per-pkt
function callbacks.

This series updates requirements of mbuf fields to be updated for outbound
inline processing.

Nithin Dabilpuram (3):
  security: enforce semantics for Tx inline processing
  security: add option for faster udata or mdata access
  examples/ipsec-secgw: update L2 length for Tx

v2:
- Remove restrictions on rte_security_set_pkt_metadata() w.r.t pkt content
- Add inline functions for rte_security_set_pkt_metadata() and 
  rte_security_get_userdata() and also faster mdata, udata access via
  patch 2/3

 doc/guides/nics/features.rst        |  2 ++
 examples/ipsec-secgw/ipsec-secgw.c  |  2 ++
 examples/ipsec-secgw/ipsec_worker.c | 42 ++++++++++++++++++++-----------
 lib/mbuf/rte_mbuf_core.h            |  2 ++
 lib/security/rte_security.c         |  8 +++---
 lib/security/rte_security.h         | 49 ++++++++++++++++++++++++++++++++++---
 lib/security/version.map            |  2 ++
 7 files changed, 85 insertions(+), 22 deletions(-)

-- 
2.8.4



More information about the dev mailing list