[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250815022308.2783786-1-junnan01.wu@samsung.com>
Date: Fri, 15 Aug 2025 10:23:08 +0800
From: Junnan Wu <junnan01.wu@...sung.com>
To: jasowang@...hat.com
Cc: andrew+netdev@...n.ch, davem@...emloft.net, edumazet@...gle.com,
eperezma@...hat.com, junnan01.wu@...sung.com, kuba@...nel.org,
lei19.wang@...sung.com, linux-kernel@...r.kernel.org, mst@...hat.com,
netdev@...r.kernel.org, pabeni@...hat.com, q1.huang@...sung.com,
virtualization@...ts.linux.dev, xuanzhuo@...ux.alibaba.com,
ying123.xu@...sung.com
Subject: Re: [PATCH net] virtio_net: adjust the execution order of function
`virtnet_close` during freeze
Sorry, I basically mean that the tx napi which caused by userspace will not be scheduled during suspend,
others can not be guaranteed, such as unfinished packets already in tx vq etc.
But after this patch, once `virtnet_close` completes,
both tx and rq napi will be disabled which guarantee their napi will not be scheduled in future.
And the tx state will be set to "__QUEUE_STATE_DRV_XOFF" correctly in `netif_device_detach`.
Thanks.
Powered by blists - more mailing lists