[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240626035132-mutt-send-email-mst@kernel.org>
Date: Wed, 26 Jun 2024 03:52:23 -0400
From: "Michael S. Tsirkin" <mst@...hat.com>
To: Jason Wang <jasowang@...hat.com>
Cc: xuanzhuo@...ux.alibaba.com, eperezma@...hat.com, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
virtualization@...ts.linux.dev, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, venkat.x.venkatsubra@...cle.com,
gia-khanh.nguyen@...cle.com
Subject: Re: [PATCH V2 3/3] virtio-net: synchronize operstate with admin
state on up/down
On Wed, Jun 26, 2024 at 09:58:32AM +0800, Jason Wang wrote:
> On Tue, Jun 25, 2024 at 4:32 PM Michael S. Tsirkin <mst@...hat.com> wrote:
> >
> > On Tue, Jun 25, 2024 at 04:11:05PM +0800, Jason Wang wrote:
> > > On Tue, Jun 25, 2024 at 3:57 PM Michael S. Tsirkin <mst@...hat.com> wrote:
> > > >
> > > > On Tue, Jun 25, 2024 at 03:46:44PM +0800, Jason Wang wrote:
> > > > > Workqueue is used to serialize those so we won't lose any change.
> > > >
> > > > So we don't need to re-read then?
> > > >
> > >
> > > We might have to re-read but I don't get why it is a problem for us.
> > >
> > > Thanks
> >
> > I don't think each ethtool command should force a full config read,
> > is what I mean. Only do it if really needed.
>
> We don't, as we will check config_pending there.
>
> Thanks
And config_pending set from an interrupt? That's fine.
But it's not what this patch does, right?
> >
> > --
> > MST
> >
Powered by blists - more mailing lists