OSDN Git Service

net: hns3: Updates MSI/MSI-X alloc/free APIs(depricated) to new APIs
authorSalil Mehta <salil.mehta@huawei.com>
Mon, 13 Nov 2017 11:39:38 +0000 (11:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Nov 2017 12:46:00 +0000 (21:46 +0900)
commit887c3820a3801a117a494aeca147ec52f95e1566
tree9cb6996a66916f0727d6ba8c0bfb52190c2a2e32
parent97438abcfb80656d4aedaca21b8ff8db4fcc93a1
net: hns3: Updates MSI/MSI-X alloc/free APIs(depricated) to new APIs

This patch migrates the HNS3 driver code from use of depricated PCI
MSI/MSI-X interrupt vector allocation/free APIs to new common APIs.

Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h