net: hns3: add xps setting support for hns3 driver
authorYunsheng Lin <linyunsheng@huawei.com>
Sat, 23 Feb 2019 09:22:08 +0000 (17:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 04:27:49 +0000 (20:27 -0800)
commit2a73ac3e6c9d7cd80af731bcb699c180d95c8166
treea726266e138aff4a18ecae02935c6b89a03dbaa9
parent834f9b057df49b868c1623a193221c1048c4d401
net: hns3: add xps setting support for hns3 driver

This patch adds xps setting support for hns3 driver based on
the interrupt affinity info.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c