src/pal/linux/rte_pci.h
static inline void
rte_pci_device_name(const struct rte_pci_addr *addr,
		    char *output, size_t size)
{
	RTE_VERIFY(size >= PCI_PRI_STR_SIZE);
	snprintf(output, size, PCI_PRI_FMT,
			    addr->domain, addr->bus,
			    addr->devid, addr->function);
}
/**
 * Utility function to write a pci device name, this device name can later be
 * used to retrieve the corresponding rte_pci_addr using eal_parse_pci_*
 * BDF helpers.
 *
 * @param addr
 *	The PCI Bus-Device-Function address
 * @param output
 *	The output buffer string
 * @param size
 *	The output buffer size
 */
Utility function to write a pci device name, this device name can later be
used to retrieve the corresponding rte_pci_addr using eal_parse_pci_
BDF helpers.

@param addr
The PCI Bus-Device-Function address
@param output
The output buffer string
@param size
The output buffer size
Utility function to write a pci device name this device name can later be used to retrieve the corresponding rte_pci_addr using eal_parse_pci_ BDF helpers . @param addr The PCI Bus - Device - Function address @param output The output buffer string @param size The output buffer size
static inline void
rte_pci_device_name(const struct rte_pci_addr *addr,
		    char *output, size_t size)
{
	RTE_VERIFY(size >= PCI_PRI_STR_SIZE);
	snprintf(output, size, PCI_PRI_FMT,
			    addr->domain, addr->bus,
			    addr->devid, addr->function);
}
static inline void rte_pci_device_name ( const struct rte_pci_addr * addr , char * output , size_t size ) { RTE_VERIFY ( size >= PCI_PRI_STR_SIZE ) ; snprintf ( output , size , PCI_PRI_FMT , addr -> domain , addr -> bus , addr -> devid , addr -> function ) ; }
Utility function to write a pci device name, this device name can later be
 used to retrieve the corresponding rte_pci_addr using eal_parse_pci_
 BDF helpers.
Utility function to write a pci device name this device name can later be used to retrieve the corresponding rte_pci_addr using eal_parse_pci_ BDF helpers .