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 86565A0C4C for ; Wed, 1 Dec 2021 11:17:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1C7624068C; Wed, 1 Dec 2021 11:17:11 +0100 (CET) Received: from delivery.mailspamprotection.com (delivery.mailspamprotection.com [146.66.121.60]) by mails.dpdk.org (Postfix) with ESMTP id 2A2EC4067B for ; Wed, 1 Dec 2021 11:17:10 +0100 (CET) Received: from 72.204.214.35.bc.googleusercontent.com ([35.214.204.72] helo=es18.siteground.eu) by se16.mailspamprotection.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1msMfj-000E3L-6f for users@dpdk.org; Wed, 01 Dec 2021 04:17:09 -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: In-Reply-To:MIME-Version:Date:Message-ID:References:To:From:Subject:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=kf8IHHbzMBLMhn1kzaqWIZkXUgOBRH08yquXL40UzIs=; b=AO37jOgeDXD5CK3YmNXrkS7/4E u5tm+oofPRcW55PbDbh1BVXAnGcgx5vZbuCV2nCMiptXWntZTGEiJSHNXtyNHohMqY0GgptsInkj9 S8g5i2K7Fw9+1C0N8s/dR141IdmDkXGdCHxT+7WWtpWQ4OAV/DtRsECWOyd7PmLi2kmQR1osnwdgJ 7nWhpN/F21QAkLKE6ks2l7ecJoK2JOvb7ht81riUK7AWxSJ8XMuDW8Bb3QdR8lkxuwXF9nZe7hD/f C7oFe2FaZaWRZ9NrS5zKsZc/QurghI4dhHn61Q7LIb0GPnSGiNRTXHmGgP2Olme3QXrmpLL47WBWg L/EzTDzg==; Received: from [89.64.148.179] (port=59844 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 1msMfh-0008T1-Te for users@dpdk.org; Wed, 01 Dec 2021 10:17:05 +0000 Subject: Re: rte flow rule not clear with DPDK 21.11 and Intel E810 From: Filip Janiszewski To: "users@dpdk.org" References: <1f898d4a-cbaf-ef5b-1eec-04a275fc53e5@filipjaniszewski.com> Message-ID: <81372222-08c1-ae43-0962-4670e72fc3aa@filipjaniszewski.com> Date: Wed, 1 Dec 2021 11:17:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <1f898d4a-cbaf-ef5b-1eec-04a275fc53e5@filipjaniszewski.com> 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.25) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT+q9njrmUctsCNK8GiIWzGFPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5wDtBK3p5VcS6iRNP7EipR8fYzfQXcfqmra3dmoHS4ygtpo U4zimpYRA34+9z1anCVWuRWrkPihq53YqAd1ENNq6iAM41hAeV/RVyTQeiNgOIMaxvXc9tQ1fZaW Jxab/NLu+GFU0sCml2vPee3sRKccf6uNtfvhlxVIcNsI7TpuMmCm1Mqx/0+DydNzT9K7qSnD/KIZ FjZmfdcVjL2SVfcQjmlJySLkQdPf+nBedSzwCqKnvfKMIrExxqESVUcBaN8ffwwAuVVFydqPv9iK YN1ib14aWso2UBc9GvHeoAtlr2WLX2ZbQb3UJKihEmoDuwh8ZolFwwybCr3yWDyr1A1PvRkWzsAg aWolxIxCj2GHto6atsxaFkWS/KO9ggVt7y11v0HCq9Ij3WgoQoezM+scaWWR7drMd0qbJIo1RVCX ie2VXGdtLyog7ui50fJvZPXx1zG+dBgRGQy5Evn9+jdEgn5yrhquUfGKFVmhdtT5snHd0G1x4pfZ 1aISb7ugeb3EER4aaezxB4UAOdANOt+ul3AsDBujjw7GCggXV/wpTFs765aq/7Ihe5JpNEYIVsOM yGnDIpSchlco6RIDoNg/2Wq2InZGQXRwgp4DivepysN6jYX/nXkLyQnRCh0nB+uYUazmWajDqA7N T8Js52zSASJFC/49WOPBr5nlEUI4xPAA2j8gExEm4lZTWAf41Qf+1Yyre0TCEk9bcHTxzFaQQXqr J9jLEjeGz8hz0DCCebUZbTJzTUxFOPQN4ykUrfnvLnCjLkP+anpqMP4h36aMmCf40DP7fUpdGPkD VnZ/0LsxrQ2YdbRzJblZMRagqv70SHMFT5/cwf+DxCMkUdVod5XdG63CgJuXpt48NSiQMfXSYsX9 IJeeONzwvHSvYu8k9r9WCk6PePWwNZ/qQaYMmLMotXZ33rsuQNBrPMUWUfNt9IbwDC2r4A7aAE8F Q6vfD+BdP4LK+vNudx4FGNe1IIVGLAOfyPfJYYe0zvB1GjR8pXwdaPOMExbhMJTmZCiZnm8Yec8L JwXvkEKCIVpSk82vI+EfiUp6Ke/Xb9P6JZx5dk0bQRRsQsDS6/1iF07vIJSBfxi4XlYFCvUGrzrX 0fA18D3YPjHsCR+ixCNRN7DjTdOvsv3Ynp70TXNvLlM= 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 Just updating on other similar issue I'm finding, it appears this rte flow rule is completely broken for Intel E810 and most probably useless, for example, this rule works: . testpmd> flow create 0 ingress pattern eth / ipv4 / tcp dst is 2044 / end actions queue index 1 / end Flow rule #4 created . But the UDP version does not work: . testpmd> flow create 0 ingress pattern eth / ipv4 / udp dst is 51005 / end actions queue index 1 / end Flow rule #1 created . Also vlan id based filtering do not work, ip ranges (using spec+last) do not work et cetera. Am I doing something wrong with testpmd or anybody can confirm that this is just not working until fixed? Thanks Il 12/1/21 8:48 AM, Filip Janiszewski ha scritto: > Hi, > > Is there any sensible reason for which this flow rule works: > > . > testpmd> flow create 0 ingress pattern eth / ipv4 dst spec 199.168.152.2 > dst mask 255.255.0.255 / end actions queue index 1 / end > Flow rule #0 created > . > > But this one not?: > > . > testpmd> flow create 0 ingress pattern eth / ipv4 dst spec 199.168.152.2 > dst mask 255.255.255.0 / end actions queue index 1 / end > ice_flow_create(): Failed to create flow > port_flow_complain(): Caught PMD error type 10 (item specification): > cause: 0x7ffe040edaa8, Invalid input set: Invalid argument > . > > I've just changed the mask from 255.255.0.255 to 255.255.255.0, it's > really confusing why the latter one is not accepted.. > > Thanks > -- BR, Filip +48 666 369 823