[PATCH v6 3/5] net/mlx5: pass maximum number of unicast MAC to common code

Dariusz Sosnowski dsosnowski at nvidia.com
Fri Sep 11 10:38:20 CEST 2026


On Tue, Sep 08, 2026 at 11:27:41AM +0200, David Marchand wrote:
> Isolate how the MAC addresses array is walked through in the common code
> by passing the max index at which a unicast MAC address is stored in
> dev->data->mac_addrs[].
> 
> With this change, only net/mlx5 knows about the max number of
> unicast/multicast MAC addresses.
> 
> 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