Home
last modified time | relevance | path

Searched refs:slave_idx (Results 1 – 6 of 6) sorted by relevance

/f-stack/dpdk/drivers/net/bonding/
H A Drte_eth_bond_alb.c115 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 Drte_eth_bond_api.c633 int i, slave_idx; in __eth_bond_slave_remove_lock_free() local
642 slave_idx = find_slave_by_id(internals->active_slaves, in __eth_bond_slave_remove_lock_free()
645 if (slave_idx < internals->active_slave_count) in __eth_bond_slave_remove_lock_free()
648 slave_idx = -1; in __eth_bond_slave_remove_lock_free()
652 slave_idx = i; in __eth_bond_slave_remove_lock_free()
656 if (slave_idx < 0) { in __eth_bond_slave_remove_lock_free()
670 &(internals->slaves[slave_idx].persisted_mac_addr)); in __eth_bond_slave_remove_lock_free()
680 if (flow->flows[slave_idx] != NULL) { in __eth_bond_slave_remove_lock_free()
681 rte_flow_destroy(slave_port_id, flow->flows[slave_idx], in __eth_bond_slave_remove_lock_free()
683 flow->flows[slave_idx] = NULL; in __eth_bond_slave_remove_lock_free()
H A Drte_eth_bond_alb.h25 uint16_t slave_idx; member
H A Drte_eth_bond_pmd.c581 static int slave_idx = 0; in bond_ethdev_tx_burst_round_robin() local
598 cslave_idx = (slave_idx + i) % num_of_slaves; in bond_ethdev_tx_burst_round_robin()
604 slave_idx = ++cslave_idx; in bond_ethdev_tx_burst_round_robin()
1010 uint16_t slave_idx; in bond_ethdev_tx_burst_alb() local
1024 rte_eth_macaddr_get(slave_idx, &eth_h->s_addr); in bond_ethdev_tx_burst_alb()
1027 slave_bufs[slave_idx][slave_bufs_pkts[slave_idx]] = bufs[i]; in bond_ethdev_tx_burst_alb()
1028 slave_bufs_pkts[slave_idx]++; in bond_ethdev_tx_burst_alb()
1061 update_bufs[slave_idx][update_bufs_pkts[slave_idx]] = upd_pkt; in bond_ethdev_tx_burst_alb()
1062 update_bufs_pkts[slave_idx]++; in bond_ethdev_tx_burst_alb()
1155 uint16_t slave_idx = bufs_slave_port_idxs[i]; in tx_burst_balance() local
[all …]
/f-stack/dpdk/app/test/
H A Dtest_link_bonding.c4714 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 Dtest_link_bonding_mode4.c269 ptrdiff_t slave_idx = slave - test_params.slave_ports; in remove_slave() local
272 slave_idx < (ptrdiff_t)RTE_DIM(test_params.slave_ports)); in remove_slave()
288 (uint8_t)slave_idx, slave->port_id, in remove_slave()