DPDK usage discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: "ZhangHaisen" <zhanghaisen@bigo.sg>
Cc: <users@dpdk.org>
Subject: Re: [dpdk-users] flow director  ATR mode
Date: Sat, 25 May 2019 07:54:27 -0700	[thread overview]
Message-ID: <20190525075427.2e583989@hermes.lan> (raw)
In-Reply-To: <143901d512a3$2aad5730$80080590$@bigo.sg>

On Sat, 25 May 2019 10:40:07 +0800
"ZhangHaisen" <zhanghaisen@bigo.sg> wrote:

> Hi,
> 
> I have some question about flow director ATR mode:
> 
> 1.      Does DPDK support ATR mode which is described in
> https://software.intel.com/en-us/articles/setting-up-intel-ethernet-flow-dir
> ector as : In ATR mode, Intel Ethernet FD uses fields from the outgoing
> packets in the Tx queues to populate the 8K-entry Perfect-Match filter
> table.
> 
> 2.      If yes , how to config the eth dev with the DPDK APIs, such as
> rte_eth_dev_configure(),rte_eth_tx_queue_setup(),rte_eth_rx_queue_setup()?
> Is there any example code?
> 
>  
> 
> Thanks a lot,
> 
> Zhanghaisen

The rte_flow API is what you want.
https://doc.dpdk.org/guides/prog_guide/rte_flow.html

      reply	other threads:[~2019-05-25 14:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-25  2:40 ZhangHaisen
2019-05-25 14:54 ` Stephen Hemminger [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=20190525075427.2e583989@hermes.lan \
    --to=stephen@networkplumber.org \
    --cc=users@dpdk.org \
    --cc=zhanghaisen@bigo.sg \
    /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).