nfp: flower: ignore offload of VF and PF repr MAC addresses
authorJohn Hurley <john.hurley@netronome.com>
Wed, 16 Jan 2019 03:06:54 +0000 (19:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jan 2019 23:23:15 +0000 (15:23 -0800)
commit41da0b5ef3447cf49c3a9dafc9e97a753a785296
tree1112ae67c974c1719a758b5b66964dececf31937
parentf3b975778c176b01eba10f869a5a64c6b8550c23
nfp: flower: ignore offload of VF and PF repr MAC addresses

Currently MAC addresses of all repr netdevs, along with selected non-NFP
controlled netdevs, are offloaded to FW as potential tunnel end-points.
However, the addresses of VF and PF reprs are meaningless outside of
internal communication and it is only those of physical port reprs
required.

Modify the MAC address offload selection code to ignore VF/PF repr devs.

Signed-off-by: John Hurley <john.hurley@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c