DPDK usage discussions
 help / color / mirror / Atom feed
From: Pawel Wodkowski <pawelwod@gmail.com>
To: users@dpdk.org, konstantin.ananyev@intel.com
Subject: ACL library silently fail to classify packets if group is not 4b long in field definition
Date: Fri, 12 May 2023 13:02:20 +0200	[thread overview]
Message-ID: <6da80966-3c8e-df40-67aa-427227778b07@gmail.com> (raw)

Hi,

I'm using version 20.05.0 but I believe current version is also affected.

In I know that the ACL group must be constructed of 4 consecutive bytes.
But when the group is not 4B long (eg. no need to check more than 2B)
then the rte_acl_create() function return success but classification always
fail. Can some basic checking be added to validate the given ACL rules
definition to make the life easier?

Paweł

                 reply	other threads:[~2023-05-12 11:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=6da80966-3c8e-df40-67aa-427227778b07@gmail.com \
    --to=pawelwod@gmail.com \
    --cc=konstantin.ananyev@intel.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).