[PATCH net-next] hyperv: Implement netvsc_get_channels() ethool op

David Miller davem at davemloft.net
Sat Feb 28 21:52:00 UTC 2015


From: Andrew Schwartzmeyer <andrew at schwartzmeyer.com>
Date: Thu, 26 Feb 2015 16:27:14 -0800

> 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 at schwartzmeyer.com>

Applied, thanks.


More information about the devel mailing list