Re: [PATCH] wifi: rtw88: reduce failed to flush queue severity

From: Kalle Valo
Date: Mon Apr 15 2024 - 12:17:12 EST


Ping-Ke Shih <pkshih@xxxxxxxxxxx> writes:

> Lewis Robbins <lewis.robbins2@xxxxxxxxx> wrote:
>>
>> Reduce the log message severity when we fail to flush device priority
>> queue. If a system has a lot of traffic, we may fail to flush the queue
>> in time. This generates a lot of messages in the kernel ring buffer. As
>> this is a common occurrence, we should use dev_info instead of dev_warn.
>>
>> Signed-off-by: Lewis Robbins <lewis.robbins2@xxxxxxxxx>
>
> Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>
>
> I'd like to know situations of " If a system has a lot of traffic...".
> Did you scan or do something during traffic?

The driver shouldn't print any warnings in normal usage, even using info
level. If this is expected scenario then maybe change it to debug print?
Or if is this an actual bug then it's better try to investigate and fix
it.

--
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches