DPDK usage discussions
 help / color / mirror / Atom feed
From: Nikhil Jagtap <nikhil.jagtap@gmail.com>
To: konstantin.ananyev@intel.com, dev@dpdk.org, users@dpdk.org
Subject: [dpdk-users] acl: delete/modify rule support
Date: Tue, 15 Nov 2016 10:40:09 +0530	[thread overview]
Message-ID: <CANKBMf1eDvZ=PEAu3wMU1yiwsZTZ5QQNyrVZ3zzJgThiWtM-EQ@mail.gmail.com> (raw)

Hi,

I had a couple of questions about ACL support in DPDK.

1) Is it possible to build the ACL context over a period of time, one rule
at a time by calling build post each add operation?
Something like this :
    rte_acl_add_rules(ctx, rule1, 1);
    rte_acl_build(ctx, build_cfg);
    rte_acl_add_rules(ctx, rule2, 1);
    rte_acl_build(ctx, build_cfg);
    rte_acl_add_rules(ctx, rule3, 1);
    rte_acl_build(ctx, build_cfg);

I tried this, and it seems to be working - but still wanted to confirm.

2) I did not find any delete-rule API. I understand from one of the email
archives (http://dpdk.org/ml/archives/dev/2015-June/018868.html) that it is
not supported. Any specific reason why deletion of rule is not supported?
Any plan to support it?
Any alternative way other than destroying the whole context, adding the new
set of rules and building the rules again?

Regards,
Nikhil

             reply	other threads:[~2016-11-15  5:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-15  5:10 Nikhil Jagtap [this message]
2016-11-15  5:44 ` [dpdk-users] [dpdk-dev] " Anupam Kapoor

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='CANKBMf1eDvZ=PEAu3wMU1yiwsZTZ5QQNyrVZ3zzJgThiWtM-EQ@mail.gmail.com' \
    --to=nikhil.jagtap@gmail.com \
    --cc=dev@dpdk.org \
    --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).