> -----Original Message----- > From: Andrew Schwartzmeyer [mailto:and...@schwartzmeyer.com] > Sent: Thursday, February 26, 2015 7:27 PM > To: Haiyang Zhang > Cc: KY Srinivasan; de...@linuxdriverproject.org; net...@vger.kernel.org; > linux-kernel@vger.kernel.org; hall5...@vandals.uidaho.edu; > kei...@vandals.uidaho.edu; doma8...@vandals.uidaho.edu; > and...@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 <and...@schwartzmeyer.com>
Signed-off-by: Haiyang Zhang <haiya...@microsoft.com> Thank you! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/