Re: [PATCH net-next 2/2] hv_netvsc: Implement set_channels ethtool op

From: David Miller
Date: Wed Aug 12 2015 - 17:46:04 EST


From: Andrew Schwartzmeyer <andschwa@xxxxxxxxxxxxx>
Date: Tue, 11 Aug 2015 17:14:32 -0700

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

Applied.
--
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/