nfp: add set_mac_address support while the interface is up
authorPablo Cascón <pablo.cascon@netronome.com>
Mon, 29 May 2017 00:52:53 +0000 (17:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 May 2017 15:27:03 +0000 (11:27 -0400)
commit9d3727595b11ab8f2837b54922efd2998f2cade5
treeb5bd59072f2dc37dcf8c62643f726d77a1472b9c
parentd935bc84c9403f30afedc2212e6dafe7669a738d
nfp: add set_mac_address support while the interface is up

Expose FW app ability to change MAC address at runtime.  Make sure
we only depend on it if FW app advertised the right capability.

Signed-off-by: Pablo Cascón <pablo.cascon@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_common.c
drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h