From: Andrew Schwartzmeyer Date: Fri, 27 Feb 2015 00:27:14 +0000 (-0800) Subject: hyperv: Implement netvsc_get_channels() ethool op X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~386 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59995370dbca7636c105ddadc0447fab86ad3887;p=pandora-kernel.git 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 Signed-off-by: Haiyang Zhang Signed-off-by: David S. Miller --- Reading git-diff-tree failed