Skip to content

support PDCP-SDAP for dpaa2_sec

Akhil Goyal dpdk-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 2 repliesIn review
  2. v28 patches 2 repliesSuperseded
  3. v17 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- fixed signoff
- fixed typo in 1/8

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8common/dpaax/caamflib: Support PDCP-SDAPdrivers/common/dpaax/caamflib/desc/pdcp.h drivers/common/dpaax/caamflib/desc/sdap.h+1071 -00 replies
2/8security: modify PDCP xform to support SDAPdoc/guides/rel_notes/release_20_11.rst lib/librte_security/rte_security.h+19 -22 replies
3/8doc: remove unnecessary API code from security guidedoc/guides/prog_guide/rte_security.rst+1 -540 replies
4/8crypto/dpaa2_sec: enable PDCP-SDAP sessionsdrivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c+26 -40 replies
5/8crypto/dpaa_sec: enable PDCP-SDAP sessionsdrivers/crypto/dpaa_sec/dpaa_sec.c drivers/crypto/dpaa_sec/dpaa_sec.h+47 -190 replies
6/8test/crypto: Add test vectors for PDCP-SDAPapp/test/test_cryptodev_security_pdcp_sdap_test_vectors.h+3619 -00 replies
7/8test/crypto: Modify test_pdcp_proto to take parametersapp/test/test_cryptodev.c+104 -790 replies
8/8test/crypto: Add PDCP-SDAP casesapp/test/test_cryptodev.c+95 -00 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchThomas Monjalon
1/8
2/8A-b
3/8
4/8
5/8
6/8
7/8
8/8

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

Read the v3 thread

Cover letter [dpdk-dev] [PATCH v3 0/8] support PDCP-SDAP for dpaa2_sec

The SDAP is a protocol in the LTE stack on top of PDCP. It is dedicated to QoS.

The difficulty of implementing this protocol is because the PDCP change behavior regarding encryption and authentication of the SDU it receives. In effect PDCP shall not encrypt the SDAP SDU but must authenticate it (when encryption and authentication is enabled).

A new field is added in the PDCP xform to specify SDAP is enabled. The overall size of the xform is not changed, as hfn_ovrd is just a flag and does not need uint32. Hence, it is converted to uint8_t and a 16 bit reserved field is added for future.

The corresponding test cases and test vectors are added in the test application.

This patch need Techboard approval as there is a change in API without a deprecation notice from last release.
This patch is required to support the upcoming development of 5GNR protocol - SDAP in near future. If the patch is not approved in the current release, we may not be able to support SDAP for next 1 year which is not accceptable for the customers.

changed in v3:
- fixed signoff
- fixed typo in 1/8

Changes in v2:
- removed unnecessary API documentation from security guide.
- fix clang build
- updated release notes

Akhil Goyal (4):
security: modify PDCP xform to support SDAP
doc: remove unnecessary API code from security guide crypto/dpaa2_sec: enable PDCP-SDAP sessions crypto/dpaa_sec: enable PDCP-SDAP sessions

Franck Lenormand (4):
common/dpaax/caamflib: Support PDCP-SDAP test/crypto: Add test vectors for PDCP-SDAP test/crypto: Modify test_pdcp_proto to take parameters test/crypto: Add PDCP-SDAP cases

 app/test/test_cryptodev.c                     |  278 +-
 ...ryptodev_security_pdcp_sdap_test_vectors.h | 3619 +++++++++++++++++
 doc/guides/prog_guide/rte_security.rst        |   55 +-
 doc/guides/rel_notes/release_20_11.rst        |    9 +
 drivers/common/dpaax/caamflib/desc/pdcp.h     |    8 +
 drivers/common/dpaax/caamflib/desc/sdap.h     | 1063 +++++
 drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c   |   30 +-
 drivers/crypto/dpaa_sec/dpaa_sec.c            |   63 +-
 drivers/crypto/dpaa_sec/dpaa_sec.h            |    3 +-
 lib/librte_security/rte_security.h            |   12 +-
 10 files changed, 4982 insertions(+), 158 deletions(-)
 create mode 100644 app/test/test_cryptodev_security_pdcp_sdap_test_vectors.h
 create mode 100644 drivers/common/dpaax/caamflib/desc/sdap.h
Signature · 1 line
2.17.1