]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: re-organize vector handle
authorYonglong Liu <liuyonglong@huawei.com>
Sat, 4 Jan 2020 02:49:25 +0000 (10:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2020 21:26:25 +0000 (13:26 -0800)
commitdfa56f02bd46c0beb2778823a2a7b0ca200ed24f
tree3f8763e6419a3476a5067842a86f35f276a1fe04
parentc0dd838d426e1690cc7dbc2349fe0970948d04ff
net: hns3: re-organize vector handle

To prevent loss user's IRQ affinity configuration when DOWN,
this patch moves out release/request operation of the vector
handle from net DOWN/UP, just do it when vector resource changes.

Signed-off-by: Yonglong Liu <liuyonglong@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