[PATCH v3 2/5] ethdev: skip VMDq pools unless configured
Andrew Rybchenko
andrew.rybchenko at oktetlabs.ru
Mon Jun 1 11:38:44 CEST 2026
On 5/10/26 8:03 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 MAC 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>
for ethdev
Acked-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
More information about the dev
mailing list