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 2E7CFA0A02; Thu, 14 Jan 2021 14:33:44 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 189FF141263; Thu, 14 Jan 2021 14:33:44 +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 79655141260 for ; Thu, 14 Jan 2021 14:33:43 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 5AABFA0A03; Thu, 14 Jan 2021 14:33:43 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Thu, 14 Jan 2021 13:33:43 +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 615] testpmd gets stuck when deleting an FDIR flow 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=3D615 Bug ID: 615 Summary: testpmd gets stuck when deleting an FDIR flow 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: --- When deleting a specific FDIR rule (see the last rule below), testpmd will = get stuck. To reproduce: - Run testpmd: testpmd -n 4 -w 0000:00:05.0 -w 0000:00:06.0 -- -i --rxq=3D2 --txq=3D2 --pkt-filter-mode perfect - Run the following commands in testpmd. The last one will cause testpmd to= get stuck, but I wasn't able to get a trace: """ port stop all flow_director_mask 0 mode IP vlan 0 src_mask 0.0.0.0 ffff:ffff:ffff:ffff:ffff:0:0:0 0xfff0 dst_mask 0.0.0.0 ffff:ffff:ffff:ffff:ffff:0:0:0 0xff00 flow_director_mask 1 mode IP vlan 0 src_mask 0.0.0.0 ffff:ffff:ffff:ffff:ffff:0:0:0 0xfff0 dst_mask 0.0.0.0 ffff:ffff:ffff:ffff:ffff:0:0:0 0xff00 port start all start flow_director_filter 0 mode IP add flow ipv6-tcp src ::a209 27758 dst ::1805 12298 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 1 fd_id 1 flow_director_filter 1 mode IP add flow ipv6-tcp src ::a209 27758 dst ::1805 12298 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 1 fd_id 1 flow_director_filter 0 mode IP add flow ipv6-udp src ::ff08 40983 dst ::268e 19741 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 0 fd_id 1 flow_director_filter 1 mode IP add flow ipv6-udp src ::ff08 40983 dst ::268e 19741 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 0 fd_id 1 flow_director_filter 0 mode IP add flow ipv4-other src 0.143.50.94 286 dst 107.219.10.119 55222 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) drop pf queue= 1 fd_id 1 flow_director_filter 1 mode IP add flow ipv4-other src 0.143.50.94 286 dst 107.219.10.119 55222 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) drop pf queue= 1 fd_id 1 flow_director_filter 0 mode IP add flow ipv6-udp src ::cff5 26958 dst ::f978 6084 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 1 fd_id 1 flow_director_filter 1 mode IP add flow ipv6-udp src ::cff5 26958 dst ::f978 6084 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 1 fd_id 1 flow_director_filter 0 mode IP add flow ipv6-udp src ::3962 29380 dst ::4fd0 40864 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 0 fd_id 1 flow_director_filter 1 mode IP add flow ipv6-udp src ::3962 29380 dst ::4fd0 40864 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 0 fd_id 1 flow_director_filter 0 mode IP add flow ipv4-other src 252.195.129.146 26073 dst 15.5.47.129 7690 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) drop pf queue= 0 fd_id 1 flow_director_filter 1 mode IP add flow ipv4-other src 252.195.129.146 26073 dst 15.5.47.129 7690 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) drop pf queue= 0 fd_id 1 flow_director_filter 0 mode IP add flow ipv6-udp src ::971a 40172 dst ::44a7 35151 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 0 fd_id 1 flow_director_filter 1 mode IP add flow ipv6-udp src ::971a 40172 dst ::44a7 35151 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 0 fd_id 1 flow_director_filter 0 mode IP add flow ipv6-udp src ::9e3 5063 dst ::72e8 58832 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 0 fd_id 1 flow_director_filter 1 mode IP add flow ipv6-udp src ::9e3 5063 dst ::72e8 58832 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 0 fd_id 1 flow_director_filter 0 mode IP add flow ipv6-udp src ::4b1d 38458 dst ::6689 52498 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 0 fd_id 1 flow_director_filter 1 mode IP add flow ipv6-udp src ::4b1d 38458 dst ::6689 52498 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 0 fd_id 1 flow_director_filter 0 mode IP add flow ipv6-udp src ::ebb9 32643 dst ::514 2600 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 0 fd_id 1 flow_director_filter 1 mode IP add flow ipv6-udp src ::ebb9 32643 dst ::514 2600 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 0 fd_id 1 flow_director_filter 0 mode IP del flow ipv6-tcp src ::a209 27758 dst ::1805 12298 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 1 fd_id 1 flow_director_filter 1 mode IP del flow ipv6-tcp src ::a209 27758 dst ::1805 12298 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 1 fd_id 1 flow_director_filter 0 mode IP del flow ipv6-udp src ::ff08 40983 dst ::268e 19741 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 0 fd_id 1 flow_director_filter 1 mode IP del flow ipv6-udp src ::ff08 40983 dst ::268e 19741 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 0 fd_id 1 flow_director_filter 0 mode IP del flow ipv4-other src 0.143.50.94 286 dst 107.219.10.119 55222 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) drop pf queue= 1 fd_id 1 flow_director_filter 1 mode IP del flow ipv4-other src 0.143.50.94 286 dst 107.219.10.119 55222 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) drop pf queue= 1 fd_id 1 flow_director_filter 0 mode IP del flow ipv6-udp src ::cff5 26958 dst ::f978 6084 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 1 fd_id 1 flow_director_filter 1 mode IP del flow ipv6-udp src ::cff5 26958 dst ::f978 6084 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 1 fd_id 1 flow_director_filter 0 mode IP del flow ipv6-udp src ::3962 29380 dst ::4fd0 40864 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 0 fd_id 1 flow_director_filter 1 mode IP del flow ipv6-udp src ::3962 29380 dst ::4fd0 40864 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) fwd pf queue 0 fd_id 1 flow_director_filter 0 mode IP del flow ipv4-other src 252.195.129.146 26073 dst 15.5.47.129 7690 tos 0 ttl 0 vlan 0x0 flexbytes (0x0,0x0) drop pf queue= 0 fd_id 1 """ This also reproduces in newer releases that still have legacy FDIR filter t= ype support. 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.=