Home
last modified time | relevance | path

Searched refs:last_port (Results 1 – 7 of 7) sorted by relevance

/dpdk/app/test-pmd/
H A Dshared_rxq_fwd.c70 uint16_t i, nb_sub_burst, port, last_port; in forward_shared_rxq() local
73 last_port = pkts_burst[0]->port; in forward_shared_rxq()
78 if (i > 0 && last_port != port) { in forward_shared_rxq()
80 forward_sub_burst(fs, last_port, nb_sub_burst, in forward_shared_rxq()
83 last_port = port; in forward_shared_rxq()
89 forward_sub_burst(fs, last_port, nb_sub_burst, in forward_shared_rxq()
/dpdk/examples/l2fwd-keepalive/
H A Dmain.c531 uint16_t portid, last_port; in main() local
576 last_port = 0; in main()
587 l2fwd_dst_ports[portid] = last_port; in main()
588 l2fwd_dst_ports[last_port] = portid; in main()
590 last_port = portid; in main()
596 l2fwd_dst_ports[last_port] = last_port; in main()
/dpdk/examples/l2fwd-event/
H A Dmain.c599 uint16_t port_id, last_port; in main() local
635 last_port = 0; in main()
646 rsrc->dst_ports[port_id] = last_port; in main()
647 rsrc->dst_ports[last_port] = port_id; in main()
649 last_port = port_id; in main()
656 rsrc->dst_ports[last_port] = last_port; in main()
/dpdk/examples/l2fwd/
H A Dmain.c656 uint16_t portid, last_port; in main() local
703 last_port = 0; in main()
722 l2fwd_dst_ports[portid] = last_port; in main()
723 l2fwd_dst_ports[last_port] = portid; in main()
725 last_port = portid; in main()
732 l2fwd_dst_ports[last_port] = last_port; in main()
/dpdk/examples/l2fwd-jobstats/
H A Dmain.c761 uint16_t portid, last_port; in main() local
796 last_port = 0; in main()
807 l2fwd_dst_ports[portid] = last_port; in main()
808 l2fwd_dst_ports[last_port] = portid; in main()
810 last_port = portid; in main()
817 l2fwd_dst_ports[last_port] = last_port; in main()
/dpdk/drivers/net/sfc/
H A Dsfc_repr_proxy.c1103 struct sfc_repr_proxy_port *last_port = NULL; in sfc_repr_proxy_start() local
1165 last_port = port; in sfc_repr_proxy_start()
1181 if (last_port != NULL) { in sfc_repr_proxy_start()
1185 if (port == last_port) in sfc_repr_proxy_start()
/dpdk/lib/ethdev/
H A Drte_ethdev.c4456 uint16_t last_port; in rte_eth_dev_callback_register() local
4472 last_port = RTE_MAX_ETHPORTS - 1; in rte_eth_dev_callback_register()
4474 next_port = last_port = port_id; in rte_eth_dev_callback_register()
4508 } while (++next_port <= last_port); in rte_eth_dev_callback_register()
4523 uint16_t last_port; in rte_eth_dev_callback_unregister() local
4539 last_port = RTE_MAX_ETHPORTS - 1; in rte_eth_dev_callback_unregister()
4541 next_port = last_port = port_id; in rte_eth_dev_callback_unregister()
4569 } while (++next_port <= last_port); in rte_eth_dev_callback_unregister()