* [Bug 944] [dpdk 22.03-rc2] inline_ipsec/test_Ipsec_Encryption_Rss: run dpdk-ipsec-secgw with assigned parameter fail
@ 2022-03-01 9:17 bugzilla
2022-03-28 2:16 ` bugzilla
0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2022-03-01 9:17 UTC (permalink / raw)
To: dev
https://bugs.dpdk.org/show_bug.cgi?id=944
Bug ID: 944
Summary: [dpdk 22.03-rc2]
inline_ipsec/test_Ipsec_Encryption_Rss: run
dpdk-ipsec-secgw with assigned parameter fail
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: examples
Assignee: dev@dpdk.org
Reporter: peng1x.zhang@intel.com
Target Milestone: ---
Created attachment 191
--> https://bugs.dpdk.org/attachment.cgi?id=191&action=edit
config file
[Environment]
DPDK version: Use make showversion or for a non-released version: git remote -v
&& git show-ref --heads
v22.03-rc2 305769000c40a4fdf1ed0cf24c157b447b91ea7d
Other software versions: N/A.
OS: Linux Ubuntu 20.04.3 LTS/5.8.0-050800-generic
Compiler: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Hardware platform: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
NIC hardware: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection
(rev 01).
[Test Setup]
Steps to reproduce
List the steps to reproduce the issue.
1.usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:03:00.0 0000:03:00.1
2.sed -i -e 's/if (nb_rx > 0)/if (nb_rx > 0) {/g' -e '/\/\* dequeue and process
completed crypto-ops \*\//i\\t\t\t}' -e '/process_pkts(qconf, pkts, nb_rx,
portid);/i\\t\t\t\tprintf("[debug]receive %llu packet in
rxqueueid=%llu\\n",(unsigned long long)nb_rx, (unsigned long long)queueid);'
examples/ipsec-secgw/ipsec-secgw.c
3.meson configure -Dexamples=ipsec-secgw x86_64-native-linuxapp-gcc
4.ninja -C x86_64-native-linuxapp-gcc
5.x86_64-native-linuxapp-gcc/examples/dpdk-ipsec-secgw -l 20,21 -n 4
--file-prefix=dpdk_9407_20220302180511 --vdev 'crypto_null' --log-level 8
--socket-mem 1024,1024 -- -p 0xf -P -u 0x2
--config='(0,0,20),(0,1,20),(1,0,21),(1,1,21)' -f /root/dpdk/enc_rss.cfg
[Actual Result]
x86_64-native-linuxapp-gcc/examples/dpdk-ipsec-secgw -l 20,21 -n 4
--file-prefix=dpdk_9407_20220302180511 --vdev 'crypto_null' --log-level 8
--socket-mem 1024,1024 -- -p 0xf -P -u 0x2
--config='(0,0,20),(0,1,20),(1,0,21),(1,1,21)' -f /root/dpdk/enc_rss.cfg
EAL: Detected CPU lcores: 72
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/dpdk_9407_20220302180511/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(2)
EAL: Ignore mapping IO port bar(5)
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:03:00.0 (socket 0)
EAL: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(2)
EAL: Ignore mapping IO port bar(5)
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:03:00.1 (socket 0)
CRYPTODEV: Creating cryptodev crypto_nullCRYPTODEV: Initialisation parameters -
name: crypto_null,socket id: 1, max queue pairs: 8
Promiscuous mode selected
librte_ipsec usage: disabled
replay window size: 0
ESN: disabled
SA flags: 0
Frag TTL: 10000000000 ns
EAL: Error - exiting with code: 1
Cause: Cannot use unprotected portmask without configured SA inbound
[Expected Result]
No eal error happen.
Regression
Is this issue a regression: (Y)
Version the regression was introduced: Specify git id if known.
First bad commit:
commit a15f7b7d8aac9cca41d8bd022c3cf939a6a8d2e8
Author: Volodymyr Fialko <vfialko@marvell.com>
Date: Wed Feb 9 12:52:13 2022 +0100
examples/ipsec-secgw: add check for unprotected port mask
Usage of unprotected port mask without any configured SA inbound, will
cause use of uninitialized SA context, so disallow such configuration.
Signed-off-by: Volodymyr Fialko <vfialko@marvell.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug 944] [dpdk 22.03-rc2] inline_ipsec/test_Ipsec_Encryption_Rss: run dpdk-ipsec-secgw with assigned parameter fail
2022-03-01 9:17 [Bug 944] [dpdk 22.03-rc2] inline_ipsec/test_Ipsec_Encryption_Rss: run dpdk-ipsec-secgw with assigned parameter fail bugzilla
@ 2022-03-28 2:16 ` bugzilla
0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2022-03-28 2:16 UTC (permalink / raw)
To: dev
https://bugs.dpdk.org/show_bug.cgi?id=944
jiang,yu (yux.jiang@intel.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
CC| |yux.jiang@intel.com
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from jiang,yu (yux.jiang@intel.com) ---
Thanks, we will modify config to test.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-28 2:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-01 9:17 [Bug 944] [dpdk 22.03-rc2] inline_ipsec/test_Ipsec_Encryption_Rss: run dpdk-ipsec-secgw with assigned parameter fail bugzilla
2022-03-28 2:16 ` bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).