yeah. but that approach will not work for some cases. some stupid drivers are using locking context in the napi poll function.i agree. i just can say that i tested this patch recently due thisBy CONFIG_THREADED_NAPI, there is no need to consider what you did here
discussion here. and it can be changed by sysfs. but it doesnt work for
wifi drivers which are mainly using dummy netdev devices. for this i
made a small patch to get them working using napi_set_threaded manually
hardcoded in the drivers. (see patch bellow)
in the napi core because device drivers know better and are responsible
for it before calling napi_schedule(n).