Thread (3 messages) 3 messages, 3 authors, 2015-02-28

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

From: Haiyang Zhang <haiyangz@microsoft.com>
Date: 2015-02-27 16:10:19
Also in: lkml

-----Original Message-----
From: Andrew Schwartzmeyer [mailto:andrew@schwartzmeyer.com]
Sent: Thursday, February 26, 2015 7:27 PM
To: Haiyang Zhang
Cc: KY Srinivasan; devel@linuxdriverproject.org; netdev@vger.kernel.org;
linux-kernel@vger.kernel.org; hall5714@vandals.uidaho.edu;
keithd@vandals.uidaho.edu; doma8101@vandals.uidaho.edu;
andrew@schwartzmeyer.com
Subject: [PATCH net-next] 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 <redacted>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>

Thank you!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help