From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 82E51A04DE; Fri, 23 Oct 2020 11:11:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 28F0C6A72; Fri, 23 Oct 2020 11:11:46 +0200 (CEST) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id 67A9B5A6C for ; Fri, 23 Oct 2020 11:11:45 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 50AECA04DF; Fri, 23 Oct 2020 11:11:44 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Fri, 23 Oct 2020 09:11:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: testpmd X-Bugzilla-Version: 20.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: junx.w.zhou@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 565] [dpdk-20.11]metering_and_policing/test_ipv4_HASH_table_RFC2698: create rule failed X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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=3D565 Bug ID: 565 Summary: [dpdk-20.11]metering_and_policing/test_ipv4_HASH_table _RFC2698: create rule failed Product: DPDK Version: 20.11 Hardware: All OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: testpmd Assignee: dev@dpdk.org Reporter: junx.w.zhou@intel.com Target Milestone: --- Environment Fill in all the following as completely as possible. Use "Unknown" or "N/A"= if required. Use {{braces}} to create fixed width text like this: braces. DPDK version: Use make showversion or for a non-released version: git remot= e -v && git show-ref --heads 20.11-rc1 4669252e0421aaf06ff86d5339f970ebe72cbf22 Other software versions: name/version for QEMU, OVS, etc. Repeat as require= d. OS: Ubuntu 20.04.1 LTS/5.4.0-42-generic Compiler: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Hardware platform: Intel(R) Xeon(R) Gold 6139 CPU @ 2.30GHz NIC hardware: Fortville_25g NIC firmware:=C2=A0 driver: i40e version: 2.13.10 firmware-version: 8.00 0x80008c1a 1.2766.0 Test Setup Steps to reproduce List the steps to reproduce the issue. 1.usertools/dpdk-devbind.py --force --bind=3Dvfio-pci 0000:86:00.0 0000:86:= 00.1 2.cp /root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli /root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli-7 3.sed -i -e 's/^.*link LINK0 dev.*$/link LINK0 dev 0000:86:00.0/g' /root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli-7 4.sed -i -e 's/^.*link LINK1 dev.*$/link LINK1 dev 0000:86:00.1/g' /root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli-7 5.sed -i -e 's/^.*table action profile AP0.*$/table action profile AP0 ipv4 offset 270 fwd meter trtcm tc 1 stats pkts/g' /root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli-7 6.sed -i -e 's/^.*pipeline RX table match.*$/pipeline RX table match hash e= xt key 16 mask 00FF0000FFFFFFFFFFFFFFFFFFFFFFFF offset 278 buckets 16K size 65K action AP0/g' /root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cl= i-7 7.sed -i -e 's/thread 5 pipeline RX enable/thread 2 pipeline RX enable/g' /root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli-7 8.sed -i -e 's/thread 5 pipeline TX enable/thread 2 pipeline TX enable/g' /root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli-7 9.x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_policing_= firmware.cli-7' -- -i --rxq=3D2 --txq=3D2 --portmask=3D0x4 --disable-rss 10.another session: sudo ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s= 0x4 -n 4 --vdev 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_policing_= firmware.cli,cpu_id=3D0,conn_port=3D8086' -- -i --forward-mode=3Dsoftnic --rxq=3D2 --txq=3D2 --portmask=3D0x4 11.add port meter profile trtcm_rfc2698 2 0 3125000000 3125000000 400 500 12.create port meter 2 0 0 yes g y r 0 0 0 13.flow create 2 group 0 ingress pattern eth / ipv4 proto mask 255 src mask 255.255.255.255 dst mask 255.255.255.255 src spec 1.10.11.12 dst spec 2.20.21.22 proto spec 6 / tcp src mask 65535 dst mask 65535 src spec 2 dst = spec 2 / end actions meter mtr_id 0 / queue index 0 / end dut.10.240.183.197: port_flow_complain(): Caught PMD error type 1 (cause unspecified): HASH: It= em list is not observing the match format: Invalid argument Show the output from the previous commands. flow create 2 group 0 ingress pattern eth / ipv4 proto mask 255 src mask 255.255.255.255 dst mask 255.255.255.255 src spec 1.10.11.12 dst spec 2.20.21.22 proto spec 6 / tcp src mask 65535 dst mask 65535 src spec 2 dst = spec 2 / end actions meter mtr_id 0 / queue index 0 / end dut.10.240.183.197: port_flow_complain(): Caught PMD error type 1 (cause unspecified): HASH: It= em list is not observing the match format: Invalid argument Expected Result Explain what is the expected result in text or as an example output: no error log Regression Is this issue a regression: (Y) Version the regression was introduced:=C2=A0 commit 09315fc83861ada1119b7ebdb258877ec68e6bd7 Author: Dekel Peled Date: Thu Oct 15 18:51:46 2020 +0300 ethdev: add VLAN attributes to ethernet and VLAN items This patch implements the change proposes in RFC [1], adding dedicated fields to ETH and VLAN items structs, to clearly define the required characteristic of a packet, and enable precise match criteria. Documentation is updated accordingly. [1] https://mails.dpdk.org/archives/dev/2020-August/177536.html Signed-off-by: Dekel Peled Acked-by: Matan Azrad Acked-by: Ori Kam Stack Trace or Log flow create 2 group 0 ingress pattern eth / ipv4 proto mask 255 src mask 255.255.255.255 dst mask 255.255.255.255 src spec 1.10.11.12 dst spec 2.20.21.22 proto spec 6 / tcp src mask 65535 dst mask 65535 src spec 2 dst = spec 2 / end actions meter mtr_id 0 / queue index 0 / end dut.10.240.183.197: port_flow_complain(): Caught PMD error type 1 (cause unspecified): HASH: It= em list is not observing the match format: Invalid argument --=20 You are receiving this mail because: You are the assignee for the bug.=