Skip to content
Commit 10aa7cd3 authored by Yang Yang's avatar Yang Yang Committed by Leon Romanovsky
Browse files

IB/hfi1: Switch to netif_napi_add()



There is no need to use netif_napi_add_weight() when the weight argument
is 64. See "net: drop the weight argument from netif_napi_add".

Signed-off-by: default avatarYang Yang <yang.yang29@zte.com.cn>
Link: https://lore.kernel.org/r/202211301744378304494@zte.com.cn


Reviewed-by: default avatarxu xin <xu.xin16@zte.com.cn>
Reviewed-by: default avatarZhang Yunkai <zhang.yunkai@zte.com.cn>
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent fc8f93ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment