nfp: mark port state as stale after reconfig
authorJakub Kicinski <[email protected]>
Mon, 22 May 2017 17:59:32 +0000 (10:59 -0700)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/netronome/nfp/nfp_net_main.c