Re: [PATCH 2/2] net/i40e: program default RSS RETA at port configure

Bruce Richardson <[email protected]>
Newsgroups org.dpdk.dev
Message-ID <[email protected]>
On Wed, Aug 12, 2026 at 02:38:44PM +0000, Ciara Loftus wrote:
> Currently the default RSS redirection table is only programmed
> when the port is started, in `i40e_dev_rx_init()`. Between
> `rte_eth_dev_configure()` and `rte_eth_dev_start()` the table holds a
> stale value, so querying it with `rte_eth_dev_rss_reta_query()` reports
> entries spread over the hardware default queue count instead of the
> number of Rx queues the port was just configured with.
> 
> Program the default table in `i40e_dev_configure()`, where the Rx queue
> count is already known, so a query before start reflects the configured
> queues. VMDQ queue counts aren't known until queue setup, so that case is
> still handled at start.
> 
> Fixes: 4861cde46116 ("i40e: new poll mode driver")
> Cc: [email protected]
> 
> Signed-off-by: Ciara Loftus <[email protected]>
> ---
Acked-by: Bruce Richardson <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.