Home
last modified time | relevance | path

Searched refs:tmp_str (Results 1 – 2 of 2) sorted by relevance

/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_os.c1767 char tmp_str[IF_NAMESIZE + 32]; in mlx5_device_bond_pci_match() local
1773 snprintf(tmp_str, sizeof(tmp_str), in mlx5_device_bond_pci_match()
1775 if (mlx5_get_pci_addr(tmp_str, &pci_addr)) { in mlx5_device_bond_pci_match()
1782 snprintf(tmp_str, sizeof(tmp_str), in mlx5_device_bond_pci_match()
1784 file = fopen(tmp_str, "rb"); in mlx5_device_bond_pci_match()
1788 if (fscanf(file, "%32s", tmp_str) == 1) in mlx5_device_bond_pci_match()
1789 mlx5_translate_port_name(tmp_str, &info); in mlx5_device_bond_pci_match()
1799 tmp_str); in mlx5_device_bond_pci_match()
1803 snprintf(tmp_str, sizeof(tmp_str), in mlx5_device_bond_pci_match()
1805 file = fopen(tmp_str, "rb"); in mlx5_device_bond_pci_match()
/dpdk/drivers/net/hinic/base/
H A Dhinic_pmd_hwdev.c1413 char tmp_str[512] = {0}; in print_cable_info() local
1443 snprintf(tmp_str, sizeof(tmp_str), in print_cable_info()
1448 snprintf(tmp_str + strlen(tmp_str), in print_cable_info()
1449 sizeof(tmp_str) - strlen(tmp_str), in print_cable_info()
1452 PMD_DRV_LOG(INFO, "Cable information: %s", tmp_str); in print_cable_info()