[EXTERNAL] Re: [PATCH] net/netvsc: add support for mtu_set
Stephen Hemminger
stephen at networkplumber.org
Tue Oct 10 17:55:04 CEST 2023
On Mon, 9 Oct 2023 16:41:38 +0000
Sam Andrew <samandrew at microsoft.com> wrote:
> > It looks like this proposed patch does not have the accelerated networking
> > virtual device case. The driver needs to first update the MTU of the underlying
> > VF device (and handle errors), then reinit the vmbus device.
>
> The following line should handle the AN virtual device case:
>
> + /* Change MTU of underlying VF dev first, if it exists */
> + ret = hn_vf_mtu_set(dev, mtu);
> + if (ret)
> + return ret;
>
> This is the new method added in hn_vf.c:
Yes, that should cover it.
More information about the dev
mailing list