]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5e: Allow setting MAC address of representors
authorMark Bloch <mbloch@nvidia.com>
Thu, 22 May 2025 07:13:56 +0000 (10:13 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 27 May 2025 10:07:21 +0000 (12:07 +0200)
commitf95633adc177416ac21f16db9ce1e75c74db805a
treef126ccebefdba962e476e1b23fd75977d142b116
parent08ae62e1729fac589aae0be2ace848464760fd77
net/mlx5e: Allow setting MAC address of representors

A representor netdev does not correspond to real hardware that needs to
be updated when setting the MAC address. The default eth_mac_addr() is
sufficient for simply updating the netdev's MAC address with validation.

Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/1747898036-1121904-1-git-send-email-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c