nfp: mark port state as stale after reconfig
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 22 May 2017 17:59:32 +0000 (10:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 May 2017 18:59:05 +0000 (14:59 -0400)
commit1f60a5815bade268696d57452dfbfcbf0c655a23
tree48625e0e069217b4d436baee5868515e7a77d8e7
parent3eb3b74adb701d575d718df1bbffefa2543a302d
nfp: mark port state as stale after reconfig

After port configuration is performed mark it as changed. This
will close a window of time between configuration and async
state refresh which runs from a workqueue where old port state
would be reported.

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_main.c