Skip to content

use architecure independent macros

Fan Zhang dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 1 replyIn review
  2. v34 patches 0 repliesSuperseded

Changes in v4 from the cover letter

- combined documentation patches into one.
- updated release note.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3crypto/aesni_mb: rename filesdrivers/crypto/aesni_mb/Makefile drivers/crypto/aesni_mb/meson.build drivers/crypto/aesni_mb/rte_aesni_mb_pmd_compat.c +1 more+3 -30 replies
2/3crypto/aesni_mb: use architecture independent macrosdrivers/crypto/aesni_mb/Makefile drivers/crypto/aesni_mb/meson.build drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c +2 more+2003 -110 replies
3/3doc: update documentationdoc/guides/cryptodevs/aesni_mb.rst doc/guides/rel_notes/deprecation.rst doc/guides/rel_notes/release_19_02.rst+8 -20 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDamian Nowak
SeriesA-b
1/3A-b
2/3A-b
3/3

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

Read the v4 thread

Cover letter [PATCH v4 0/3] use architecure independent macros

This patch updates the aesni_mb to use IMB_* arch independent macros to reduce the code size and future maintaining effort.

In intel-ipsec-mb library 0.52 all supported algorithms now have the IMB_* arch independent macros enabled. The macros help reducing the application's code size and remove the burden of maintaining the support to different architectures such as SSE and AVX*, etc.

This patch adds this support into AESNI-MB PMD. Meanwhile to keep supporting the older version of intel-ipsec-mb library, the existing rte_aesni_mb_pmd*.c are renamed to rte_aesni_mb_pmd*_compat.c and the compiler will check the version number in /usr/include/inte-ipsec-mb.h and decides which files to be compiled. For intel-ipsec-mb library 0.52 the rte_aesni_mb_pmd*.c will be compiled. For the older version rte_aesni_mb_pmd*_compat.c will be compiled.

It is planned to change the minimum intel-ipsec-mb support version to 0.52 in DPDK 19.05 release. By then all code intended for supporting older version will be removed, including rte_aesni_mb_pmd*_compat.c.

v4:
- combined documentation patches into one.
- updated release note.

v3:
- patch split.
- fixed meson build bug.
- updated commit message.
- updated documentation.

v2:
- making the PMD compatible with both new intel-ipsec-mb version 0.52 and older
- fixed a bug

Fan Zhang (3):
crypto/aesni_mb: rename files crypto/aesni_mb: use architecture independent macros
doc: update documentation

 doc/guides/cryptodevs/aesni_mb.rst                 |    4 +-
 doc/guides/rel_notes/deprecation.rst               |    3 +
 doc/guides/rel_notes/release_19_02.rst             |    3 +
 drivers/crypto/aesni_mb/Makefile                   |   26 +-
 drivers/crypto/aesni_mb/meson.build                |   18 +-
 drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c         |  190 ++-
 drivers/crypto/aesni_mb/rte_aesni_mb_pmd_compat.c  | 1239 ++++++++++++++++++++
 drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c     |   86 +-
 .../crypto/aesni_mb/rte_aesni_mb_pmd_ops_compat.c  |  719 ++++++++++++
 drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h |   52 +-
 10 files changed, 2169 insertions(+), 171 deletions(-)
 create mode 100644 drivers/crypto/aesni_mb/rte_aesni_mb_pmd_compat.c
 create mode 100644 drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops_compat.c
Signature · 1 line
2.13.6