windows/netuio: add Intel Virtual Function device IDs

Message ID 20210915005137.2186-1-pallavi.kadam@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series windows/netuio: add Intel Virtual Function device IDs |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/iol-testing warning apply patch failure
ci/Intel-compilation warning apply issues

Commit Message

Kadam, Pallavi Sept. 15, 2021, 12:51 a.m. UTC
Add Intel Ethernet Virtual Function device IDs to netuio inf file
to support Intel 40GbE and 100GbE deives on Windows VM.

Signed-off-by: Pallavi Kadam <pallavi.kadam@intel.com>
Reviewed-by: Ranjit Menon <ranjit.menon@intel.com>
---
 windows/netuio/netuio.inf | 12 ++++++++++++
 1 file changed, 12 insertions(+)
  

Comments

Dmitry Kozlyuk Sept. 15, 2021, 7:07 p.m. UTC | #1
2021-09-14 17:51 (UTC-0700), Pallavi Kadam:
> Add Intel Ethernet Virtual Function device IDs to netuio inf file
> to support Intel 40GbE and 100GbE deives on Windows VM.

Nit: why only VM? Can't VF be used from the host?

> 
> Signed-off-by: Pallavi Kadam <pallavi.kadam@intel.com>
> Reviewed-by: Ranjit Menon <ranjit.menon@intel.com>

Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
  
Menon, Ranjit Sept. 15, 2021, 8:46 p.m. UTC | #2
Hi, Dmitry

On 9/15/2021 12:07 PM, Dmitry Kozlyuk wrote:
> 2021-09-14 17:51 (UTC-0700), Pallavi Kadam:
>> Add Intel Ethernet Virtual Function device IDs to netuio inf file
>> to support Intel 40GbE and 100GbE deives on Windows VM.
> Nit: why only VM? Can't VF be used from the host?

I'm not an expert here, but I believe there is a limitation in Hyper-V 
(the Windows host hypervisor) where VFs cannot be assigned to the host - 
VFs can only be assigned to the guest VMs. (I believe there is no such 
limitation with Linux-based hypervisors). Hopefully, someone from 
Microsoft can confirm this.

Ref: 
https://docs.microsoft.com/en-us/windows-hardware/drivers/network/sr-iov-architecture


ranjit m.

>> Signed-off-by: Pallavi Kadam <pallavi.kadam@intel.com>
>> Reviewed-by: Ranjit Menon <ranjit.menon@intel.com>
> Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
  
Thomas Monjalon Sept. 30, 2021, 8:18 p.m. UTC | #3
15/09/2021 21:07, Dmitry Kozlyuk:
> 2021-09-14 17:51 (UTC-0700), Pallavi Kadam:
> > Add Intel Ethernet Virtual Function device IDs to netuio inf file
> > to support Intel 40GbE and 100GbE deives on Windows VM.
> 
> Nit: why only VM? Can't VF be used from the host?
> 
> > 
> > Signed-off-by: Pallavi Kadam <pallavi.kadam@intel.com>
> > Reviewed-by: Ranjit Menon <ranjit.menon@intel.com>
> 
> Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>

Applied, thanks.
  

Patch

diff --git a/windows/netuio/netuio.inf b/windows/netuio/netuio.inf
index d166868..816ff17 100644
--- a/windows/netuio/netuio.inf
+++ b/windows/netuio/netuio.inf
@@ -49,6 +49,12 @@  HKR,,Icon,,-5
 %Intel.F1599.Description%=netuio_Device, PCI\VEN_8086&DEV_1599
 %Intel.F159A.Description%=netuio_Device, PCI\VEN_8086&DEV_159A
 %Intel.F159B.Description%=netuio_Device, PCI\VEN_8086&DEV_159B
+%Intel.F154C.Description%=netuio_Device, PCI\VEN_8086&DEV_154C
+%Intel.F1571.Description%=netuio_Device, PCI\VEN_8086&DEV_1571
+%Intel.F1889.Description%=netuio_Device, PCI\VEN_8086&DEV_1889
+%Intel.F374D.Description%=netuio_Device, PCI\VEN_8086&DEV_374D
+%Intel.F37CD.Description%=netuio_Device, PCI\VEN_8086&DEV_37CD
+%Intel.F3759.Description%=netuio_Device, PCI\VEN_8086&DEV_3759
 %vmxnet3.Description%=netuio_Device, PCI\VEN_15AD&DEV_07B0
 
 [netuio_Device.NT]
@@ -114,6 +120,12 @@  Intel.F1593.Description = "Intel(R) Ethernet Controller E810-C for SFP"
 Intel.F1599.Description = "Intel(R) Ethernet Controller E810-XXV for backplane"
 Intel.F159A.Description = "Intel(R) Ethernet Controller E810-XXV for QSFP"
 Intel.F159B.Description = "Intel(R) Ethernet Controller E810-XXV for SFP"
+Intel.F154C.Description = "Intel(R) Ethernet Virtual Function 700 Series"
+Intel.F1571.Description = "Intel(R) Ethernet Virtual Function 700 Series"
+Intel.F1889.Description = "Intel(R) Ethernet Adaptive Virtual Function"
+Intel.F374D.Description = "Intel(R) X722 Virtual Function"
+Intel.F37CD.Description = "Intel(R) Ethernet Virtual Function 700 Series"
+Intel.F3759.Description = "Intel(R) X722 Virtual Function"
 vmxnet3.Description = "VMWare Paravirtualized Ethernet v3"
 netuio.SVCDESC = "netuio Service"