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

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  7:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-01  7:48 Filip Janiszewski [this message]
2021-12-01 10:17 ` Filip Janiszewski
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=1f898d4a-cbaf-ef5b-1eec-04a275fc53e5@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).