compile ipsec on Windows
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | lib/ipsec: compile ipsec on Windowslib/ lib/ lib/ +8 more | +208 | 3 replies | |
| 2/2 | app/test: enable ipsec-related testsapp/ app/ app/ +1 more | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] compile ipsec on Windows
Removed VLA for compatibility with MSVC (which does not support VLAs). Used alloca when a constant fixed length that can be used instead is not known.
Implementation for rte_ipsec_pkt_crypto_group and rte_ipsec_ses_from_crypto was moved to new file lib\ipsec\ipsec_group.c because these functions get exported in a shared library (lib\ipsec\version.map).
Implementation for rte_ipsec_pkt_crypto_prepare and rte_ipsec_pkt_process was moved to new file lib\ipsec\ipsec.c because these functions get exported in a shared library (lib\ipsec\version.map).
Removed logic which was skipping ipsec on Windows.
Andre Muezerie (2):
lib/ipsec: compile ipsec on Windows
app/test: enable ipsec-related tests
app/test/test_ipsec.c | 17 +---- app/test/test_ipsec_perf.c | 13 ---- app/test/test_ipsec_sad.c | 13 ---- app/test/test_security_inline_proto.c | 26 -------- lib/ipsec/esp_inb.c | 57 +++++++++++----- lib/ipsec/esp_outb.c | 48 ++++++++++---- lib/ipsec/ipsec.c | 19 ++++++ lib/ipsec/ipsec_group.c | 93 +++++++++++++++++++++++++++ lib/ipsec/ipsec_sad.c | 1 + lib/ipsec/ipsec_telemetry.c | 1 + lib/ipsec/meson.build | 10 +-- lib/ipsec/misc.h | 10 ++- lib/ipsec/rte_ipsec.h | 15 ++--- lib/ipsec/rte_ipsec_group.h | 84 ++---------------------- lib/ipsec/sa.c | 4 +- 15 files changed, 210 insertions(+), 201 deletions(-) create mode 100644 lib/ipsec/ipsec.c create mode 100644 lib/ipsec/ipsec_group.c
--
2.47.0.vfs.0.3