]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: change affinity_mask to numa node range
authorYufeng Mo <moyufeng@huawei.com>
Mon, 13 Sep 2021 13:08:22 +0000 (21:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Sep 2021 13:25:37 +0000 (14:25 +0100)
commitc7cf070a8eaefa4552ac9642e1596f03cc7e5e69
tree3b784509e964bb7ff2387bce36f158ea710fec6e
parent190f707e3cf309b40bf924dcf8621bd247a0ae69
net: hns3: change affinity_mask to numa node range

Currently, affinity_mask is set to a single cpu. As a result,
irqbalance becomes invalid in SUBSET or EXACT mode. To solve
this problem, change affinity_mask to numa node range. In this
way, irqbalance can be performed on the cpu of the numa node.

Fixes: 17a3885f225b ("net: hns3: add interrupt affinity support for misc interrupt")
Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c