nfp: remove legacy MAC address lookup
authorJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 4 Jul 2017 09:27:20 +0000 (02:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Jul 2017 08:13:07 +0000 (09:13 +0100)
commitcb2cda484840730f0f7683286fa2a25dc1dbecf0
tree28056845e57903f376a84fd05789d1d53700906d
parent2eb333c4b442c4bcab79ada53019d4a47f252e46
nfp: remove legacy MAC address lookup

The legacy MAC address lookup doesn't work well with breakout
cables.  We are probably better off picking random addresses
than the wrong ones in the theoretical scenario where management
FW didn't tell us what the port config is.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/flower/main.c
drivers/net/ethernet/netronome/nfp/nfp_app_nic.c
drivers/net/ethernet/netronome/nfp/nfp_main.h
drivers/net/ethernet/netronome/nfp/nfp_net_main.c