mbox series

[v4,0/4] security: Improve inline fast path routines

Message ID 20210812123257.19595-1-ndabilpuram@marvell.com (mailing list archive)
Headers
Series security: Improve inline fast path routines |

Message

Nithin Dabilpuram Aug. 12, 2021, 12:32 p.m. UTC
  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 (4):
  security: enforce semantics for Tx inline processing
  security: add option for faster udata or mdata access
  examples/ipsec-secgw: update event mode inline path
  doc: remove deprecation notice for security fast path change

v4:
- Removed entry from deprecation notice.
- Fixed issue with rte_security_set_pkt_metadata() to pass instance instead
  of device ptr to non-inline C function.

v3:
- Rebased and fixed compilation issue with rte_security_get_userdata() on
  32-bit platform
- Updated l2_len on patch 3/3 only for outbound.

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 ++
 doc/guides/rel_notes/deprecation.rst |  4 ---
 examples/ipsec-secgw/ipsec-secgw.c   |  2 ++
 examples/ipsec-secgw/ipsec_worker.c  | 41 +++++++++++++++++++-----------
 lib/mbuf/rte_mbuf_core.h             |  2 ++
 lib/security/rte_security.c          |  8 +++---
 lib/security/rte_security.h          | 48 +++++++++++++++++++++++++++++++++---
 lib/security/version.map             |  2 ++
 8 files changed, 83 insertions(+), 26 deletions(-)