DPDK usage discussions
 help / color / 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, back to index

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

DPDK usage discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/ public-inbox