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 1073BA0C4C for ; Wed, 1 Dec 2021 07:53:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 90C2F4068C; Wed, 1 Dec 2021 07:53:35 +0100 (CET) Received: from delivery.mailspamprotection.com (delivery.mailspamprotection.com [146.66.121.62]) by mails.dpdk.org (Postfix) with ESMTP id 992114067B for ; Wed, 1 Dec 2021 07:53:34 +0100 (CET) Received: from 72.204.214.35.bc.googleusercontent.com ([35.214.204.72] helo=es18.siteground.eu) by se29.mailspamprotection.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1msJUi-000A2N-2Y for users@dpdk.org; Wed, 01 Dec 2021 00:53:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=filipjaniszewski.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=i2I5B6GXtFVl5unYqsrFhAQMVdA9knEHKLCwyfLdedU=; b=s5Ixhiqr9yHUrfa1LBRjJ2u9KZ E2SFui70fBv5/Vexh3P8qMxjoGlelYtEGP72Jiq/vBz+PnzPz8I/x+B9qsz4e09ZaxdDdj0gy3aIP wJBgMPjhHsRBubzQYA1llDACzq2LV8qo8LHx9GDDik5yLjd9pFyYTw53UX106IZBs2x8AkirRKlBj Axxz+FRUhMG+fW0OWPyeFQnobuyYPjtuYtUWBvq+wkUi+q5LmSpKuYg9L1zMWbsaKNTqGkh7auCPF fBvgbmvvCUowI+voweC5KT6HGWZly+ZYs6YX876HPmAVPBhim710degQ5ghe7rOY5IbDmrttpGiAN BHjn4MaQ==; Received: from [89.64.148.179] (port=58114 helo=localhost.localdomain) by es18.siteground.eu with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.90-.1) (envelope-from ) id 1msJUg-0009Zn-Sz for users@dpdk.org; Wed, 01 Dec 2021 06:53:30 +0000 To: "users@dpdk.org" From: Filip Janiszewski Subject: Failed to create flow rule using E810 while setting priority 1 Message-ID: Date: Wed, 1 Dec 2021 07:53:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: 35.214.204.72 X-SpamExperts-Domain: es18.siteground.eu X-SpamExperts-Username: 35.214.204.72 Authentication-Results: mailspamprotection.com; auth=pass smtp.auth=35.214.204.72@es18.siteground.eu X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.09) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT85QXjV95fjge8iXwcd/SgWPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5wDtBK3p5VcS6iRNP7EipR8fYzfQXcfqmra3dmoHS4ygp0R nyrD3Kd1nwjtA7h9nbtWuRWrkPihq53YqAd1ENNq6iAM41hAeV/RVyTQeiNgOIMaxvXc9tQ1fZaW Jxab/NLu+GFU0sCml2vPee3sRKccf6uNtfvhlxVIcNsI7TpuMmCm1Mqx/0+DydNzT9K7qSnD/KIZ FjZmfdcVjL2SVfcQjmlJySLkQdPf+nBedSzwCqKnvfKMIrExxqESVUcBaN8ffwwAuVVFydqPv9iK YN1iLzpVS7LoPP5ND07HoyrlK2WLX2ZbQb3UJKihEmoDuwh8ZolFwwybCr3yWDyr1A1PvRkWzsAg aWolxIxCj2GHto6atsxaFkWS/KO9ggVt7y11v0HCq9Ij3WgoQoezM+scaWWR7drMd0qbJIo1RVCX ie2VXGdtLyog7ui50fJvZPXx1zG+dBgRGQy5Evn9+jdEgn5yrhquUfGKFVmhdtT5snHd0G1x4pfZ 1aISb7ugeb3EER4aaezxB4UAOdANOt+ul3AsDBujjw7GCggXV/wpTFs765aq/7Ihe5JpNEYIVsOM yGnDIpSchlco6RIDoNg/2Wq2InZGQXRwgp4DivepysN6jYX/nXkLyQnRCh0nB+uYUazmWajDqA7N T8Js52zSASJFC/49WOPBr5nlEUI4xCeBp/+owuCuz/0IItF252FKC5XROoL23kHH2wGTQk+5BnT1 ZeZ/JDgWmdxlMetH21XaDqbyZkBgwlsmJSApZEqGwbl8TXg3XKOyYkvqwVxA/SO94N/2SEEH7lin r52fw+KWcJtmG1plI+Nh+fOKdo9dSwHv18bIXaCSozrY6YvBicRNxE8lHVRedXHzx9B2331lF87H XtkB1vLi4H9iqNs81H4tj030FSP9e1dfgMOZ5fuD1ukugSR6u66ZkJpg1071nl8LtSoTAZ7CV7UR iTwh1nDzQkFBVYGPvfegTl+Dfqb5R4VemuUI6bcEARsm0BSzT3e/vErSojFNgZ+z2eBRGMCLmveJ Ez/K74eczsDjUYzyeeQlRL3BCK088rhJO2eupYYdzPm7YfRDaULOU2k3qaBFfCaFoX7lbNqfdmmz 2Fm01HXrVQ4RYy46tWH9VYjfMCvRZi/l0agnbmEWZxQ= X-Report-Abuse-To: spam@quarantine1.mailspamprotection.com X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Hi, For some reason this rule cannot be created (DPDK 21.11, Intel E810-2CQDA2): . testpmd> flow create 0 ingress priority 1 pattern eth type spec 0x8000 type mask 0x8000 / end actions drop / end ice_flow_create(): Failed to create flow port_flow_complain(): Caught PMD error type 2 (flow rule (handle)): switch filter create flow fail: Invalid argument . But, this one can: . testpmd> flow create 0 ingress priority 0 pattern eth type spec 0x8000 type mask 0x8000 / end actions drop / end Flow rule #1 created . Apparently it's like those type of rules are not valid while using priority 1, but then if I change the mask to 0xF000 the rule is created regardless of the priority: . testpmd> flow create 0 ingress priority 1 pattern eth type spec 0x8000 type mask 0xF000 / end actions drop / end Flow rule #1 created . Is that a black-magic-rule or this is some malfunction in the ICE driver? This issue is related to my last two questions for the community*, in fact I was able to create a rule set to drop all the packets, like this: . testpmd> flow create 0 ingress pattern eth type spec 0x0000 type mask 0x8000 / end actions drop / end Flow rule #0 created testpmd> flow create 0 ingress pattern eth type spec 0x8000 type mask 0x8000 / end actions drop / end Flow rule #1 created . And now I wanted to use the priority mechanism to configure those rules with a lower priority, and then have a bunch of higher priority rules to collect (not drop) the packets I'm interested in. Thanks * See emails with subject: "rte flow priority not working", "flow rule to drop all the packets". -- BR, Filip +48 666 369 823