[dpdk-dev] [PATCH v7] bus/pci: netuio interface for windows

Thomas Monjalon thomas at monjalon.net
Wed Oct 14 22:27:50 CEST 2020


09/10/2020 04:12, Narcisa Ana Maria Vasile:
> On Thu, Oct 08, 2020 at 11:56:45AM -0700, Pallavi Kadam wrote:
> > This patch adds implementations to probe PCI devices bound to netuio
> > with the help of "netuio" class device changes.
> > Now Windows will support both "netuio" and "net" device class and
> > can set kernel driver type based on the device class selection.
> > 
> > Note: Few definitions and structures have been copied from
> > netuio_interface.h file from
> > ("[v5] windows/netuio: add Windows NetUIO kernel driver") series
> > and this will be fixed once the exact path for netuio source code is known.
> > 
> > v7 changes:
> > 	Removed device property key from pci_netuio.c as Numa detection
> > 	is done only in pci.c file
> > v6 changes:
> > 	- Split up the get_netuio_device_info() function into smaller
> > 	  functions
> > 	- Moved get numa node id code to get_device_resource_info() in
> > 	  order to work on both RTE_PCI_KDRV_NONE and RTE_PCI_KDRV_NIC_UIO
> > v5 changes:
> > 	Changed when netuio driver handle is closed
> > v4 changes:
> > 	Removed 'reserved' member as it is not used
> > v3 changes:
> > 	Removed the casts
> > v2 changes:
> > 	- Moved all netuio specific definitions and functions to
> > 	  pci_netuio.c and pci_netuio.h files
> > 	- Added a single function call to scan all the devices
> > 
> > Signed-off-by: John Alexander <John.Alexander at datapath.co.uk>
> > Signed-off-by: Pallavi Kadam <pallavi.kadam at intel.com>
> > Reviewed-by: Ranjit Menon <ranjit.menon at intel.com>
> 
> Reviewed-by: Narcisa Vasile <navasile at linux.microsoft.com>
> Acked-by: Narcisa Vasile <navasile at linux.microsoft.com>

Applied, thanks




More information about the dev mailing list