DPDK usage discussions
 help / color / mirror / Atom feed
From: Filip Janiszewski <contact@filipjaniszewski.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: Re: rte flow rule not clear with DPDK 21.11 and Intel E810
Date: Wed, 1 Dec 2021 11:17:05 +0100	[thread overview]
Message-ID: <81372222-08c1-ae43-0962-4670e72fc3aa@filipjaniszewski.com> (raw)
In-Reply-To: <1f898d4a-cbaf-ef5b-1eec-04a275fc53e5@filipjaniszewski.com>

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

  reply	other threads:[~2021-12-01 10:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-01  7:48 Filip Janiszewski
2021-12-01 10:17 ` Filip Janiszewski [this message]
2021-12-02 11:24   ` Massimo Girondi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=81372222-08c1-ae43-0962-4670e72fc3aa@filipjaniszewski.com \
    --to=contact@filipjaniszewski.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).