| /f-stack/dpdk/examples/bbdev_app/ |
| H A D | main.c | 134 struct lcore_conf { struct 156 struct lcore_conf *lconf; argument 519 struct lcore_conf *lcore_conf, in lcore_conf_init() argument 526 struct lcore_conf *lconf; in lcore_conf_init() 694 run_encoding(struct lcore_conf *lcore_conf) in run_encoding() argument 709 port_id = lcore_conf->port_id; in run_encoding() 825 run_decoding(struct lcore_conf *lcore_conf) in run_decoding() argument 925 struct lcore_conf *lcore_conf = arg; in processing_loop() local 933 run_encoding(lcore_conf); in processing_loop() 935 run_decoding(lcore_conf); in processing_loop() [all …]
|
| /f-stack/dpdk/app/test/ |
| H A D | test_pmd_perf.c | 100 struct lcore_conf { struct 107 struct lcore_conf lcore_conf[RTE_MAX_LCORE]; argument 224 lcore_conf[lcore_id].socketid = in init_lcores() 281 lcore_conf[lcore_id].nb_ports = 0; in alloc_lcore() 462 struct lcore_conf *conf; in main_loop() 468 conf = &lcore_conf[lcore_id]; in main_loop() 539 struct lcore_conf *conf; in poll_burst() 547 conf = &lcore_conf[lcore_id]; in poll_burst() 610 struct lcore_conf *conf; in exec_burst() 615 conf = &lcore_conf[lcore]; in exec_burst() [all …]
|
| /f-stack/dpdk/examples/l3fwd/ |
| H A D | l3fwd_em.h | 10 struct rte_ether_hdr *eth_hdr, struct lcore_conf *qconf) in l3fwd_em_handle_ipv4() 50 struct rte_ether_hdr *eth_hdr, struct lcore_conf *qconf) in l3fwd_em_handle_ipv6() 78 struct lcore_conf *qconf) in l3fwd_em_simple_forward() 102 l3fwd_em_simple_process(struct rte_mbuf *m, struct lcore_conf *qconf) in l3fwd_em_simple_process() 126 uint16_t portid, struct lcore_conf *qconf) in l3fwd_em_no_opt_send_packets() 155 struct lcore_conf *qconf) in l3fwd_em_no_opt_process_events()
|
| H A D | l3fwd.h | 69 struct lcore_conf { struct 95 extern struct lcore_conf lcore_conf[RTE_MAX_LCORE]; argument 99 send_burst(struct lcore_conf *qconf, uint16_t n, uint16_t port) in send_burst() 120 send_single_packet(struct lcore_conf *qconf, in send_single_packet()
|
| H A D | l3fwd_em_hlm.h | 25 em_get_dst_port_ipv4xN(struct lcore_conf *qconf, struct rte_mbuf *m[], in em_get_dst_port_ipv4xN() 52 em_get_dst_port_ipv6xN(struct lcore_conf *qconf, struct rte_mbuf *m[], in em_get_dst_port_ipv6xN() 79 em_get_dst_port_ipv4xN_events(struct lcore_conf *qconf, struct rte_mbuf *m[], in em_get_dst_port_ipv4xN_events() 106 em_get_dst_port_ipv6xN_events(struct lcore_conf *qconf, struct rte_mbuf *m[], in em_get_dst_port_ipv6xN_events() 133 em_get_dst_port(const struct lcore_conf *qconf, struct rte_mbuf *pkt, in em_get_dst_port() 186 uint16_t portid, struct lcore_conf *qconf) in l3fwd_em_send_packets() 251 struct lcore_conf *qconf) in l3fwd_em_process_events()
|
| H A D | l3fwd_em_sequential.h | 24 em_get_dst_port(const struct lcore_conf *qconf, struct rte_mbuf *pkt, in em_get_dst_port() 77 uint16_t portid, struct lcore_conf *qconf) in l3fwd_em_send_packets() 105 struct lcore_conf *qconf) in l3fwd_em_process_events()
|
| H A D | l3fwd_lpm.c | 106 lpm_get_dst_port(const struct lcore_conf *qconf, struct rte_mbuf *pkt, in lpm_get_dst_port() 138 lpm_get_dst_port_with_ipv4(const struct lcore_conf *qconf, struct rte_mbuf *pkt, in lpm_get_dst_port_with_ipv4() 184 struct lcore_conf *qconf; in lpm_main_loop() 191 qconf = &lcore_conf[lcore_id]; in lpm_main_loop() 258 lpm_process_event_pkt(const struct lcore_conf *lconf, struct rte_mbuf *mbuf) in lpm_process_event_pkt() 305 struct lcore_conf *lconf; in lpm_event_loop_single() 313 lconf = &lcore_conf[lcore_id]; in lpm_event_loop_single() 353 struct lcore_conf *lconf; in lpm_event_loop_burst() 362 lconf = &lcore_conf[lcore_id]; in lpm_event_loop_burst()
|
| H A D | main.c | 90 struct lcore_conf lcore_conf[RTE_MAX_LCORE]; variable 255 nb_rx_queue = lcore_conf[lcore].n_rx_queue; in init_lcore_rx_queues() 261 lcore_conf[lcore].rx_queue_list[nb_rx_queue].port_id = in init_lcore_rx_queues() 265 lcore_conf[lcore].n_rx_queue++; in init_lcore_rx_queues() 748 struct lcore_conf *qconf; in init_mem() 791 qconf = &lcore_conf[lcore_id]; in init_mem() 903 struct lcore_conf *qconf; in l3fwd_poll_resource_setup() 1033 qconf = &lcore_conf[lcore_id]; in l3fwd_poll_resource_setup() 1046 qconf = &lcore_conf[lcore_id]; in l3fwd_poll_resource_setup() 1183 struct lcore_conf *qconf; in main() [all …]
|
| H A D | l3fwd_lpm.h | 10 struct lcore_conf *qconf) in l3fwd_lpm_simple_forward() 80 uint16_t portid, struct lcore_conf *qconf) in l3fwd_lpm_no_opt_send_packets()
|
| H A D | l3fwd_lpm_sse.h | 50 processx4_step2(const struct lcore_conf *qconf, in processx4_step2() 86 uint16_t portid, struct lcore_conf *qconf) in l3fwd_lpm_send_packets()
|
| H A D | l3fwd_lpm_altivec.h | 56 processx4_step2(const struct lcore_conf *qconf, in processx4_step2() 100 uint8_t portid, struct lcore_conf *qconf) in l3fwd_lpm_send_packets()
|
| H A D | l3fwd_lpm_neon.h | 53 processx4_step2(const struct lcore_conf *qconf, in processx4_step2() 89 uint16_t portid, struct lcore_conf *qconf) in l3fwd_lpm_send_packets()
|
| H A D | l3fwd_em.c | 628 struct lcore_conf *qconf; in em_main_loop() 635 qconf = &lcore_conf[lcore_id]; in em_main_loop() 708 struct lcore_conf *lconf; in em_event_loop_single() 716 lconf = &lcore_conf[lcore_id]; in em_event_loop_single() 764 struct lcore_conf *lconf; in em_event_loop_burst() 773 lconf = &lcore_conf[lcore_id]; in em_event_loop_burst()
|
| H A D | l3fwd_common.h | 181 send_packetsx4(struct lcore_conf *qconf, uint16_t port, struct rte_mbuf *m[], in send_packetsx4()
|
| H A D | l3fwd_altivec.h | 153 send_packets_multi(struct lcore_conf *qconf, struct rte_mbuf **pkts_burst, in send_packets_multi()
|
| H A D | l3fwd_sse.h | 127 send_packets_multi(struct lcore_conf *qconf, struct rte_mbuf **pkts_burst, in send_packets_multi()
|
| H A D | l3fwd_neon.h | 131 send_packets_multi(struct lcore_conf *qconf, struct rte_mbuf **pkts_burst, in send_packets_multi()
|
| /f-stack/lib/ |
| H A D | ff_dpdk_if.c | 116 struct lcore_conf lcore_conf; variable 286 lcore_conf.tx_port_id[lcore_conf.nb_tx_port] = port_id; in init_lcore_conf() 287 lcore_conf.nb_tx_port++; in init_lcore_conf() 1268 struct lcore_conf *qconf = &lcore_conf; 1674 struct lcore_conf *qconf; 1676 qconf = &lcore_conf; 1696 struct lcore_conf *qconf = &lcore_conf; 1828 struct lcore_conf *qconf; 1839 qconf = &lcore_conf; 1955 struct lcore_conf *qconf = &lcore_conf; [all …]
|
| H A D | ff_memory.c | 71 extern struct lcore_conf lcore_conf; 381 struct rte_mempool *mbuf_pool = pktmbuf_pool[lcore_conf.socket_id]; in ff_extcl_to_rte() 400 struct rte_mempool *mbuf_pool = ff_ref_pool[lcore_conf.socket_id]; in ff_bsd_to_rte() 445 struct lcore_conf *qconf = NULL; in ff_if_send_onepkt() 468 qconf = &lcore_conf; in ff_if_send_onepkt()
|
| H A D | ff_memory.h | 80 struct lcore_conf { struct
|
| /f-stack/dpdk/examples/l3fwd-graph/ |
| H A D | main.c | 86 struct lcore_conf { struct 95 static struct lcore_conf lcore_conf[RTE_MAX_LCORE]; argument 234 nb_rx_queue = lcore_conf[lcore].n_rx_queue; in init_lcore_rx_queues() 246 lcore_conf[lcore].n_rx_queue++; in init_lcore_rx_queues() 698 struct lcore_conf *qconf; in graph_main_loop() 705 qconf = &lcore_conf[lcore_id]; in graph_main_loop() 742 struct lcore_conf *qconf; in main() 872 qconf = &lcore_conf[lcore_id]; in main() 913 qconf = &lcore_conf[lcore_id]; in main() 1014 qconf = &lcore_conf[lcore_id]; in main() [all …]
|
| /f-stack/dpdk/examples/l3fwd-power/ |
| H A D | main.c | 356 struct lcore_conf { struct 400 static struct lcore_conf lcore_conf[RTE_MAX_LCORE] __rte_cache_aligned; variable 479 struct lcore_conf *qconf; in send_single_packet() 685 struct lcore_conf *qconf) in l3fwd_simple_forward() 918 struct lcore_conf *qconf; in main_intr_loop() 1083 struct lcore_conf *qconf; in main_telemetry_loop() 1203 struct lcore_conf *qconf; in main_empty_poll_loop() 1308 struct lcore_conf *qconf; in main_legacy_loop() 2083 struct lcore_conf *qconf; in init_mem() 2287 struct lcore_conf *qconf; in get_current_stat_values() [all …]
|
| /f-stack/dpdk/examples/ipsec-secgw/ |
| H A D | ipsec-secgw.c | 215 struct lcore_conf { struct 232 static struct lcore_conf lcore_conf[RTE_MAX_LCORE]; argument 479 const struct lcore_conf *qconf) in prepare_tx_pkt() 517 const struct lcore_conf *qconf) in prepare_tx_burst() 606 struct lcore_conf *qconf; in send_single_packet() 610 qconf = &lcore_conf[lcore_id]; in send_single_packet() 1161 struct lcore_conf *qconf; in ipsec_poll_mode_worker() 1169 qconf = &lcore_conf[lcore_id]; in ipsec_poll_mode_worker() 1956 struct lcore_conf *qconf; in add_cdev_mapping() 2131 struct lcore_conf *qconf; in port_init() [all …]
|
| /f-stack/dpdk/examples/performance-thread/l3fwd-thread/ |
| H A D | main.c | 546 struct lcore_conf { struct 556 static struct lcore_conf lcore_conf[RTE_MAX_LCORE]; variable 557 RTE_DEFINE_PER_LCORE(struct lcore_conf *, lcore_conf); 1260 RTE_PER_LCORE(lcore_conf)->ipv4_lookup_struct); in l3fwd_simple_forward() 1373 RTE_PER_LCORE(lcore_conf)->ipv6_lookup_struct, in get_dst_port() 2277 RTE_PER_LCORE(lcore_conf) = &lcore_conf[lcore_id]; in lthread_main_spawner() 2299 RTE_PER_LCORE(lcore_conf) = &lcore_conf[lcore_id]; in sched_spawner() 2461 RTE_PER_LCORE(lcore_conf) = &lcore_conf[lcore_id]; in pthread_run() 2470 RTE_PER_LCORE(lcore_conf) = &lcore_conf[lcore_id]; in pthread_run() 3385 struct lcore_conf *qconf; in init_mem() [all …]
|
| /f-stack/dpdk/examples/l3fwd-acl/ |
| H A D | main.c | 1344 struct lcore_conf { struct 1353 static struct lcore_conf lcore_conf[RTE_MAX_LCORE]; variable 1360 struct lcore_conf *qconf; in send_single_packet() 1369 qconf = &lcore_conf[lcore_id]; in send_single_packet() 1425 struct lcore_conf *qconf; in main_loop() 1432 qconf = &lcore_conf[lcore_id]; in main_loop() 1597 lcore_conf[lcore].n_rx_queue++; in init_lcore_rx_queues() 2012 struct lcore_conf *qconf; in main() 2131 qconf = &lcore_conf[lcore_id]; in main() 2172 qconf = &lcore_conf[lcore_id]; in main() [all …]
|