src/dpdk/drivers/bus/vmbus/vmbus_common.c
static bool
vmbus_match(const struct rte_vmbus_driver *dr,
	    const struct rte_vmbus_device *dev)
{
	const rte_uuid_t *id_table;

	for (id_table = dr->id_table; !rte_uuid_is_null(*id_table); ++id_table) {
		if (rte_uuid_compare(*id_table, dev->class_id) == 0)
			return true;
	}

	return false;
}
/**
 * Match the VMBUS driver and device using UUID table
 *
 * @param drv
 *	VMBUS driver from which ID table would be extracted
 * @param pci_dev
 *	VMBUS device to match against the driver
 * @return
 *	true for successful match
 *	false for unsuccessful match
 */
Match the VMBUS driver and device using UUID table
@param drv
VMBUS driver from which ID table would be extracted
@param pci_dev
VMBUS device to match against the driver
@return
true for successful match
false for unsuccessful match
Match the VMBUS driver and device using UUID table @param drv VMBUS driver from which ID table would be extracted @param pci_dev VMBUS device to match against the driver @return true for successful match false for unsuccessful match
static bool
vmbus_match(const struct rte_vmbus_driver *dr,
	    const struct rte_vmbus_device *dev)
{
	const rte_uuid_t *id_table;
	for (id_table = dr->id_table; !rte_uuid_is_null(*id_table); ++id_table) {
		if (rte_uuid_compare(*id_table, dev->class_id) == 0)
			return true;
	}
	return false;
}
static bool vmbus_match ( const struct rte_vmbus_driver * dr , const struct rte_vmbus_device * dev ) { const rte_uuid_t * id_table ; for ( id_table = dr -> id_table ; ! rte_uuid_is_null ( * id_table ) ; ++ id_table ) { if ( rte_uuid_compare ( * id_table , dev -> class_id ) == 0 ) return true ; } return false ; }
Match the VMBUS driver and device using UUID table
 @param drv
      VMBUS driver from which ID table would be extracted
 @param pci_dev
      VMBUS device to match against the driver
 @return
      true for successful match
      false for unsuccessful match
Match the VMBUS driver and device using UUID table @param drv VMBUS driver from which ID table would be extracted @param pci_dev VMBUS device to match against the driver @return true for successful match false for unsuccessful match