nfp: move refresh tracking into the port structure
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 22 May 2017 17:59:30 +0000 (10:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 May 2017 18:59:05 +0000 (14:59 -0400)
commit6d4f8cba5fbbc83e74ee8a49e5234e446306bac6
treebaa7114989e0ed7623f206e41457e47bef3bbc53
parent3d4ed1e70185936ea7cfeec18dd25963c2908871
nfp: move refresh tracking into the port structure

Track whether physical port's state have changed since last refresh
inside the nfp_port structure instead of the vNIC structure.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net.h
drivers/net/ethernet/netronome/nfp/nfp_net_common.c
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
drivers/net/ethernet/netronome/nfp/nfp_net_main.c
drivers/net/ethernet/netronome/nfp/nfp_port.h