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

2015-02-26 Thread Andrew Schwartzmeyer
r_device_add'. Now we can access the combined maximum channel count via 'struct netvsc_device' in the ethtool callback. Signed-off-by: Andrew Schwartzmeyer --- drivers/net/hyperv/hyperv_net.h | 1 + drivers/net/hyperv/netvsc_drv.c | 14 ++ drivers/net/hyperv/rndi

[PATCH] Implement Hyper-V netvsc_get_channels() ethool op

2015-02-26 Thread Andrew Schwartzmeyer
w we can access the combined maximum channel count via 'struct netvsc_device' in the ethtool callback. Signed-off-by: Andrew Schwartzmeyer --- drivers/net/hyperv/hyperv_net.h | 1 + drivers/net/hyperv/netvsc_drv.c | 14 ++ drivers/net/hyperv/rndis_filter.c | 5 - 3

[PATCH] Implement Hyper-V netvsc_get_channels() ethool op

2015-02-25 Thread Andrew Schwartzmeyer
This adds support for reporting the combined channels count of the hv_netvsc driver via 'ethtool --show-channels'. Signed-off-by: Andrew Schwartzmeyer --- drivers/net/hyperv/netvsc_drv.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/net/hyperv/ne