Skip to content

CNB: net: drop the weight argument from netif_napi_add

Íñigo Huguet requested to merge ihuguet-rh/kernel-cs9:napi-weight into main

Bugzilla: https://bugzilla.redhat.com/2139498
Tested: build, boot

Change netif_napi_add family function's API so netif_napi_add and netif_napi_add_tx uses by default weight = NAPI_POLL_WEIGHT (as most of drivers were already doing in some or another way), and add netif_napi_add_weight and netif_napi_add_tx_weight for drivers that want to specify a custom NAPI weight.

Signed-off-by: Íñigo Huguet ihuguet@redhat.com

Merge request reports