Re: [PATCH net] net: wangxun: use net_prefetch to simplify logic

From: Paolo Abeni
Date: Tue Jul 23 2024 - 07:05:46 EST




On 7/23/24 09:26, Simon Horman wrote:
On Mon, Jul 22, 2024 at 07:08:13PM +0000, Joe Damato wrote:
Use net_prefetch to remove #ifdef and simplify prefetch logic. This
follows the pattern introduced in a previous commit f468f21b7af0 ("net:
Take common prefetch code structure into a function"), which replaced
the same logic in all existing drivers at that time.

Fixes: 3c47e8ae113a ("net: libwx: Support to receive packets in NAPI")
Signed-off-by: Joe Damato <jdamato@xxxxxxxxxx>

Hi Joe,

I would lean more towards this being a clean-up than a fix
(for net-next when it reopens, without a Fixes tag).

Same feeling here, please repost for net-next after the merge window.

Thanks!

Paolo