Re: [PATCH 1/2] virtio-net: fix possible dim status unrecoverable

2024-03-25 Thread Jason Wang
On Mon, Mar 25, 2024 at 10:11 AM Heng Qi wrote: > > > > 在 2024/3/22 下午1:17, Jason Wang 写道: > > On Thu, Mar 21, 2024 at 7:46 PM Heng Qi wrote: > >> When the dim worker is scheduled, if it fails to acquire the lock, > >> dim may not be able to return to the working state later. > >> > >> For exampl

Re: [PATCH 1/2] virtio-net: fix possible dim status unrecoverable

2024-03-25 Thread Jason Wang
On Mon, Mar 25, 2024 at 2:58 PM Heng Qi wrote: > > > > 在 2024/3/25 下午2:29, Jason Wang 写道: > > On Mon, Mar 25, 2024 at 10:11 AM Heng Qi wrote: > >> > >> > >> 在 2024/3/22 下午1:17, Jason Wang 写道: > >>> On Thu, Mar 21, 2024 at 7:46 PM Heng Qi wrote: > When the dim worker is scheduled, if it fail

Re: [PATCH 1/2] virtio-net: fix possible dim status unrecoverable

2024-03-25 Thread Heng Qi
在 2024/3/25 下午2:29, Jason Wang 写道: On Mon, Mar 25, 2024 at 10:11 AM Heng Qi wrote: 在 2024/3/22 下午1:17, Jason Wang 写道: On Thu, Mar 21, 2024 at 7:46 PM Heng Qi wrote: When the dim worker is scheduled, if it fails to acquire the lock, dim may not be able to return to the working state late

Re: [PATCH 1/2] virtio-net: fix possible dim status unrecoverable

2024-03-25 Thread Heng Qi
在 2024/3/22 下午1:17, Jason Wang 写道: On Thu, Mar 21, 2024 at 7:46 PM Heng Qi wrote: When the dim worker is scheduled, if it fails to acquire the lock, dim may not be able to return to the working state later. For example, the following single queue scenario: 1. The dim worker of rxq0 is sc

Re: [PATCH 1/2] virtio-net: fix possible dim status unrecoverable

2024-03-21 Thread Jason Wang
On Thu, Mar 21, 2024 at 7:46 PM Heng Qi wrote: > > When the dim worker is scheduled, if it fails to acquire the lock, > dim may not be able to return to the working state later. > > For example, the following single queue scenario: > 1. The dim worker of rxq0 is scheduled, and the dim status is

[PATCH 1/2] virtio-net: fix possible dim status unrecoverable

2024-03-21 Thread Heng Qi
When the dim worker is scheduled, if it fails to acquire the lock, dim may not be able to return to the working state later. For example, the following single queue scenario: 1. The dim worker of rxq0 is scheduled, and the dim status is changed to DIM_APPLY_NEW_PROFILE; 2. The ethtool com