From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2BB92A0C43; Fri, 22 Oct 2021 08:20:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A95024068C; Fri, 22 Oct 2021 08:20:22 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 5563B40040 for ; Fri, 22 Oct 2021 08:20:21 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 2A45BA0C4B; Fri, 22 Oct 2021 08:20:21 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Fri, 22 Oct 2021 06:20:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: core X-Bugzilla-Version: 21.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: leweix.yang@intel.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 832] flow_classify_softnic/inconsistent_rules: create rule failed X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D832 Bug ID: 832 Summary: flow_classify_softnic/inconsistent_rules: create rule failed Product: DPDK Version: 21.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: core Assignee: dev@dpdk.org Reporter: leweix.yang@intel.com Target Milestone: --- Environment DPDK version: Use make showversion or for a non-released version: git remot= e -v && git show-ref --heads 21.11.0-rc0:f4acb429d09db0594d41c5f5a48906df03ce6e5c Other software versions: name/version for QEMU, OVS, etc. Repeat as require= d. OS: Red Hat Enterprise Linux 8.4 4.18.0-305.19.1.el8_4.x86_64=20 Compiler: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1) Hardware platform: Intel(R) Xeon(R) Gold 6252N CPU @ 2.30GHz. NIC hardware: Ethernet Controller XXV710 for 25GbE SFP28 158b Device version: 2.17.1 NIC firmware: 8.30 0x8000a485 1.2926.0 Test Setup Steps to reproduce List the steps to reproduce the issue: 1. build dpdk=20 # rm -rf x86_64-native-linuxapp-gcc # CC=3Dgcc meson --werror -Denable_kmods=3DTrue -Dlibdir=3Dlib -Dc_args=3D'-DRTE_EAL_IGB_UIO=3D1' --default-library=3Dstatic x86_64-native-linuxapp-gcc=20 # ninja -C x86_64-native-linuxapp-gcc -j 70=20 2. lanch app # x86_64-native-linuxapp-gcc/app/dpdk-testpmd --vdev 'net_softnic0,firmware=3D./drivers/net/softnic/flow_classify_softnic/flow_i= pv4_addr_hash_firmware.cli,cpu_id=3D1,conn_port=3D8086' -l 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,= 29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,49,50,51,52,53,54,= 55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,= 80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95 -n 4 -a 0000:af:00.0 -a 0000:af:00.1 --file-prefix=3Ddpdk_56223_2021102210= 5747=20=20 -s 0x4 -- -i --rxq=3D2 --txq=3D2 --disable-rss --portmask=3D0x4 3. creat rule # flow create 4 group 0 ingress pattern eth / ipv4 proto mask 0 src mask 0.0.0.0 dst mask 255.255.255.255 src spec 100.0.0.1 dst spec 200.0.0.1 proto spec 17 / udp src mask 0 dst mask 0 src spec 100 dst spec 200 / end actions queue index 3 / end Show the output from the previous commands: #testpmd> flow create 4 group 0 ingress pattern eth / ipv4 proto mask 0 src mask 0.0.0.0 dst mask 255.255.255.255 src spec 100.0.0.1 dst spec 200.0.0.1 proto spec 17 / udp src mask 0 dst mask 0 src spec 100 dst spec 200 / end actions queue index 3 / end Invalid port 4 Expected Result Explain what is the expected result in text or as an example output: # create rule success Regression Is this issue a regression: (Y/N) Y=20 git show 1179f05cc9a044541106981b0366f474043d7872 commit 1179f05cc9a044541106981b0366f474043d7872 (HEAD) Author: Ivan Malov Date: Thu Oct 14 06:21:45 2021 +0300 ethdev: query proxy port to manage transfer flows Not all DPDK ports in a given switching domain may have the privilege to manage "transfer" flows. Add an API to find a port with sufficient privileges by any port in the domain. Signed-off-by: Ivan Malov Reviewed-by: Andrew Rybchenko Acked-by: Ori Kam --=20 You are receiving this mail because: You are the assignee for the bug.=