RE: [PATCH net-next 2/2] hv_netvsc: Implement set_channels ethtool op
From: Haiyang Zhang
Date: Wed Aug 12 2015 - 15:05:55 EST
> -----Original Message-----
> From: Andy Schwartzmeyer
> Sent: Tuesday, August 11, 2015 8:15 PM
> To: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
> Cc: KY Srinivasan <kys@xxxxxxxxxxxxx>; Andy Schwartzmeyer
> <andschwa@xxxxxxxxxxxxx>; netdev@xxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx
> Subject: [PATCH net-next 2/2] hv_netvsc: Implement set_channels ethtool
> op
>
> This enables the use of ethtool --set-channels devname combined N to
> change the number of vRSS queues. Separate rx, tx, and other parameters
> are not supported. The maximum is rsscap.num_recv_que. It passes the
> given value to rndis_filter_device_add through the device_info->num_chn
> field.
>
> If the procedure fails, it attempts to recover to the prior state. If
> the recovery fails, it logs an error and aborts.
>
> Current num_chn is saved and restored when changing the MTU.
>
> Signed-off-by: Andrew Schwartzmeyer <andschwa@xxxxxxxxxxxxx>
Thank you!
Reviewed-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
--
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/