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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Andrew Schwartzmeyer [mailto:andrew@xxxxxxxxxxxxxxxxx]
> Sent: Thursday, February 26, 2015 7:27 PM
> To: Haiyang Zhang
> Cc: KY Srinivasan; devel@xxxxxxxxxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx;
> linux-kernel@xxxxxxxxxxxxxxx; hall5714@xxxxxxxxxxxxxxxxxx;
> keithd@xxxxxxxxxxxxxxxxxx; doma8101@xxxxxxxxxxxxxxxxxx;
> andrew@xxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxx>

Signed-off-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>

Thank you!

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux