[PATCH v9 5/5] net/mlx5: accept more unicast MAC addresses
Dariusz Sosnowski
dsosnowski at nvidia.com
Mon Sep 28 16:40:15 CEST 2026
> -----Original Message-----
> From: David Marchand <david.marchand at redhat.com>
> Sent: Thursday, September 24, 2026 8:39 AM
> To: dev at dpdk.org
> Cc: rjarry at redhat.com; cfontain at redhat.com; Dariusz Sosnowski
> <dsosnowski at nvidia.com>; Slava Ovsiienko <viacheslavo at nvidia.com>; Bing
> Zhao <bingz at nvidia.com>; Ori Kam <orika at nvidia.com>; Suanming Mou
> <suanmingm at nvidia.com>; Matan Azrad <matan at nvidia.com>
> Subject: [PATCH v9 5/5] net/mlx5: accept more unicast MAC addresses
>
> 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>
Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
More information about the dev
mailing list