nfp: add ndo_set_mac_address for representors
authorJohn Hurley <john.hurley@netronome.com>
Thu, 24 May 2018 02:22:48 +0000 (19:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 May 2018 03:10:56 +0000 (23:10 -0400)
commit24f132e29c041cc0654e5aa8ab1127d45d4b46d3
tree990aeaf910104d3d705bac569ee3127957c24015
parentd97cde6ab547a8115fb4fae73f030a96519ac3c6
nfp: add ndo_set_mac_address for representors

Adding a netdev to a bond requires that its mac address can be modified.
The default eth_mac_addr is sufficient to satisfy this requirement.

Signed-off-by: John Hurley <john.hurley@netronome.com>
Reviewed-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_repr.c