hv_netvsc: Add handler for physical link speed change
authorHaiyang Zhang <haiyangz@microsoft.com>
Thu, 4 Aug 2016 17:42:15 +0000 (10:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Aug 2016 23:14:07 +0000 (16:14 -0700)
commit7f5d5af0b2f859f09b3dcb16a00b800fa48d9288
tree3354e0a6841c8c8ec8ae132e6f5281ff3b26bec4
parentb37879e6ca7079943542048da37f00a386c30cee
hv_netvsc: Add handler for physical link speed change

On Hyper-V host 2016 and later, VMs gets an event message of the physical
link speed when vSwitch is changed. This patch handles this message, so
the updated link speed can be reported by ethtool.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc.c
drivers/net/hyperv/netvsc_drv.c