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 D20ECA09FF; Wed, 30 Dec 2020 07:19:12 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 093932E8B; Wed, 30 Dec 2020 07:19:10 +0100 (CET) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id 44E7B2D41 for ; Wed, 30 Dec 2020 07:19:08 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 1F945A0A02; Wed, 30 Dec 2020 07:19:07 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Wed, 30 Dec 2020 06:19:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: 20.02 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: stevex.yang@intel.com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc resolution bug_status Message-ID: In-Reply-To: References: 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 449] Fortville X710 FDIR with flow APIs broken 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=3D449 Steve Yang (stevex.yang@intel.com) changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stevex.yang@intel.com Resolution|--- |INVALID Status|CONFIRMED |RESOLVED --- Comment #13 from Steve Yang (stevex.yang@intel.com) --- Not a bug. Correct use steps=EF=BC=9A 1. bind the pf to dpdk driver:: ./usertools/dpdk-devbind.py -b igb_uio 1b:00.0 2. add one vf on dpdk pf, then bind the vf to vfio-pci:: echo 1 >/sys/bus/pci/devices/0000:1b:00.0/max_vfs ./usertools/dpdk-devbind.py -b igb_uio 1b:02.0 3. launch the app ``testpmd`` with the following arguments:: ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 1b:00.0 --file-prefix=3Dpf =E2=80=93 -i --rxq=3D4 --txq=3D4 testpmd> set verbose 1 testpmd> start ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 1b:02.0 --file-prefix=3Dvf =E2=80=93 -i --rxq=3D4 --txq=3D4 testpmd> set verbose 1 testpmd> start 4. create filter rule and sent pkg:: flow create 0 ingress transfer pattern eth / ipv4 src is 11.11.11.11 dst is 12.12.12.12 proto is 255 / vf id is 0 / end actions queue index 1 / end sendp([Ether(dst=3D'3C:FD:FE:DC:F1:88')/IP(src=3D'11.11.11.11',dst=3D'12.12= .12.12',proto=3D255)/("X"*480)], iface=3D"enp27s0f1", count=3D1) 5. flow create 0 ingress transfer pattern eth / ipv4 src is 11.11.11.11 ds= t is 12.12.12.12 / udp / vf id is 0 / end actions queue index 1 / end sendp([Ether(dst=3D'3C:FD:FE:DC:F1:88')/IP(src=3D'11.11.11.11',dst=3D'12.12= .12.12',proto=3D17)/("X"*480)],iface=3D"enp27s0f1", count=3D1) Note: =E2=91=A0 dst mac is a random mac address, not a pf mac =E2=91=A1 proto is 17 means UDP, so create the following rule and send the= packet with proto is 17 cannot matched=E3=80=82 flow create 0 ingress transfer pattern eth / ipv4 src is 11.11.11.11 dst is 12.12.12.12 proto is 17 / vf id is 0 / end actions queue index 1 / end sendp([Ether(dst=3D'3C:FD:FE:DC:F1:88')/IP(src=3D'11.11.11.11',dst=3D'12.12= .12.12',proto=3D17)/("X"*480)], iface=3D"enp27s0f1", count=3D1) --=20 You are receiving this mail because: You are the assignee for the bug.=