[dpdk-users] Mellanox MLX5 Symmetric RSS
Tom Barbette
barbette at kth.se
Tue Apr 28 13:57:59 CEST 2020
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
>
More information about the users
mailing list