On Tue, Sep 08, 2026 at 11:27:40AM +0200, David Marchand wrote:
> On the net/mlx5 side, mlx5_mac.c validates that any MAC address and its
> index is valid before calling the OS specific helpers.
> So those OS helpers do not have to validate again the index.
> 
> Cascading this consideration, validating the MAC index against
> MLX5_MAX_MAC_ADDRESSES in common code is also redundant.
> The common code only deals with netlink, remove any index concern.
> 
> Signed-off-by: David Marchand <[email protected]>

Acked-by: Dariusz Sosnowski <[email protected]>

Reply via email to