commit | 172f638c93dd0b90b231d07662e64025b1e53e38 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Tue Apr 04 16:12:26 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 05 10:49:12 2017 -0700 |
tree | 0f6cc127d6004db39c8627585c20f9c2fdf4dbca | |
parent | cee4295133ba3b85b2f22b542d8855232deba4a3 [diff] |
nfp: add port state refresh We will need a way of refreshing port state for link settings get/set. For get we need to refresh port speed and type. When settings are changed the reconfiguration may require reboot before it's effective. Unregister netdevs affected by reconfiguration from a workqueue. 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>