]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: hns3: Add default irq affinity
authorPeng Li <lipeng321@huawei.com>
Wed, 19 Sep 2018 17:29:47 +0000 (18:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Sep 2018 04:20:22 +0000 (21:20 -0700)
commit874bff0ba6cf884dde0220bfa8945f164e6da1d1
treea1127dbd25e1b86d1391881026d7931b5505f818
parent0e0cc31f6999df18bb5cfd0bd83c892ed5633975
net: hns3: Add default irq affinity

All irq will float to cpu0 if do not set irq affinity.
This patch adds default irq affinity in hns3 driver, users can
also change the irq affinity in OS.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h