]> git.baikalelectronics.ru Git - kernel.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)
commit3ffa63e2c9f3ad4b3be297fc33a8b2c7ce5e8abd
treea1127dbd25e1b86d1391881026d7931b5505f818
parent517d427b0dfa4c1ddfd6178fa5f94402b3985c80
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