use architecure independent macros
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 1 replyIn review
- 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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | crypto/aesni_mb: rename filesdrivers/ drivers/ drivers/ +1 more | +3 | 0 replies | |
| 2/3 | crypto/aesni_mb: use architecture independent macrosdrivers/ drivers/ drivers/ +2 more | +2003 | 0 replies | |
| 3/3 | doc: update documentationdoc/ doc/ doc/ | +8 | 0 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.
| Patch | Damian Nowak |
|---|---|
| Series | A-b |
| 1/3 | A-b |
| 2/3 | A-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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