aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2019-05-24 19:19:45 +0800
committerDavid S. Miller <davem@davemloft.net>2019-05-26 13:24:56 -0700
commitffab9691bcb2fe2594f4c38bfceb4d9685b93b87 (patch)
tree47c67b81ce6ad3e27f14b19a05ee36f93c87f92c /drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
parentMerge branch 'ath79-add-ag71xx-support' (diff)
downloadlinux-dev-ffab9691bcb2fe2594f4c38bfceb4d9685b93b87.tar.xz
linux-dev-ffab9691bcb2fe2594f4c38bfceb4d9685b93b87.zip
net: hns3: initialize CPU reverse mapping
Allocate CPU rmap and add entry for each irq. CPU rmap is used in aRFS to get the queue number of the rx completion interrupts. In additional, remove the calling of irq_set_affinity_notifier() in hns3_nic_init_irq(), because we have registered notifier in irq_cpu_rmap_add() for each vector, otherwise it may cause use-after-free issue. Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h')
0 files changed, 0 insertions, 0 deletions