DPDK usage discussions
 help / color / Atom feed
* [dpdk-users] Round-robin packet distribution
@ 2020-07-24 10:05 Filip Janiszewski
  2020-07-25  8:35 ` Tom Barbette
  0 siblings, 1 reply; 2+ messages in thread
From: Filip Janiszewski @ 2020-07-24 10:05 UTC (permalink / raw)
  To: users

Hi,

Is there a way in DPDK to configure the NIC to distribute the incoming
packets to multiple queues in a round robin fashion? Without taking into
account the payload/headers or type of packet, just plain round robin
distribution to multiple queues.

I'm struggling to obtain a fair mechanism using RSS, perhaps the
rte_flow API can do the trick? Any other suggestion?

Thanks

-- 
BR, Filip
+48 666 369 823

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

* Re: [dpdk-users] Round-robin packet distribution
  2020-07-24 10:05 [dpdk-users] Round-robin packet distribution Filip Janiszewski
@ 2020-07-25  8:35 ` Tom Barbette
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Barbette @ 2020-07-25  8:35 UTC (permalink / raw)
  To: Filip Janiszewski, users

Hi Filip,

This is not possible, but you may use the idea of Sprayer 
(http://www.gta.ufrj.br/ftp/gta/TechReports/SCC18d.pdf) to dispatch 
packets randomly (use RSS on the checksum).

However, in our paper RSS++ 
(https://www.diva-portal.org/smash/get/diva2:1371780/FULLTEXT01.pdf) we 
show it's nearly always a bad idea because you'll have to share state, 
and even for "stateless" function, that leads to a very bad locality in 
a firewall as the same rules have to be fetched to L1 to all cores at 
the same time when you receive a burst of similar packets.

Tom

Le 24/07/2020 à 12:05, Filip Janiszewski a écrit :
> Hi,
> 
> Is there a way in DPDK to configure the NIC to distribute the incoming
> packets to multiple queues in a round robin fashion? Without taking into
> account the payload/headers or type of packet, just plain round robin
> distribution to multiple queues.
> 
> I'm struggling to obtain a fair mechanism using RSS, perhaps the
> rte_flow API can do the trick? Any other suggestion?
> 
> Thanks
> 


^ 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 --
2020-07-24 10:05 [dpdk-users] Round-robin packet distribution Filip Janiszewski
2020-07-25  8:35 ` Tom Barbette

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