From: Bradley Kite <bradley.kite@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Ability to clear/reset pipeline table?
Date: Mon, 16 May 2016 17:32:10 +0100 [thread overview]
Message-ID: <CA+JxU+5bwS5m2r+WxBFTTYXbhO_Q5y4it1zK4OpXgySvnzeOtQ@mail.gmail.com> (raw)
Hi there,
The application I am writing needs to be able to clear all entries from a
table and then bulk-load a new set of entries - eg due to a "commit" action
by a user when applying new configuration, or perhaps by a CLI command (eg
to clear a NAT table).
I could not find a particularly easy way of doing this via the API's, so am
I correct in thinking that I need the application to also keep lists of all
keys within the table and then call rte_pipeline_table_entry_delete_bulk()
followed by rte_pipeline_table_entry_add_bulk()?
Does this approach not require twice as much memory if both the application
and the DPDK library keep copies of the keys for a table?
Any help or advice would be most appreciated.
Many thanks
--
Brad.
next reply other threads:[~2016-05-16 16:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-16 16:32 Bradley Kite [this message]
2016-05-17 16:13 ` Singh, Jasvinder
2016-05-18 20:58 ` Bradley Kite
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=CA+JxU+5bwS5m2r+WxBFTTYXbhO_Q5y4it1zK4OpXgySvnzeOtQ@mail.gmail.com \
--to=bradley.kite@gmail.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).