Searched refs:num_slaves (Results 1 – 1 of 1) sorted by relevance
6314 int num_slaves, num_active_slaves; in cmd_show_bonding_config_parsed() local6373 num_slaves = rte_eth_bond_slaves_get(port_id, slaves, RTE_MAX_ETHPORTS); in cmd_show_bonding_config_parsed()6375 if (num_slaves < 0) { in cmd_show_bonding_config_parsed()6380 if (num_slaves > 0) { in cmd_show_bonding_config_parsed()6381 printf("\tSlaves (%d): [", num_slaves); in cmd_show_bonding_config_parsed()6382 for (i = 0; i < num_slaves - 1; i++) in cmd_show_bonding_config_parsed()6385 printf("%d]\n", slaves[num_slaves - 1]); in cmd_show_bonding_config_parsed()