lkml.org 
[lkml]   [2015]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH net-next] hyperv: Implement netvsc_get_channels() ethool op
Date


> -----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 <andrew@schwartzmeyer.com>

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>

Thank you!



\
 
 \ /
  Last update: 2015-02-27 17:21    [W:0.037 / U:36.824 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site