linux_dsm_epyc7002/drivers/net/hyperv
Cris Forno 9aedc6e2f1 net/ethtool: Introduce link_ksettings API for virtual network devices
With the ethtool_virtdev_set_link_ksettings function in core/ethtool.c,
ibmveth, netvsc, and virtio now use the core's helper function.

Funtionality changes that pertain to ibmveth driver include:

  1. Changed the initial hardcoded link speed to 1GB.

  2. Added support for allowing a user to change the reported link
  speed via ethtool.

Functionality changes to the netvsc driver include:

  1. When netvsc_get_link_ksettings is called, it will defer to the VF
  device if it exists to pull accelerated networking values, otherwise
  pull default or user-defined values.

  2. Similarly, if netvsc_set_link_ksettings called and a VF device
  exists, the real values of speed and duplex are changed.

Signed-off-by: Cris Forno <cforno12@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-02-29 21:48:55 -08:00
..
hyperv_net.h hv_netvsc: Add XDP support 2020-01-25 10:43:19 +01:00
Kconfig
Makefile hv_netvsc: Add XDP support 2020-01-25 10:43:19 +01:00
netvsc_bpf.c hv_netvsc: Fix XDP refcnt for synthetic and VF NICs 2020-02-07 11:33:01 +01:00
netvsc_drv.c net/ethtool: Introduce link_ksettings API for virtual network devices 2020-02-29 21:48:55 -08:00
netvsc_trace.c
netvsc_trace.h
netvsc.c hv_netvsc: Fix unwanted wakeup in netvsc_attach() 2020-02-23 16:32:37 -08:00
rndis_filter.c hv_netvsc: Add XDP support 2020-01-25 10:43:19 +01:00