[PATCH v5 02/40] ethdev: support setting and querying RSS algorithm

Stephen Hemminger stephen at networkplumber.org
Thu Oct 12 17:23:27 CEST 2023


On Thu, 12 Oct 2023 10:21:51 +0800
fengchengwen <fengchengwen at huawei.com> wrote:

> > Rather than having every driver check the algorithm, why not handle this like
> > other features in DPDK (which may mean API/ABI changes). 
> > 
> > Add a field rss_algo_capa which is bit field of available RSS functions.
> > Then the check for algorithm can be done in generic code. There a couple
> > of reserved fields that could be used.  
> 
> +1 for add a field
> 
> But there are two ways to config rss: ethdev-ops, ethdev-rteflow-ops, should distinguish them ? or just define for ethdev-ops ?

One field is likely to be enough.
I would expect that if driver accepts RSS for rte flow, it would also take same RSS setting for non flow case.


More information about the dev mailing list