From: Stephen Hemminger <stephen@networkplumber.org>
To: Sam Andrew <samandrew@microsoft.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, Long Li <longli@microsoft.com>
Subject: Re: [EXTERNAL] Re: [PATCH] net/netvsc: add support for mtu_set
Date: Tue, 10 Oct 2023 08:55:04 -0700 [thread overview]
Message-ID: <20231010085504.138f2352@hermes.local> (raw)
In-Reply-To: <MN0PR21MB31202578B9F2F32D78D14065B5CEA@MN0PR21MB3120.namprd21.prod.outlook.com>
On Mon, 9 Oct 2023 16:41:38 +0000
Sam Andrew <samandrew@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.
next prev parent reply other threads:[~2023-10-10 15:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-05 23:17 Sam Andrew
2023-10-06 20:09 ` [PATCH v2] " Sam Andrew
2023-10-06 20:17 ` Stephen Hemminger
2023-10-06 20:22 ` Stephen Hemminger
2023-10-10 15:55 ` Stephen Hemminger
2023-10-10 18:41 ` [PATCH v3] " Sam Andrew
2023-10-10 19:08 ` Long Li
2023-10-11 11:03 ` Ferruh Yigit
2023-10-09 15:17 ` [PATCH] " Stephen Hemminger
2023-10-09 16:41 ` [EXTERNAL] " Sam Andrew
2023-10-10 15:55 ` Stephen Hemminger [this message]
2023-10-31 2:16 ` Rahul Gupta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231010085504.138f2352@hermes.local \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
--cc=longli@microsoft.com \
--cc=samandrew@microsoft.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).