Skip to contentSkip to conversation

ipsec-secgw fails to initialize when librte_ipsec is enabled

dpdk-dev [email protected] 1 participant 1 message Apr 5, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=239

Bug ID: 239
Summary: ipsec-secgw fails to initialize when librte_ipsec is
enabled
Product: DPDK
Version: unspecified
Hardware: ARM
OS: Linux
Status: CONFIRMED
Severity: normal
Priority: Normal
Component: examples
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

Created attachment 33
--> https://bugs.dpdk.org/attachment.cgi?id=33&action=edit
ipsec_secgw_failure_log.txt

repo http://dpdk.org/git/next/dpdk-next-crypto
branch master
commit 3331ddc doc: update ipsec lib for supported algos

Ipsec-secgw example fails to initialize when librte_ipsec is enabled and when default configuration of ep0.cfg is used.

It complains that two SP rules use the same SPI

./ipsec-secgw --log-level=8 -c 0xff -- -P -p 0x3 -u 0x1 --config "(1,0,0),(0,0,0)" -f ../ep0.cfg -l

IPSEC: get_spi_proto: SPI 110 used simultaeously by IPv4(2) and IPv6 (2) SP rules
EAL: Error - exiting with code: 1
Cause: failed to init inbound SAs

Ipsec-secgw initializes successfully when used without librte_ipsec. Full log is attached.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.