Skip to content

security: Improve inline fast path routines

Nithin Dabilpuram dpdk-dev 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 3 repliesIn review
  2. v53 patches 3 repliesSuperseded
  3. v44 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v33 patches0 repliesSuperseded
v23 patches0 repliesSuperseded

Changes in v6 from the cover letter

- Addressed comment from Konstantin.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3security: enforce semantics for Tx inline processingdoc/guides/nics/features.rst lib/mbuf/rte_mbuf_core.h+4 -01 reply
2/3security: add option for faster udata or mdata accessdoc/guides/rel_notes/deprecation.rst doc/guides/rel_notes/release_21_08.rst lib/security/rte_security.c +2 more+57 -122 replies
3/3examples/ipsec-secgw: update event mode inline pathexamples/ipsec-secgw/ipsec-secgw.c examples/ipsec-secgw/ipsec_worker.c+29 -140 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchKonstantin AnanyevAkhil Goyal
1/3A-b A-b
2/3A-b A-b
3/3A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

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

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 event mode inline path

v6:
- Addressed comment from Konstantin.

v5:
- Squash 4/4 patch to 2/4 and update release notes

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 ---
 doc/guides/rel_notes/release_21_08.rst |  6 +++++
 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            | 49 +++++++++++++++++++++++++++++++---
 lib/security/version.map               |  2 ++
 9 files changed, 90 insertions(+), 26 deletions(-)
Signature · 1 line
2.8.4