Thread (9 messages) 9 messages, 4 authors, 2023-08-14

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

From: Hayes Wang <hidden>
Date: 2023-08-07 09:59:06
Also in: linux-usb, lkml

Limonciello, Mario [off-list ref]
Sent: Tuesday, August 1, 2023 2:24 AM
[...]
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help