* [PATCH 12/15] amd-xgbe: use PCI_IRQ_MSI_TYPES where appropriate
@ 2020-06-02 9:21 Piotr Stankiewicz
2020-06-02 22:27 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Piotr Stankiewicz @ 2020-06-02 9:21 UTC (permalink / raw)
To: Tom Lendacky, David S . Miller, Jakub Kicinski
Cc: netdev, linux-kernel, Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type
of interrupt, or any type of message signalled interrupt, leverage it.
Signed-off-by: Piotr Stankiewicz <piotr.stankiewicz@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
---
drivers/net/ethernet/amd/xgbe/xgbe-pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/amd/xgbe/xgbe-pci.c b/drivers/net/ethernet/amd/xgbe/xgbe-pci.c
index 7b86240ecd5f..903bc5ef2518 100644
--- a/drivers/net/ethernet/amd/xgbe/xgbe-pci.c
+++ b/drivers/net/ethernet/amd/xgbe/xgbe-pci.c
@@ -133,7 +133,7 @@ static int xgbe_config_multi_msi(struct xgbe_prv_data *pdata)
pdata->tx_ring_count);
ret = pci_alloc_irq_vectors(pdata->pcidev, XGBE_MSI_MIN_COUNT,
- vector_count, PCI_IRQ_MSI | PCI_IRQ_MSIX);
+ vector_count, PCI_IRQ_MSI_TYPES);
if (ret < 0) {
dev_info(pdata->dev, "multi MSI/MSI-X enablement failed\n");
return ret;
--
2.17.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 12/15] amd-xgbe: use PCI_IRQ_MSI_TYPES where appropriate
2020-06-02 9:21 [PATCH 12/15] amd-xgbe: use PCI_IRQ_MSI_TYPES where appropriate Piotr Stankiewicz
@ 2020-06-02 22:27 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2020-06-02 22:27 UTC (permalink / raw)
To: piotr.stankiewicz; +Cc: thomas.lendacky, kuba, netdev, linux-kernel
From: Piotr Stankiewicz <piotr.stankiewicz@intel.com>
Date: Tue, 2 Jun 2020 11:21:05 +0200
> Seeing as there is shorthand available to use when asking for any type
> of interrupt, or any type of message signalled interrupt, leverage it.
>
> Signed-off-by: Piotr Stankiewicz <piotr.stankiewicz@intel.com>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-02 22:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-02 9:21 [PATCH 12/15] amd-xgbe: use PCI_IRQ_MSI_TYPES where appropriate Piotr Stankiewicz
2020-06-02 22:27 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®