Home
last modified time | relevance | path

Searched refs:primary_port (Results 1 – 4 of 4) sorted by relevance

/f-stack/dpdk/app/test/
H A Dtest_link_bonding.c2123 int i, pktlen, primary_port, burst_size; in test_activebackup_tx_burst() local
2205 int primary_port; in test_activebackup_rx_burst() local
2215 TEST_ASSERT(primary_port >= 0, in test_activebackup_rx_burst()
2286 int i, primary_port, promiscuous_en; in test_activebackup_verify_promiscuous_enable_disable() local
2295 TEST_ASSERT(primary_port >= 0, in test_activebackup_verify_promiscuous_enable_disable()
2495 int i, burst_size, slave_count, primary_port; in test_activebackup_verify_slave_link_status_change_failover() local
4279 int primary_port; in test_tlb_rx_burst() local
4291 TEST_ASSERT(primary_port >= 0, in test_tlb_rx_burst()
4359 int i, primary_port, promiscuous_en; in test_tlb_verify_promiscuous_enable_disable() local
4368 TEST_ASSERT(primary_port >= 0, in test_tlb_verify_promiscuous_enable_disable()
[all …]
/f-stack/dpdk/drivers/net/bonding/
H A Drte_eth_bond_api.c501 internals->primary_port = slave_port_id; in __eth_bond_slave_add_lock_free()
699 internals->primary_port = 0; in __eth_bond_slave_remove_lock_free()
790 internals->primary_port = slave_port_id; in rte_eth_bond_primary_set()
909 internals->primary_port) in rte_eth_bond_mac_address_reset()
H A Deth_bond_private.h115 uint16_t primary_port; /**< Primary Slave Port */ member
H A Drte_eth_bond_pmd.c915 struct rte_eth_dev *primary_port = in bond_ethdev_tx_burst_tlb() local
916 &rte_eth_devices[internals->primary_port]; in bond_ethdev_tx_burst_tlb()
934 rte_ether_addr_copy(primary_port->data->mac_addrs, &primary_slave_addr); in bond_ethdev_tx_burst_tlb()
1960 if (internals->slaves[i].port_id == internals->primary_port) in bond_ethdev_start()
2014 bond_ethdev_primary_set(internals, internals->primary_port); in bond_ethdev_start()
2886 internals->primary_port == port_id) in bond_ethdev_lsc_event_callback()
2905 internals->current_primary_port = internals->primary_port; in bond_ethdev_lsc_event_callback()