DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] flow director  ATR mode
@ 2019-05-25  2:40 ZhangHaisen
  2019-05-25 14:54 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: ZhangHaisen @ 2019-05-25  2:40 UTC (permalink / raw)
  To: users

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

Bigo.sg

Block C, Xingtai Road,No.274,Shiqiao Street, Panyu District, Guangzhou,
Guangdong Province

 

 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-users] flow director  ATR mode
  2019-05-25  2:40 [dpdk-users] flow director ATR mode ZhangHaisen
@ 2019-05-25 14:54 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2019-05-25 14:54 UTC (permalink / raw)
  To: ZhangHaisen; +Cc: users

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-25 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-25  2:40 [dpdk-users] flow director ATR mode ZhangHaisen
2019-05-25 14:54 ` Stephen Hemminger

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).