All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 944] [dpdk 22.03-rc2] inline_ipsec/test_Ipsec_Encryption_Rss: run dpdk-ipsec-secgw with assigned parameter fail
Date: Tue, 01 Mar 2022 09:17:41 +0000	[thread overview]
Message-ID: <bug-944-3@http.bugs.dpdk.org/> (raw)

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.

             reply	other threads:[~2022-03-01  9:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-01  9:17 bugzilla [this message]
2022-03-28  2:16 ` [Bug 944] [dpdk 22.03-rc2] inline_ipsec/test_Ipsec_Encryption_Rss: run dpdk-ipsec-secgw with assigned parameter fail bugzilla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-944-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.