[PATCH 1/4] ethdev: skip VMDq pools unless configured

Andrew Rybchenko andrew.rybchenko at oktetlabs.ru
Mon Jun 1 11:30:32 CEST 2026


On 4/3/26 12:18 PM, David Marchand wrote:
> The mac_addr_add API describes that only the 0 pool should be passed
> unless VMDq has been enabled, though there was no validation so far.
> Add such a check, then cleanup the related operations (adding, removing,
> restoring).
> 
> As a side effect, the net/cnxk does not need to manually reset the
> mac_pool_sel[] array.
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>

Acked-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>



More information about the dev mailing list