diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2023-12-19 14:59:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-23 04:18:59 +0300 |
commit | 7218e963196e5f85008a8f86e5b4dd613fae0a4c (patch) | |
tree | 52bb33a72765d482f3796ccded6362065049e447 /drivers/net/ethernet | |
parent | 365d0371a9ecf9f15fcf9e054e3bb7205603344d (diff) | |
download | linux-7218e963196e5f85008a8f86e5b4dd613fae0a4c.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c b/drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c index 811e2cfe6c93..a41d5c7428ab 100644 --- a/drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c +++ b/drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c @@ -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) |