]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: Fix the implementation of irq affinity function
authorlipeng <lipeng321@huawei.com>
Sat, 1 Apr 2017 11:03:31 +0000 (12:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Apr 2017 21:48:43 +0000 (14:48 -0700)
commitbb87c35120c51f1c2683e21336ef9017c9f246c5
treea82b4a28ce2865d507291e23b66faa95db763fdf
parent96089faab068dd423d1f9cafafa13e89e0d17c64
net: hns: Fix the implementation of irq affinity function

This patch fixes the implementation of the IRQ affinity
function. This function is used to create the cpu mask
which eventually is used to initialize the cpu<->queue
association for XPS(Transmit Packet Steering).

Signed-off-by: lipeng <lipeng321@huawei.com>
Signed-off-by: Kejian Yan <yankejian@huawei.com>
Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_enet.c
drivers/net/ethernet/hisilicon/hns/hns_enet.h