Skip to content

Commit 3e9a545

Browse files
caildavem330
authored andcommitted
net: aquantia: Allow live mac address changes
There is nothing prevents us from changing MAC on the running interface. Allow this with ndev priv flag. Signed-off-by: Igor Russkikh <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent b647d39 commit 3e9a545

File tree

1 file changed

+2
-0
lines changed
  • drivers/net/ethernet/aquantia/atlantic

1 file changed

+2
-0
lines changed

drivers/net/ethernet/aquantia/atlantic/aq_nic.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,8 @@ void aq_nic_ndev_init(struct aq_nic_s *self)
247247
self->ndev->hw_features |= aq_hw_caps->hw_features;
248248
self->ndev->features = aq_hw_caps->hw_features;
249249
self->ndev->priv_flags = aq_hw_caps->hw_priv_flags;
250+
self->ndev->priv_flags |= IFF_LIVE_ADDR_CHANGE;
251+
250252
self->ndev->mtu = aq_nic_cfg->mtu - ETH_HLEN;
251253
self->ndev->max_mtu = aq_hw_caps->mtu - ETH_FCS_LEN - ETH_HLEN;
252254

0 commit comments

Comments
 (0)