]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: modify the IRQ name of TQP vector
authorYonglong Liu <liuyonglong@huawei.com>
Sat, 4 Jan 2020 02:49:26 +0000 (10:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2020 21:26:25 +0000 (13:26 -0800)
commit77d78a8d9624fcc65e81db23e541dbd016f9b22f
tree0b5b8564a52a0ddf32113f71a73f602aa50f361b
parentdfa56f02bd46c0beb2778823a2a7b0ca200ed24f
net: hns3: modify the IRQ name of TQP vector

When rename the net devices, the IRQ number can not be
fetched by the net device name, because the driver request
the IRQ resources only when the vector resource changed, and
the rename operation did not change the vector resources,
so the IRQ name keeps the previous net device name.
So this patch modifies the name of the TQP IRQ as
"pci driver name"-"pci name"-"TxRx"-"index".

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