DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Fengchengwen <fengchengwen@huawei.com>,
	"orika@nvidia.com" <orika@nvidia.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, "humin (Q)" <humin29@huawei.com>,
	Thomas Monjalon <thomas@monjalon.net>,
	Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Subject: Re: [dpdk-dev] How about add rte flow get capablity APIs
Date: Tue, 23 Mar 2021 10:27:20 +0000	[thread overview]
Message-ID: <8a6224ba-301e-d5a2-d515-265b3bf1b97d@intel.com> (raw)
In-Reply-To: <3f5ffb32474b4fe78b006a78bee11c1c@huawei.com>

On 3/23/2021 12:52 AM, Fengchengwen wrote:
> Hi, Ori and Ferruh
> 
>    Currently, the rte flow APIs lack of get capability APIs, upper-application
> 
> could not get the device capability unless look doc or code or even test it.
> 
>    Maybe it's a good idea to add the get capability like traffic manager
> 
> framework, what do you think?
> 

Not providing capability was a design decision, because it may not be possible 
to provide capability information correctly.

The preferred method is 'rte_flow_validate()'.
Application should call 'rte_flow_validate()' to decide if a rule can be created 
or not, and take an action accordingly.

  reply	other threads:[~2021-03-23 10:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-23  0:52 Fengchengwen
2021-03-23 10:27 ` Ferruh Yigit [this message]
2021-03-24  0:44   ` fengchengwen

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=8a6224ba-301e-d5a2-d515-265b3bf1b97d@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=andrew.rybchenko@oktetlabs.ru \
    --cc=dev@dpdk.org \
    --cc=fengchengwen@huawei.com \
    --cc=humin29@huawei.com \
    --cc=orika@nvidia.com \
    --cc=thomas@monjalon.net \
    /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).