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 2B952A034F; Tue, 1 Mar 2022 07:28:06 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BBE5840DF6; Tue, 1 Mar 2022 07:28:05 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 7FFAB407FF for ; Tue, 1 Mar 2022 07:28:04 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 5220CA0350; Tue, 1 Mar 2022 07:28:04 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 941] [dpdk-22.03] core dump when create fdir rule with bad arguments Date: Tue, 01 Mar 2022 06:28:03 +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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zhiminx.huang@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 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 https://bugs.dpdk.org/show_bug.cgi?id=3D941 Bug ID: 941 Summary: [dpdk-22.03] core dump when create fdir rule with bad arguments Product: DPDK Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: testpmd Assignee: dev@dpdk.org Reporter: zhiminx.huang@intel.com Target Milestone: --- ENV: dpdk-22.03-rc2:305769000c40a4fdf1ed0cf24c157b447b91ea7d OS: redhat8.5/4.18.0-348.el8.x86_64 Compiler: gcc version 8.5.0 20210514 (Red Hat 8.5.0-4) Hardware platform: Intel(R) Xeon(R) Gold 6139 CPU @ 2.30GHz NIC hardware: Intel Corporation Ethernet Controller E810-C for QSFP [8086:1= 592] NIC firmware:=20 ice: 1.8.2_2_gca97f0c8_dirty firmware-version: 3.20 0x8000d0ec 1.3141.0 pkg: ICE OS Default Package version 1.3.28.0 Reproduced Steps: 1. usertools/dpdk-devbind.py --force --bind=3Dvfio-pci 0000:ca:00.0 0000:ca:00= .1 0000:ca:00.2 0000:ca:00.3 2. x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3e -n 4 -a 0000:ca:00.0,pipeline-mode-support=3D1 --log-level=3D"ice,7" -- -i --portma= sk=3D0x1 --rxq=3D10 --txq=3D10 3. flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst = is 192.168.0.3 tos is 4 / tcp src is 25 dst is 23 / end output: Segmentation fault (core dumped) expect output: Bad arguments dpdk bad commit id: 04cc665fab38e2a382f6886e57c97b78e92cea46 is the first bad commit commit 04cc665fab38e2a382f6886e57c97b78e92cea46 Author: Alexander Kozyrev Date: Wed Feb 23 05:02:35 2022 +0200 app/testpmd: add flow template management Add testpmd support for the rte_flow_pattern_template and rte_flow_actions_template APIs. Provide the command line interface for the template creation/destruction. Usage example: testpmd> flow pattern_template 0 create pattern_template_id 2 template eth dst is 00:16:3e:31:15:c3 / end testpmd> flow actions_template 0 create actions_template_id 4 template drop / end mask drop / end testpmd> flow actions_template 0 destroy actions_template 4 testpmd> flow pattern_template 0 destroy pattern_template 2 Signed-off-by: Alexander Kozyrev Acked-by: Ori Kam --=20 You are receiving this mail because: You are the assignee for the bug.=