linux_dsm_epyc7002/drivers/net/hyperv
Andrew Schwartzmeyer b5960e6e2b hv_netvsc: Implement set_channels ethtool op
This enables the use of ethtool --set-channels devname combined N to
change the number of vRSS queues. Separate rx, tx, and other parameters
are not supported. The maximum is rsscap.num_recv_que. It passes the
given value to rndis_filter_device_add through the device_info->num_chn
field.

If the procedure fails, it attempts to recover to the prior state. If
the recovery fails, it logs an error and aborts.

Current num_chn is saved and restored when changing the MTU.

Signed-off-by: Andrew Schwartzmeyer <andschwa@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-08-12 14:45:38 -07:00
..
hyperv_net.h hv_netvsc: Set vRSS with num_chn in RNDIS filter 2015-08-12 14:45:38 -07:00
Kconfig staging: hv: move hv_netvsc out of staging area 2011-11-29 16:12:36 +09:00
Makefile staging: hv: move hv_netvsc out of staging area 2011-11-29 16:12:36 +09:00
netvsc_drv.c hv_netvsc: Implement set_channels ethtool op 2015-08-12 14:45:38 -07:00
netvsc.c hv_netvsc: Add structs and handlers for VF messages 2015-07-27 01:12:26 -07:00
rndis_filter.c hv_netvsc: Set vRSS with num_chn in RNDIS filter 2015-08-12 14:45:38 -07:00