Searched refs:slave_idx (Results 1 – 6 of 6) sorted by relevance
| /dpdk/drivers/net/bonding/ |
| H A D | rte_eth_bond_alb.c | 115 client_info->slave_idx = calculate_slave(internals); in bond_mode_alb_arp_recv() 116 rte_eth_macaddr_get(client_info->slave_idx, in bond_mode_alb_arp_recv() 169 rte_eth_macaddr_get(client_info->slave_idx, in bond_mode_alb_arp_xmit() 176 return client_info->slave_idx; in bond_mode_alb_arp_xmit() 187 client_info->slave_idx = calculate_slave(internals); in bond_mode_alb_arp_xmit() 188 rte_eth_macaddr_get(client_info->slave_idx, in bond_mode_alb_arp_xmit() 195 return client_info->slave_idx; in bond_mode_alb_arp_xmit() 211 uint16_t slave_idx; in bond_mode_alb_arp_upd() local 241 slave_idx = client_info->slave_idx; in bond_mode_alb_arp_upd() 244 return slave_idx; in bond_mode_alb_arp_upd() [all …]
|
| H A D | rte_eth_bond_api.c | 653 int i, slave_idx; in __eth_bond_slave_remove_lock_free() local 662 slave_idx = find_slave_by_id(internals->active_slaves, in __eth_bond_slave_remove_lock_free() 665 if (slave_idx < internals->active_slave_count) in __eth_bond_slave_remove_lock_free() 668 slave_idx = -1; in __eth_bond_slave_remove_lock_free() 672 slave_idx = i; in __eth_bond_slave_remove_lock_free() 676 if (slave_idx < 0) { in __eth_bond_slave_remove_lock_free() 690 &(internals->slaves[slave_idx].persisted_mac_addr)); in __eth_bond_slave_remove_lock_free() 700 if (flow->flows[slave_idx] != NULL) { in __eth_bond_slave_remove_lock_free() 701 rte_flow_destroy(slave_port_id, flow->flows[slave_idx], in __eth_bond_slave_remove_lock_free() 703 flow->flows[slave_idx] = NULL; in __eth_bond_slave_remove_lock_free()
|
| H A D | rte_eth_bond_alb.h | 25 uint16_t slave_idx; member
|
| H A D | rte_eth_bond_pmd.c | 577 static int slave_idx = 0; in bond_ethdev_tx_burst_round_robin() local 594 cslave_idx = (slave_idx + i) % num_of_slaves; in bond_ethdev_tx_burst_round_robin() 600 slave_idx = ++cslave_idx; in bond_ethdev_tx_burst_round_robin() 1006 uint16_t slave_idx; in bond_ethdev_tx_burst_alb() local 1020 rte_eth_macaddr_get(slave_idx, ð_h->src_addr); in bond_ethdev_tx_burst_alb() 1023 slave_bufs[slave_idx][slave_bufs_pkts[slave_idx]] = bufs[i]; in bond_ethdev_tx_burst_alb() 1024 slave_bufs_pkts[slave_idx]++; in bond_ethdev_tx_burst_alb() 1057 update_bufs[slave_idx][update_bufs_pkts[slave_idx]] = upd_pkt; in bond_ethdev_tx_burst_alb() 1058 update_bufs_pkts[slave_idx]++; in bond_ethdev_tx_burst_alb() 1151 uint16_t slave_idx = bufs_slave_port_idxs[i]; in tx_burst_balance() local [all …]
|
| /dpdk/app/test/ |
| H A D | test_link_bonding.c | 4714 int slave_idx, nb_pkts, pkt_idx; in test_alb_change_mac_in_reply_sent() local 4727 for (slave_idx = 0; slave_idx < test_params->bonded_slave_count; in test_alb_change_mac_in_reply_sent() 4728 slave_idx++) { in test_alb_change_mac_in_reply_sent() 4795 for (slave_idx = 0; slave_idx < test_params->bonded_slave_count; slave_idx++) { in test_alb_change_mac_in_reply_sent() 4806 if (slave_idx%2 == 0) { in test_alb_change_mac_in_reply_sent() 4849 for (slave_idx = 0; slave_idx < test_params->bonded_slave_count; slave_idx++) { in test_alb_reply_from_client() 4924 for (slave_idx = 0; slave_idx < test_params->bonded_slave_count; slave_idx++) { in test_alb_reply_from_client() 4935 if (slave_idx%2 == 0) { in test_alb_reply_from_client() 4972 int slave_idx, nb_pkts, pkt_idx; in test_alb_receive_vlan_reply() local 4984 for (slave_idx = 0; slave_idx < test_params->bonded_slave_count; slave_idx++) { in test_alb_receive_vlan_reply() [all …]
|
| H A D | test_link_bonding_mode4.c | 267 ptrdiff_t slave_idx = slave - test_params.slave_ports; in remove_slave() local 270 slave_idx < (ptrdiff_t)RTE_DIM(test_params.slave_ports)); in remove_slave() 286 (uint8_t)slave_idx, slave->port_id, in remove_slave()
|