Re: [PATCH net-next] hyperv: Implement netvsc_get_channels() ethool op
From: David Miller <davem@davemloft.net>
Date: 2015-02-28 21:52:07
Also in:
lkml
From: David Miller <davem@davemloft.net>
Date: 2015-02-28 21:52:07
Also in:
lkml
From: Andrew Schwartzmeyer <redacted> 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 <redacted>
Applied, thanks.