[PATCH v2 1/5] ethdev: skip VMDq pools unless configured
Andrew Rybchenko
andrew.rybchenko at oktetlabs.ru
Mon Jun 1 11:35:58 CEST 2026
On 5/6/26 3:35 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 at oktetlabs.ru>
More information about the dev
mailing list