[dpdk-dev] [PATCH v2 28/30] net/mlx5: handle RSS hash configuration in RSS flow

Yongseok Koh yskoh at mellanox.com
Fri Oct 6 19:30:14 CEST 2017


On Thu, Oct 05, 2017 at 02:50:00PM +0200, Nelio Laranjeiro wrote:
> Add RSS support according to the RSS configuration.
> 
> A special case is handled, when the pattern does not cover the RSS hash
> configuration request such as:
> 
>  flow create 0 ingress pattern eth / end actions rss queues 0 1 end / end
> 
> In such situation with the default configuration of testpmd RSS i.e. IP,
> it should be converted to 3 Verbs flow to handle correctly the request:
> 
>  1. IPv4 flow, an extra IPv4 wildcard specification needs to be added in
>     the conversion.
>  2. IPv6 flow, same as for IPv4.
>  3. Ethernet followed by any other protocol on which no RSS can be
>     performed and thus the traffic will be redirected to the first queue of
>     the user request.
> 
> The same kind of issue is handled if the RSS is performed only on UDPv4 or
> UDPv6 or TCPv*.
> 
> This does not handle a priority conflict which can occurs if the user adds
> several colliding flow rules.  Currently in the example above, the request
> is already consuming 2 priorities (1 for IPv4/IPV6 matching rule priority
> and one for Ethernet matching rule priority + 1).
> 
> Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>
> ---
Acked-by: Yongseok Koh <yskoh at mellanox.com>
 
Thanks


More information about the dev mailing list