* [PATCH] vmxnet3: Move PCI Id to pci_ids.h
@ 2016-08-05 18:00 Adit Ranadive
2016-08-05 18:23 ` Bjorn Helgaas
0 siblings, 1 reply; 3+ messages in thread
From: Adit Ranadive @ 2016-08-05 18:00 UTC (permalink / raw)
To: skhare, bhelgaas, pv-drivers, linux-pci, netdev, linux-kernel
Cc: Adit Ranadive, leon
The VMXNet3 PCI Id will be shared with our upcoming paravirtual RDMA
driver. Moved it to the shared location in pci_ids.h and updated the
driver version.
Suggested-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Adit Ranadive <aditr@vmware.com>
---
drivers/net/vmxnet3/vmxnet3_int.h | 7 +++----
include/linux/pci_ids.h | 1 +
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/vmxnet3/vmxnet3_int.h b/drivers/net/vmxnet3/vmxnet3_int.h
index 74fc030..be5991e 100644
--- a/drivers/net/vmxnet3/vmxnet3_int.h
+++ b/drivers/net/vmxnet3/vmxnet3_int.h
@@ -69,10 +69,10 @@
/*
* Version numbers
*/
-#define VMXNET3_DRIVER_VERSION_STRING "1.4.9.0-k"
+#define VMXNET3_DRIVER_VERSION_STRING "1.4.10.0-k"
/* a 32-bit int, each byte encode a verion number in VMXNET3_DRIVER_VERSION */
-#define VMXNET3_DRIVER_VERSION_NUM 0x01040900
+#define VMXNET3_DRIVER_VERSION_NUM 0x01040A00
#if defined(CONFIG_PCI_MSI)
/* RSS only makes sense if MSI-X is supported. */
@@ -119,9 +119,8 @@ enum {
};
/*
- * PCI vendor and device IDs.
+ * Maximum devices supported.
*/
-#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0
#define MAX_ETHERNET_CARDS 10
#define MAX_PCI_PASSTHRU_DEVICE 6
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index c58752f..98bb455 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -2251,6 +2251,7 @@
#define PCI_DEVICE_ID_RASTEL_2PORT 0x2000
#define PCI_VENDOR_ID_VMWARE 0x15ad
+#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
#define PCI_VENDOR_ID_ZOLTRIX 0x15b0
#define PCI_DEVICE_ID_ZOLTRIX_2BD0 0x2bd0
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] vmxnet3: Move PCI Id to pci_ids.h
2016-08-05 18:00 [PATCH] vmxnet3: Move PCI Id to pci_ids.h Adit Ranadive
@ 2016-08-05 18:23 ` Bjorn Helgaas
2016-08-05 21:22 ` Adit Ranadive
0 siblings, 1 reply; 3+ messages in thread
From: Bjorn Helgaas @ 2016-08-05 18:23 UTC (permalink / raw)
To: Adit Ranadive
Cc: skhare, bhelgaas, pv-drivers, linux-pci, netdev, linux-kernel,
leon
On Fri, Aug 05, 2016 at 11:00:39AM -0700, Adit Ranadive wrote:
> The VMXNet3 PCI Id will be shared with our upcoming paravirtual RDMA
> driver. Moved it to the shared location in pci_ids.h and updated the
> driver version.
>
> Suggested-by: Leon Romanovsky <leon@kernel.org>
> Signed-off-by: Adit Ranadive <aditr@vmware.com>
Please include this in the series that adds your paravirtual RDMA
driver. Please do not change the driver version information in this
patch, because that change is unrelated to moving the PCI ID.
> ---
> drivers/net/vmxnet3/vmxnet3_int.h | 7 +++----
> include/linux/pci_ids.h | 1 +
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/net/vmxnet3/vmxnet3_int.h b/drivers/net/vmxnet3/vmxnet3_int.h
> index 74fc030..be5991e 100644
> --- a/drivers/net/vmxnet3/vmxnet3_int.h
> +++ b/drivers/net/vmxnet3/vmxnet3_int.h
> @@ -69,10 +69,10 @@
> /*
> * Version numbers
> */
> -#define VMXNET3_DRIVER_VERSION_STRING "1.4.9.0-k"
> +#define VMXNET3_DRIVER_VERSION_STRING "1.4.10.0-k"
>
> /* a 32-bit int, each byte encode a verion number in VMXNET3_DRIVER_VERSION */
> -#define VMXNET3_DRIVER_VERSION_NUM 0x01040900
> +#define VMXNET3_DRIVER_VERSION_NUM 0x01040A00
>
> #if defined(CONFIG_PCI_MSI)
> /* RSS only makes sense if MSI-X is supported. */
> @@ -119,9 +119,8 @@ enum {
> };
>
> /*
> - * PCI vendor and device IDs.
> + * Maximum devices supported.
> */
> -#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0
> #define MAX_ETHERNET_CARDS 10
> #define MAX_PCI_PASSTHRU_DEVICE 6
>
> diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
> index c58752f..98bb455 100644
> --- a/include/linux/pci_ids.h
> +++ b/include/linux/pci_ids.h
> @@ -2251,6 +2251,7 @@
> #define PCI_DEVICE_ID_RASTEL_2PORT 0x2000
>
> #define PCI_VENDOR_ID_VMWARE 0x15ad
> +#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
>
> #define PCI_VENDOR_ID_ZOLTRIX 0x15b0
> #define PCI_DEVICE_ID_ZOLTRIX_2BD0 0x2bd0
> --
> 2.7.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread* RE: [PATCH] vmxnet3: Move PCI Id to pci_ids.h
2016-08-05 18:23 ` Bjorn Helgaas
@ 2016-08-05 21:22 ` Adit Ranadive
0 siblings, 0 replies; 3+ messages in thread
From: Adit Ranadive @ 2016-08-05 21:22 UTC (permalink / raw)
To: Bjorn Helgaas
Cc: Shrikrishna Khare, bhelgaas@google.com, pv-drivers,
linux-pci@vger.kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, leon@kernel.org
On Fri, Aug 05, 2016 11:23:41AM -0700, Bjorn Helgaas <helgaas@kernel.org> w=
rote:
> On Fri, Aug 05, 2016 at 11:00:39AM -0700, Adit Ranadive wrote:
> > The VMXNet3 PCI Id will be shared with our upcoming paravirtual RDMA
> > driver. Moved it to the shared location in pci_ids.h and updated the
> > driver version.
> >
> > Suggested-by: Leon Romanovsky <leon@kernel.org>
> > Signed-off-by: Adit Ranadive <aditr@vmware.com>
>=20
> Please include this in the series that adds your paravirtual RDMA
> driver. Please do not change the driver version information in this
> patch, because that change is unrelated to moving the PCI ID.
Ok, I will. Please drop this patch then.
Thanks,
Adit
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-08-05 21:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-05 18:00 [PATCH] vmxnet3: Move PCI Id to pci_ids.h Adit Ranadive
2016-08-05 18:23 ` Bjorn Helgaas
2016-08-05 21:22 ` Adit Ranadive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).