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