DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Ananyev, Konstantin" <konstantin.ananyev@intel.com>
To: "Sugumaran, Varthamanan" <vsugumar@ciena.com>,
	"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Creation of ACL context with multiple tries
Date: Tue, 21 Jul 2015 09:19:19 +0000	[thread overview]
Message-ID: <2601191342CEEE43887BDE71AB97725836A275CB@irsmsx105.ger.corp.intel.com> (raw)
In-Reply-To: <5D52F6EC3531E949B1A9130CBFCE032F8B2670B6@ONWVEXCHMB04.ciena.com>



Hi Vartha,
 
> Hi All,
> Need your inputs on the following queries on ACL contexts.
> 
> 1. Has anyone tried creating ACL context with multiple tries?
> 2. The document/code mentioned that we can have the maximum of 8 tries(RTE_ACL_MAX_TRIES) per ACL context.
>      What is the use case for having more than single trie?

User can't directly control number of tries per context and/or contents of each trie at build time.
It is decided by build time by librte_acl internal logic and depends from the rule set and build parameters.
Please refer to: http://dpdk.org/doc/guides/prog_guide/packet_classif_access_ctrl.html
Section 23.1.2. RT memory size limit.

> 3. If we can create ACL context using multiple tries, then is it possible to have trie per category in ACL context?
>     Meaning I want to create a single ACL context(that had both ipv4 and ipv6 rules)  which  have 2 tries with one for ipv4 rules and
> another one for ipv6 rules.

No, that's no possible with current implementation.
Konstantin


> Thanks in Advance.
> 
> Thanks
> Vartha

      reply	other threads:[~2015-07-21  9:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-20 18:15 [dpdk-dev] ACL: " Sugumaran, Varthamanan
2015-07-21  9:19 ` Ananyev, Konstantin [this message]

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=2601191342CEEE43887BDE71AB97725836A275CB@irsmsx105.ger.corp.intel.com \
    --to=konstantin.ananyev@intel.com \
    --cc=dev@dpdk.org \
    --cc=vsugumar@ciena.com \
    /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).