RE: Error 'netif_napi_add_weight() called with weight 256'

From: Hayes Wang
Date: Mon Aug 07 2023 - 05:59:06 EST


Limonciello, Mario <mario.limonciello@xxxxxxx>
> Sent: Tuesday, August 1, 2023 2:24 AM
[...]
>
> > The custom weight is probably due to a misunderstanding. We have 200G
> > adapters using the standard weight of 64, IDK why 2.5G adapter would
> > need anything special.
>
> Perhaps Hayes Wang can comment on this (as the author of 195aae321c82).

I test our devices on an Embedded system.
We find the throughput is low.
And it is caused by the weight.
Our NAPI function often uses the whole budget.
Finally, we increase the weight, and the throughput is good.

Best Regards,
Hayes