MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mlx5_dev_is_pci

Function mlx5_dev_is_pci

dpdk/drivers/common/mlx5/mlx5_common_pci.c:105–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105bool
106mlx5_dev_is_pci(const struct rte_device *dev)
107{
108 return strcmp(dev->bus->name, "pci") == 0;
109}
110
111bool
112mlx5_dev_is_vf_pci(const struct rte_pci_device *pci_dev)

Callers 8

mlx5_proc_priv_initFunction · 0.85
mlx5_os_net_probeFunction · 0.85
mlx5_bus_matchFunction · 0.85
mlx5_dev_to_pci_strFunction · 0.85
mlx5_dev_pci_matchFunction · 0.85
mlx5_os_get_ibv_devFunction · 0.85

Calls 1

strcmpFunction · 0.85

Tested by

no test coverage detected