[dpdk-users] flow director ATR mode

Stephen Hemminger stephen at networkplumber.org
Sat May 25 16:54:27 CEST 2019


On Sat, 25 May 2019 10:40:07 +0800
"ZhangHaisen" <zhanghaisen at 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


More information about the users mailing list