DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Mellanox MLX5 Symmetric RSS
@ 2020-04-28  3:14 Bao-Long Tran
  2020-04-28 11:57 ` Tom Barbette
  0 siblings, 1 reply; 2+ messages in thread
From: Bao-Long Tran @ 2020-04-28  3:14 UTC (permalink / raw)
  To: matan, shahafs, viacheslavo; +Cc: users

Hi,

We're testing the Mellanox NIC MT27800 Family [ConnectX-5] 1017. I wonder if the NIC support symmetric RSS and if yes how to configure it. The input traffic would be a pcap of one single eth/http/tcp flow with both directions., i.e,
(A) 1.2.3.4:40 -> 5.6.7.8:80
(B) 5.6.7.8:80 -> 1.2.3.4:40

The desired effect would be to have (A) and (B) hitting the same RX queue.

Below is what I have tried so far with testpmd. So (A) and (B) always hit different RX queues. 

testpmd <EAL-options> -- -i -a --nb-cores=16 --forward-mode=rxonly --rxq=8 --txq=8

1. flow create 0 ingress pattern eth type is 0x0800 / end actions rss / end

2. low create 0 ingress pattern eth type is 0x0800 / end actions rss queues 0 1 2 3 4 5 6 7 end / end

3. flow create 0 ingress pattern eth type is 0x0800 / end actions rss func toeplitz level 1 types ipv4 end queues 0 1 2 3 4 5 6 7 end / end

4. flow create 0 ingress pattern eth type is 0x0800 / end actions rss func toeplitz level 1 types ipv4 end queues 0 1 2 3 4 5 6 7 end key 2CC681D15BDBF4F7FCA28319DB1A3E946B9E38D92C9C03D1AD9944A7D9563D59063C25F3FC1FDC2A key_len 40 / end

Thanks,
BL

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

* Re: [dpdk-users] Mellanox MLX5 Symmetric RSS
  2020-04-28  3:14 [dpdk-users] Mellanox MLX5 Symmetric RSS Bao-Long Tran
@ 2020-04-28 11:57 ` Tom Barbette
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Barbette @ 2020-04-28 11:57 UTC (permalink / raw)
  To: Bao-Long Tran, matan, shahafs, viacheslavo; +Cc: users

Hi,

The trick with symmetric RSS is simply to have a 2-bytes repeating key. 
Eg 6D5A repeated 20 times.

Tom

Le 28/04/2020 à 05:14, Bao-Long Tran a écrit :
> Hi,
> 
> We're testing the Mellanox NIC MT27800 Family [ConnectX-5] 1017. I wonder if the NIC support symmetric RSS and if yes how to configure it. The input traffic would be a pcap of one single eth/http/tcp flow with both directions., i.e,
> (A) 1.2.3.4:40 -> 5.6.7.8:80
> (B) 5.6.7.8:80 -> 1.2.3.4:40
> 
> The desired effect would be to have (A) and (B) hitting the same RX queue.
> 
> Below is what I have tried so far with testpmd. So (A) and (B) always hit different RX queues.
> 
> testpmd <EAL-options> -- -i -a --nb-cores=16 --forward-mode=rxonly --rxq=8 --txq=8
> 
> 1. flow create 0 ingress pattern eth type is 0x0800 / end actions rss / end
> 
> 2. low create 0 ingress pattern eth type is 0x0800 / end actions rss queues 0 1 2 3 4 5 6 7 end / end
> 
> 3. flow create 0 ingress pattern eth type is 0x0800 / end actions rss func toeplitz level 1 types ipv4 end queues 0 1 2 3 4 5 6 7 end / end
> 
> 4. flow create 0 ingress pattern eth type is 0x0800 / end actions rss func toeplitz level 1 types ipv4 end queues 0 1 2 3 4 5 6 7 end key 2CC681D15BDBF4F7FCA28319DB1A3E946B9E38D92C9C03D1AD9944A7D9563D59063C25F3FC1FDC2A key_len 40 / end
> 
> Thanks,
> BL
> 

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

end of thread, other threads:[~2020-04-28 11:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28  3:14 [dpdk-users] Mellanox MLX5 Symmetric RSS Bao-Long Tran
2020-04-28 11:57 ` Tom Barbette

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