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 D345CA0525; Fri, 21 Feb 2020 17:14:07 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B453C1BFAC; Fri, 21 Feb 2020 17:14:07 +0100 (CET) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id 057E134F3 for ; Fri, 21 Feb 2020 17:14:06 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id E7D00A0551; Fri, 21 Feb 2020 17:14:05 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Fri, 21 Feb 2020 16:14:06 +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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maxime.leroy@6wind.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 404] i40e: "i40e_res_pool_free(): Failed to find entry" error when rte_flow are flushed 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=3D404 Bug ID: 404 Summary: i40e: "i40e_res_pool_free(): Failed to find entry" error when rte_flow are flushed Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: maxime.leroy@6wind.com Target Milestone: --- With dpdk master (commit id d0e160a00233), I got the following error when I= try to flush a rte_flow a second time (i.e. create a flow, delete, recreate and then delete). ./build/app/testpmd --legacy-mem -c 1f -n 4 -w 0000:85:00.1 -- -i --rx= q=3D1 --txq=3D1 --total-num-mbufs=3D10000 EAL: Detected 40 lcore(s) EAL: Detected 2 NUMA nodes EAL: Static memory layout is selected, amount of reserved memory can be adjusted with -m or --socket-mem EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'VA' EAL: No available hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... EAL: VFIO support initialized EAL: PCI device 0000:85:00.1 on NUMA socket 1 EAL: probe driver: 8086:1583 net_i40e EAL: using IOMMU type 1 (Type 1) Interactive-mode selected ... testpmd> flow create 0 ingress pattern eth / ipv4 / tcp dst is 179 / end actions queue index 0 / end Flow rule #0 created testpmd> flow flush 0 testpmd> flow create 0 ingress pattern eth / ipv4 / tcp dst is 179 / end actions queue index 0 / end Flow rule #0 created testpmd> flow flush 0 i40e_res_pool_free(): Failed to find entry testpmd>=20 The error happens in i40e_res_pool_free: 4951=E2=94=82 /* Not find, return */ 4952=E2=94=82 if (valid_entry =3D=3D NULL) { 4953=E2=94=9C> PMD_DRV_LOG(ERR, "Failed to find entry"); 4954=E2=94=82 return -EINVAL; 4955=E2=94=82 } 4956=E2=94=82 (gdb) bt #0 i40e_res_pool_free (pool=3D0x112c3fe510, base=3D0) at /root/dpdk/drivers/net/i40e/i40e_ethdev.c:4953 #1 0x000055718b6fa489 in i40e_vsi_release (vsi=3D0x20015ab80) at /root/dpdk/drivers/net/i40e/i40e_ethdev.c:5426 #2 0x000055718b8c6c8c in i40e_fdir_teardown (pf=3D0x112c3fe4f8) at /root/dpdk/drivers/net/i40e/i40e_fdir.c:286 #3 0x000055718b97dc8e in i40e_flow_flush_fdir_filter (pf=3D0x112c3fe4f8) at /root/dpdk/drivers/net/i40e/i40e_flow.c:5186 #4 0x000055718b97da24 in i40e_flow_flush (dev=3D0x55718e4e9300 , error=3D0x7fffd7360320) at /root/dpdk/drivers/net/i40e/i40e_flow.c:5114 #5 0x000055718acc91dc in rte_flow_flush (port_id=3D0, error=3D0x7fffd73603= 20) at /root/dpdk/lib/librte_ethdev/rte_flow.c:412 .. --=20 You are receiving this mail because: You are the assignee for the bug.=