diff mbox series

[for-rc] RDMA/efa: Add EFA 0xefa2 PCI ID

Message ID 20221020151949.1768-1-mrgolin@amazon.com (mailing list archive)
State Accepted
Headers show
Series [for-rc] RDMA/efa: Add EFA 0xefa2 PCI ID | expand

Commit Message

Michael Margolin Oct. 20, 2022, 3:19 p.m. UTC
Add support for 0xefa2 devices.

Reviewed-by: Firas Jahjah <firasj@amazon.com>
Reviewed-by: Yossi Leybovich <sleybo@amazon.com>
Signed-off-by: Michael Margolin <mrgolin@amazon.com>
---
 drivers/infiniband/hw/efa/efa_main.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Leon Romanovsky Oct. 24, 2022, 11:12 a.m. UTC | #1
On Thu, 20 Oct 2022 18:19:49 +0300, Michael Margolin wrote:
> Add support for 0xefa2 devices.
> 
> 

Applied, thanks!

[1/1] RDMA/efa: Add EFA 0xefa2 PCI ID
      https://git.kernel.org/rdma/rdma/c/c1e42790338020

Best regards,
diff mbox series

Patch

diff --git a/drivers/infiniband/hw/efa/efa_main.c b/drivers/infiniband/hw/efa/efa_main.c
index 94b94cca4870..15ee92081118 100644
--- a/drivers/infiniband/hw/efa/efa_main.c
+++ b/drivers/infiniband/hw/efa/efa_main.c
@@ -1,6 +1,6 @@ 
 // SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
 /*
- * Copyright 2018-2021 Amazon.com, Inc. or its affiliates. All rights reserved.
+ * Copyright 2018-2022 Amazon.com, Inc. or its affiliates. All rights reserved.
  */
 
 #include <linux/module.h>
@@ -14,10 +14,12 @@ 
 
 #define PCI_DEV_ID_EFA0_VF 0xefa0
 #define PCI_DEV_ID_EFA1_VF 0xefa1
+#define PCI_DEV_ID_EFA2_VF 0xefa2
 
 static const struct pci_device_id efa_pci_tbl[] = {
 	{ PCI_VDEVICE(AMAZON, PCI_DEV_ID_EFA0_VF) },
 	{ PCI_VDEVICE(AMAZON, PCI_DEV_ID_EFA1_VF) },
+	{ PCI_VDEVICE(AMAZON, PCI_DEV_ID_EFA2_VF) },
 	{ }
 };