mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 01:24:12 +08:00
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: Simon Horman <horms@kernel.org> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
365d0371a9
commit
7218e96319
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user