diff options
author | Andrew Schwartzmeyer <andrew@schwartzmeyer.com> | 2015-02-27 03:27:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-01 00:51:36 +0300 |
commit | 59995370dbca7636c105ddadc0447fab86ad3887 (patch) | |
tree | 99f9469b129665f94333926f397f4288bf1aacbf /net/ipv6/tcpv6_offload.c | |
parent | f9c7ce18538ed9c099818a9335d7e427d60e97ae (diff) | |
download | linux-59995370dbca7636c105ddadc0447fab86ad3887.tar.xz |
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>
Diffstat (limited to 'net/ipv6/tcpv6_offload.c')
0 files changed, 0 insertions, 0 deletions