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 2B175A0A02; Thu, 14 Jan 2021 14:54:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 272961412A7; Thu, 14 Jan 2021 14:54:37 +0100 (CET) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id ACF851412A6 for ; Thu, 14 Jan 2021 14:54:35 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 8953FA0A03; Thu, 14 Jan 2021 14:54:35 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Thu, 14 Jan 2021 13:54:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: 18.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alialnu@nvidia.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 616] [mlx5] packet does not match a corresponding rte_flow rule due to inner ether_type spec validation 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=3D616 Bug ID: 616 Summary: [mlx5] packet does not match a corresponding rte_flow rule due to inner ether_type spec validation Product: DPDK Version: 18.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: alialnu@nvidia.com Target Milestone: --- Testpmd: """ testpmd -n 4 -w 0000:00:05.0 -w 0000:00:06.0 -- -i --rxq=3D2 --txq=3D2 --flow-isolate-all """ Flow rule: """ flow create 0 ingress group 0 pattern eth dst is 00:16:3e:0a:11:e7 src spec 00:16:3e:25:2b:26 src prefix 0 type spec 33024 type mask 0xffff / vlan = vid spec 2213 vid prefix 1 / ipv6 / udp / vxlan vni spec 14008256 vni mask 0xffffff / eth dst is 00:16:3e:0a:11:e7 src spec 00:16:3e:25:2b:26 src prefix 0 type spec 33024 type mask 0xffff / end actions mark id 4477696= /=20 queue index 1 / count / end=20 """ The following scapy packet should match, but it doesn't: """ Ether(dst=3D'00:16:3e:0a:11:e7', src=3D'00:16:3e:25:2b:26', type=3D33024)/Dot1Q(prio=3D0, id=3D0, vlan=3D4048, type=3D34525)/IPv6(versi= on=3D6, tc=3D78, fl=3D0, plen=3D243, nh=3D17, hlim=3D64, src=3D'::252e', dst=3D'::1144:a5e:99f3')/UDP(sport=3D19036, dport=3D4789, len=3D243, chksum=3D38298)/VXLAN(flags=3D8, reserved0=3DNone, NextProtocol=3DNone, res= erved1=3D0, gpflags=3DNone, gpid=3DNone, vni=3D14008256, reserved2=3D0)/Ether(dst=3D'00:16:3e:0a:11:e7', src=3D'00:16:3e:25:2b:26', type=3D33024)/Dot1Q(prio=3D0, id=3D0, vlan=3D165, type=3D2048)/IP(version= =3D4, ihl=3D5, tos=3D0, len=3D209, id=3D1, flags=3D0, frag=3D0, ttl=3D64, proto=3D0, chksu= m=3D31786, src=3D'127.0.0.1', dst=3D'127.0.0.1')/Raw(load=3Db'X'*189)=20 """ NIC: ConnectX-5 OFED: MLNX_OFED_LINUX-5.2-1.0.4.0 Firmware version: 16.29.1016 OS: RHEL 7.4 Kernel: 3.10.0-693.el7.x86_64 gcc: 4.8.5 --=20 You are receiving this mail because: You are the assignee for the bug.=