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

From: Haiyang Zhang
Date: Fri Feb 27 2015 - 11:10:24 EST




> -----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!

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/