Commit 7218e963 authored by Ioana Ciornei's avatar Ioana Ciornei Committed by David S. Miller
Browse files

dpaa2-switch: declare the netdev as IFF_LIVE_ADDR_CHANGE capable



There is no restriction around the change of the MAC address on the
switch ports, thus declare the interface netdevs IFF_LIVE_ADDR_CHANGE
capable.

Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Signed-off-by: default avatarIoana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 365d0371
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3293,6 +3293,7 @@ static int dpaa2_switch_probe_port(struct ethsw_core *ethsw,
	port_netdev->features = NETIF_F_HW_VLAN_CTAG_FILTER |
				NETIF_F_HW_VLAN_STAG_FILTER |
				NETIF_F_HW_TC;
	port_netdev->priv_flags |= IFF_LIVE_ADDR_CHANGE;

	err = dpaa2_switch_port_init(port_priv, port_idx);
	if (err)