Searched refs:num_slaves (Results 1 – 1 of 1) sorted by relevance
5956 int num_slaves, num_active_slaves; in cmd_show_bonding_config_parsed() local6012 num_slaves = rte_eth_bond_slaves_get(port_id, slaves, RTE_MAX_ETHPORTS); in cmd_show_bonding_config_parsed()6014 if (num_slaves < 0) { in cmd_show_bonding_config_parsed()6018 if (num_slaves > 0) { in cmd_show_bonding_config_parsed()6019 printf("\tSlaves (%d): [", num_slaves); in cmd_show_bonding_config_parsed()6020 for (i = 0; i < num_slaves - 1; i++) in cmd_show_bonding_config_parsed()6023 printf("%d]\n", slaves[num_slaves - 1]); in cmd_show_bonding_config_parsed()