Home
last modified time | relevance | path

Searched refs:slaves (Results 1 – 19 of 19) sorted by relevance

/dpdk/drivers/net/bonding/
H A Deth_bond_private.h79 uint16_t slaves[RTE_MAX_ETHPORTS]; /**< Slave port id array */ member
105 uint16_t slave_count, uint16_t *slaves);
141 struct bond_slave_details slaves[RTE_MAX_ETHPORTS]; member
197 find_slave_by_id(uint16_t *slaves, uint16_t slaves_count, uint16_t slave_id) { in find_slave_by_id() argument
201 if (slave_id == slaves[pos]) in find_slave_by_id()
263 uint16_t slave_count, uint16_t *slaves);
267 uint16_t slave_count, uint16_t *slaves);
271 uint16_t slave_count, uint16_t *slaves);
H A Drte_eth_bond_pmd.c289 uint16_t slaves[RTE_MAX_ETHPORTS]; in rx_burst_8023ad() local
573 uint16_t slaves[RTE_MAX_ETHPORTS]; in bond_ethdev_tx_burst_round_robin() local
727 slaves[i] = hash % slave_count; in burst_xmit_l23_hash()
801 slaves[i] = hash % slave_count; in burst_xmit_l34_hash()
917 uint16_t slaves[RTE_MAX_ETHPORTS]; in bond_ethdev_tx_burst_tlb() local
1514 internals->slaves[i].port_id, in mac_address_slaves_update()
1893 memmove(&internals->slaves[i], &internals->slaves[i + 1], in slave_remove()
1894 sizeof(internals->slaves[0]) * in slave_remove()
2013 internals->slaves[i].port_id); in bond_ethdev_start()
2020 internals->slaves[i].port_id); in bond_ethdev_start()
[all …]
H A Drte_eth_bond_api.c52 if (valid_bonded_port_id(internals->slaves[i].port_id) == 0) in check_for_master_bonded_ethdev()
243 uint16_t slave_port_id = internals->slaves[slave_id].port_id; in slave_rte_flow_prepare()
671 if (internals->slaves[i].port_id == slave_port_id) { in __eth_bond_slave_remove_lock_free()
690 &(internals->slaves[slave_idx].persisted_mac_addr)); in __eth_bond_slave_remove_lock_free()
717 internals->current_primary_port = internals->slaves[0].port_id; in __eth_bond_slave_remove_lock_free()
843 if (slaves == NULL) in rte_eth_bond_slaves_get()
852 slaves[i] = internals->slaves[i].port_id; in rte_eth_bond_slaves_get()
866 if (slaves == NULL) in rte_eth_bond_active_slaves_get()
874 memcpy(slaves, internals->active_slaves, in rte_eth_bond_active_slaves_get()
928 if (internals->slaves[slave_port].port_id == in rte_eth_bond_mac_address_reset()
[all …]
H A Drte_eth_bond_flow.c73 ret = rte_flow_validate(internals->slaves[i].port_id, attr, in bond_flow_validate()
101 flow->flows[i] = rte_flow_create(internals->slaves[i].port_id, in bond_flow_create()
115 rte_flow_destroy(internals->slaves[i].port_id, in bond_flow_create()
135 lret = rte_flow_destroy(internals->slaves[i].port_id, in bond_flow_destroy()
185 ret = rte_flow_query(internals->slaves[i].port_id, in bond_flow_query_count()
225 ret = rte_flow_isolate(internals->slaves[i].port_id, set, err); in bond_flow_isolate()
H A Drte_eth_bond.h197 rte_eth_bond_slaves_get(uint16_t bonded_port_id, uint16_t slaves[],
213 rte_eth_bond_active_slaves_get(uint16_t bonded_port_id, uint16_t slaves[],
H A Drte_eth_bond_8023ad.c684 uint16_t *slaves; in selection_logic() local
692 slaves = internals->active_slaves; in selection_logic()
698 agg = &bond_mode_8023ad_ports[slaves[i]]; in selection_logic()
700 if (agg->aggregator_port_id != slaves[i]) in selection_logic()
707 slaves[i], rte_strerror(-ret)); in selection_logic()
733 new_agg_id = slaves[agg_new_idx]; in selection_logic()
737 new_agg_id = slaves[agg_new_idx]; in selection_logic()
741 new_agg_id = slaves[slave_id]; in selection_logic()
743 new_agg_id = slaves[default_slave]; in selection_logic()
747 new_agg_id = slaves[slave_id]; in selection_logic()
[all …]
H A Drte_eth_bond_args.c128 slave_ports->slaves[slave_ports->slave_count++] = in bond_ethdev_parse_slave_port_kvarg()
/dpdk/doc/guides/prog_guide/
H A Dlink_bonding_poll_mode_drv_lib.rst157 intended to provide RSS configuration on slaves transparent for client
170 changed on the slaves and default key for device is used.
180 - Create the flow in all slaves.
181 - Save all the slaves created flows objects in bonding internal flow
184 - Failure in flow creation for new slaves in slave adding time rejects
188 - Destroy the flow in all slaves and release the bond internal flow
192 - Destroy all the bonding PMD flows in all the slaves.
200 - Summarize flow counters from all the slaves, relevant only for
204 - Call to flow isolate for all slaves.
210 in one direction (from bonding to slaves).
[all …]
/dpdk/app/test/
H A Dtest_link_bonding.c286 slaves, RTE_MAX_ETHPORTS); in test_create_bonded_device()
346 slaves, RTE_MAX_ETHPORTS); in test_add_slave_to_bonded_device()
394 slaves, RTE_MAX_ETHPORTS); in test_remove_slave_from_bonded_device()
454 slaves, RTE_MAX_ETHPORTS); in test_add_already_bonded_slave_to_bonded_device()
492 slaves, RTE_MAX_ETHPORTS); in test_get_slaves_from_bonded_device()
578 slaves, RTE_MAX_ETHPORTS); in test_start_bonded_device()
632 slaves, RTE_MAX_ETHPORTS); in test_stop_bonded_device()
1258 slaves, RTE_MAX_ETHPORTS); in test_status_interrupt()
1286 slaves, RTE_MAX_ETHPORTS); in test_status_interrupt()
1920 slaves, RTE_MAX_ETHPORTS); in test_roundrobin_verify_slave_link_status_change_behaviour()
[all …]
H A Dtest_link_bonding_mode4.c353 uint16_t slaves[RTE_MAX_ETHPORTS]; in remove_slaves_and_stop_bonded_device() local
363 retval = rte_eth_bond_slaves_get(test_params.bonded_port_id, slaves, in remove_slaves_and_stop_bonded_device()
364 RTE_DIM(slaves)); in remove_slaves_and_stop_bonded_device()
1523 uint16_t slaves[RTE_DIM(test_params.slave_ports)]; in check_environment() local
1545 slaves, RTE_DIM(slaves)); in check_environment()
/dpdk/examples/bond/
H A Dmain.c108 uint16_t slaves[RTE_MAX_ETHPORTS]; variable
257 if (rte_eth_bond_slave_add(BOND_PORT, slaves[i]) == -1) in bond_port_init()
259 slaves[i], BOND_PORT); in bond_port_init()
746 uint16_t slaves[16] = {0}; in cmd_show_parsed() local
769 rte_eth_bond_active_slaves_get(BOND_PORT, slaves, len), in cmd_show_parsed()
843 slaves[i] = i; in main()
/dpdk/doc/guides/rel_notes/
H A Drelease_1_8.rst16 …* Support for slaves devices which do not support link status change interrupts in the link bond…
H A Drelease_2_0.rst41 …* Support for slaves devices which do not support link status change interrupts in the link bond…
H A Drelease_17_08.rst165 crypto operations among several slaves, running on different logical cores.
H A Drelease_17_05.rst263 crypto operations among two slaves, based on their data lengths.
/dpdk/doc/guides/howto/
H A Dlm_bond_virtio_sriov.rst20 The virtio and VF PMD's are added as slaves to the bonded device.
142 Primary is now P1. There are 2 active slaves.
154 Primary is now P1. There are 2 active slaves.
/dpdk/app/test-pmd/
H A Dcmdline.c6222 portid_t slaves[RTE_MAX_ETHPORTS]; in cmd_show_bonding_lacp_info_parsed() local
6235 num_active_slaves = rte_eth_bond_active_slaves_get(port_id, slaves, in cmd_show_bonding_lacp_info_parsed()
6256 ret = rte_eth_bond_8023ad_slave_info(port_id, slaves[i], in cmd_show_bonding_lacp_info_parsed()
6260 slaves[i]); in cmd_show_bonding_lacp_info_parsed()
6263 printf("\tSlave Port: %u\n", slaves[i]); in cmd_show_bonding_lacp_info_parsed()
6313 portid_t slaves[RTE_MAX_ETHPORTS]; in cmd_show_bonding_config_parsed() local
6383 printf("%d ", slaves[i]); in cmd_show_bonding_config_parsed()
6385 printf("%d]\n", slaves[num_slaves - 1]); in cmd_show_bonding_config_parsed()
6391 num_active_slaves = rte_eth_bond_active_slaves_get(port_id, slaves, in cmd_show_bonding_config_parsed()
6403 printf("%d ", slaves[i]); in cmd_show_bonding_config_parsed()
[all …]
/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_os.c1756 MKSTR(slaves, in mlx5_device_bond_pci_match()
1758 bond_file = fopen(slaves, "r"); in mlx5_device_bond_pci_match()
/dpdk/doc/guides/testpmd_app_ug/
H A Dtestpmd_funcs.rst2611 Enable dedicated tx/rx queues on bonding devices slaves to handle LACP control plane traffic