diff options
author | Luo bin <luobin9@huawei.com> | 2020-09-18 12:23:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-19 00:34:24 +0300 |
commit | a9fd686a71e97f7be3e3e640957a3228cb1fd1d7 (patch) | |
tree | 0cf50f7053639a3f8d0ca51d5163dd3d5181f8f6 /drivers/net/ethernet/huawei/hinic/hinic_rx.c | |
parent | f313edfe085bb9a16c96208dd6db8218c081dfaf (diff) | |
download | linux-a9fd686a71e97f7be3e3e640957a3228cb1fd1d7.tar.xz |
hinic: modify irq name
Make a distinction between different irqs by netdev name or pci name.
Signed-off-by: Luo bin <luobin9@huawei.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/huawei/hinic/hinic_rx.c')
-rw-r--r-- | drivers/net/ethernet/huawei/hinic/hinic_rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_rx.c b/drivers/net/ethernet/huawei/hinic/hinic_rx.c index 5bee951fe9d4..f403a6711e97 100644 --- a/drivers/net/ethernet/huawei/hinic/hinic_rx.c +++ b/drivers/net/ethernet/huawei/hinic/hinic_rx.c @@ -588,7 +588,7 @@ int hinic_init_rxq(struct hinic_rxq *rxq, struct hinic_rq *rq, rxq_stats_init(rxq); rxq->irq_name = devm_kasprintf(&netdev->dev, GFP_KERNEL, - "hinic_rxq%d", qp->q_id); + "%s_rxq%d", netdev->name, qp->q_id); if (!rxq->irq_name) return -ENOMEM; |