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

2020-09-16 Thread Ranjit Menon
On 9/16/2020 5:48 PM, Ranjit Menon wrote: Hi, Stephen On 9/15/2020 6:54 PM, Stephen Hemminger wrote: On Tue, 15 Sep 2020 16:28:03 -0700 Pallavi Kadam wrote: +    if (IsEqualGUID((const void *)&(device_info_data->ClassGuid), +    (const void *)&GUID_DEVCLASS_NETUIO)) Is there anyway to g

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

2020-09-16 Thread Ranjit Menon
Hi, Stephen On 9/15/2020 6:54 PM, Stephen Hemminger wrote: On Tue, 15 Sep 2020 16:28:03 -0700 Pallavi Kadam wrote: + if (IsEqualGUID((const void *)&(device_info_data->ClassGuid), + (const void *)&GUID_DEVCLASS_NETUIO)) Is there anyway to get rid of casts and have the righ

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

2020-09-15 Thread Stephen Hemminger
On Tue, 15 Sep 2020 16:28:03 -0700 Pallavi Kadam wrote: > + if (IsEqualGUID((const void *)&(device_info_data->ClassGuid), > + (const void *)&GUID_DEVCLASS_NETUIO)) Is there anyway to get rid of casts and have the right types? Casts are evil

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

2020-09-15 Thread Pallavi Kadam
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 copi