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 2BC55A0525; Fri, 21 Feb 2020 16:50:01 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8573C1BFAC; Fri, 21 Feb 2020 16:50:00 +0100 (CET) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id C6C2334F3 for ; Fri, 21 Feb 2020 16:49:59 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 987E9A0551; Fri, 21 Feb 2020 16:49:59 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Fri, 21 Feb 2020 15:49:59 +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 403] i40e: cannot add 2 rte_flows with one matching TCP sport and the other dport 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=3D403 Bug ID: 403 Summary: i40e: cannot add 2 rte_flows with one matching TCP sport and the other dport 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 create one rte_flow matching TCP dport and one matching TCP sport: ./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 create 0 ingress pattern eth / ipv4 / tcp src is 180 / end actions queue index 0 / end port_flow_complain(): Caught PMD error type 13 (specific pattern item): cau= se: 0x2001582a0, Conflict with the first rule's input set.: Invalid argument The message error is not very useful. Because these rules doesn't conflict. These rules are working perfectly fine with other nic. Is It an hardware limitation or a software limitation ? Are there any documentation to know what is supported by the i40e nic with rte_flow API ? --=20 You are receiving this mail because: You are the assignee for the bug.=