[PATCH v8 5/5] net/mlx5: accept more unicast MAC addresses
David Marchand
david.marchand at redhat.com
Mon Sep 21 13:52:05 CEST 2026
On Mon, 21 Sept 2026 at 13:51, David Marchand <david.marchand at redhat.com> wrote:
>
> Starting firmware version 22.49.1014, the number of mac addresses
> per VF is not capped to 128 anymore.
>
> The value can be increased via devlink:
> $ devlink dev param set pci/0000:3b:00.2 name max_macs value 4096 \
> cmode driverinit
> $ devlink dev reload pci/0000:3b:00.2
>
> On the DPDK side, we must retrieve the maximum number of unicast
> and multicast addresses supported with a query to the firmware.
>
> Then, dynamically allocate the mac addresses arrays and report the
> limit instead of the previous hardcoded value.
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
Sorry, I forgot to add:
Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
--
David Marchand
More information about the dev
mailing list