OpenCloudOS-Kernel/drivers/net/hyperv
Andrew Schwartzmeyer 59995370db hyperv: Implement netvsc_get_channels() ethool op
This adds support for reporting the actual and maximum combined channels
count of the hv_netvsc driver via 'ethtool --show-channels'.

This required adding 'max_chn' to 'struct netvsc_device', and assigning
it 'rsscap.num_recv_que' in 'rndis_filter_device_add'. Now we can access
the combined maximum channel count via 'struct netvsc_device' in the
ethtool callback.

Signed-off-by: Andrew Schwartzmeyer <andrew@schwartzmeyer.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-02-28 16:51:36 -05: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
hyperv_net.h hyperv: Implement netvsc_get_channels() ethool op 2015-02-28 16:51:36 -05:00
netvsc.c hyperv: fix sparse warnings 2015-02-05 16:03:27 -08:00
netvsc_drv.c hyperv: Implement netvsc_get_channels() ethool op 2015-02-28 16:51:36 -05:00
rndis_filter.c hyperv: Implement netvsc_get_channels() ethool op 2015-02-28 16:51:36 -05:00