Home
last modified time | relevance | path

Searched refs:lcore_conf (Results 1 – 24 of 24) sorted by relevance

/dpdk/examples/bbdev_app/
H A Dmain.c132 struct lcore_conf { struct
154 struct lcore_conf *lconf; argument
512 struct lcore_conf *lcore_conf, in lcore_conf_init() argument
519 struct lcore_conf *lconf; in lcore_conf_init()
687 run_encoding(struct lcore_conf *lcore_conf) in run_encoding() argument
702 port_id = lcore_conf->port_id; in run_encoding()
818 run_decoding(struct lcore_conf *lcore_conf) in run_decoding() argument
918 struct lcore_conf *lcore_conf = arg; in processing_loop() local
926 run_encoding(lcore_conf); in processing_loop()
928 run_decoding(lcore_conf); in processing_loop()
[all …]
/dpdk/lib/power/
H A Drte_power_pmd_mgmt.c251 struct pmd_core_cfg *lcore_conf; in clb_multiwait() local
254 lcore_conf = &lcore_cfgs[lcore]; in clb_multiwait()
259 queue_reset(lcore_conf, queue_conf); in clb_multiwait()
269 if (!lcore_can_sleep(lcore_conf)) in clb_multiwait()
274 lcore_conf->n_queues); in clb_multiwait()
316 struct pmd_core_cfg *lcore_conf; in clb_pause() local
319 lcore_conf = &lcore_cfgs[lcore]; in clb_pause()
323 queue_reset(lcore_conf, queue_conf); in clb_pause()
330 if (!lcore_can_sleep(lcore_conf)) in clb_pause()
361 queue_reset(lcore_conf, queue_conf); in clb_scale_freq()
[all …]
/dpdk/app/test/
H A Dtest_pmd_perf.c98 struct lcore_conf { struct
105 struct lcore_conf lcore_conf[RTE_MAX_LCORE]; variable
222 lcore_conf[lcore_id].socketid = in init_lcores()
279 lcore_conf[lcore_id].nb_ports = 0; in alloc_lcore()
463 struct lcore_conf *conf; in main_loop()
471 conf = &lcore_conf[lcore_id]; in main_loop()
551 struct lcore_conf *conf; in poll_burst()
559 conf = &lcore_conf[lcore_id]; in poll_burst()
621 struct lcore_conf *conf; in exec_burst()
626 conf = &lcore_conf[lcore]; in exec_burst()
[all …]
/dpdk/examples/l3fwd/
H A Dl3fwd_em.h10 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()
180 struct lcore_conf *qconf) in l3fwd_em_no_opt_process_event_vector()
H A Dl3fwd.h76 struct lcore_conf { struct
106 extern struct lcore_conf lcore_conf[RTE_MAX_LCORE]; argument
112 send_burst(struct lcore_conf *qconf, uint16_t n, uint16_t port) in send_burst()
133 send_single_packet(struct lcore_conf *qconf, in send_single_packet()
H A Dl3fwd_lpm.c75 lpm_get_dst_port(const struct lcore_conf *qconf, struct rte_mbuf *pkt, in lpm_get_dst_port()
107 lpm_get_dst_port_with_ipv4(const struct lcore_conf *qconf, struct rte_mbuf *pkt, in lpm_get_dst_port_with_ipv4()
153 struct lcore_conf *qconf; in lpm_main_loop()
158 qconf = &lcore_conf[lcore_id]; in lpm_main_loop()
230 lpm_process_event_pkt(const struct lcore_conf *lconf, struct rte_mbuf *mbuf) in lpm_process_event_pkt()
265 struct lcore_conf *lconf; in lpm_event_loop_single()
273 lconf = &lcore_conf[lcore_id]; in lpm_event_loop_single()
319 struct lcore_conf *lconf; in lpm_event_loop_burst()
327 lconf = &lcore_conf[lcore_id]; in lpm_event_loop_burst()
460 struct lcore_conf *lconf; in lpm_event_loop_vector()
[all …]
H A Dl3fwd_em_sequential.h24 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()
127 struct lcore_conf *qconf) in l3fwd_em_process_event_vector()
H A Dl3fwd_em_hlm.h25 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()
324 struct lcore_conf *qconf) in l3fwd_em_process_event_vector()
H A Dmain.c94 struct lcore_conf lcore_conf[RTE_MAX_LCORE]; variable
344 nb_rx_queue = lcore_conf[lcore].n_rx_queue; in init_lcore_rx_queues()
350 lcore_conf[lcore].rx_queue_list[nb_rx_queue].port_id = in init_lcore_rx_queues()
354 lcore_conf[lcore].n_rx_queue++; in init_lcore_rx_queues()
960 struct lcore_conf *qconf; in init_mem()
1021 qconf = &lcore_conf[lcore_id]; in init_mem()
1168 struct lcore_conf *qconf; in l3fwd_poll_resource_setup()
1308 qconf = &lcore_conf[lcore_id]; in l3fwd_poll_resource_setup()
1321 qconf = &lcore_conf[lcore_id]; in l3fwd_poll_resource_setup()
1458 struct lcore_conf *qconf; in main()
[all …]
H A Dl3fwd_fib.c78 fib_send_single(int nb_tx, struct lcore_conf *qconf, in fib_send_single()
108 uint16_t portid, struct lcore_conf *qconf) in fib_send_packets()
178 struct lcore_conf *qconf; in fib_main_loop()
183 qconf = &lcore_conf[lcore_id]; in fib_main_loop()
256 struct lcore_conf *lconf; in fib_event_loop()
272 lconf = &lcore_conf[lcore_id]; in fib_event_loop()
428 struct lcore_conf *lconf; in fib_process_event_vector()
432 lconf = &lcore_conf[rte_lcore_id()]; in fib_process_event_vector()
H A Dl3fwd_lpm.h10 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 Dl3fwd_em.c573 struct lcore_conf *qconf; in em_main_loop()
578 qconf = &lcore_conf[lcore_id]; in em_main_loop()
657 struct lcore_conf *lconf; in em_event_loop_single()
665 lconf = &lcore_conf[lcore_id]; in em_event_loop_single()
719 struct lcore_conf *lconf; in em_event_loop_burst()
727 lconf = &lcore_conf[lcore_id]; in em_event_loop_burst()
845 struct lcore_conf *lconf; in em_event_loop_vector()
852 lconf = &lcore_conf[lcore_id]; in em_event_loop_vector()
H A Dl3fwd_lpm_sse.h50 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 Dl3fwd_lpm_altivec.h56 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 Dl3fwd_lpm_neon.h53 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 Dl3fwd_common.h181 send_packetsx4(struct lcore_conf *qconf, uint16_t port, struct rte_mbuf *m[], in send_packetsx4()
H A Dl3fwd_altivec.h154 send_packets_multi(struct lcore_conf *qconf, struct rte_mbuf **pkts_burst, in send_packets_multi()
H A Dl3fwd_sse.h127 send_packets_multi(struct lcore_conf *qconf, struct rte_mbuf **pkts_burst, in send_packets_multi()
H A Dl3fwd_neon.h131 send_packets_multi(struct lcore_conf *qconf, struct rte_mbuf **pkts_burst, in send_packets_multi()
/dpdk/examples/l3fwd-graph/
H A Dmain.c86 struct lcore_conf { struct
95 static struct lcore_conf lcore_conf[RTE_MAX_LCORE]; variable
235 nb_rx_queue = lcore_conf[lcore].n_rx_queue; in init_lcore_rx_queues()
247 lcore_conf[lcore].n_rx_queue++; in init_lcore_rx_queues()
677 struct lcore_conf *qconf; in graph_main_loop()
684 qconf = &lcore_conf[lcore_id]; in graph_main_loop()
758 struct lcore_conf *qconf; in main()
895 qconf = &lcore_conf[lcore_id]; in main()
936 qconf = &lcore_conf[lcore_id]; in main()
1038 qconf = &lcore_conf[lcore_id]; in main()
[all …]
/dpdk/examples/l3fwd-power/
H A Dmain.c361 struct lcore_conf { struct
405 static struct lcore_conf lcore_conf[RTE_MAX_LCORE] __rte_cache_aligned; variable
484 struct lcore_conf *qconf; in send_single_packet()
698 struct lcore_conf *qconf) in l3fwd_simple_forward()
931 struct lcore_conf *qconf; in main_intr_loop()
1097 struct lcore_conf *qconf; in main_telemetry_loop()
1217 struct lcore_conf *qconf; in main_empty_poll_loop()
1322 struct lcore_conf *qconf; in main_legacy_loop()
2121 struct lcore_conf *qconf; in init_mem()
2325 struct lcore_conf *qconf; in get_current_stat_values()
[all …]
/dpdk/examples/ipsec-secgw/
H A Dipsec-secgw.c232 struct lcore_conf { struct
248 static struct lcore_conf lcore_conf[RTE_MAX_LCORE]; variable
538 const struct lcore_conf *qconf) in prepare_tx_pkt()
576 const struct lcore_conf *qconf) in prepare_tx_burst()
663 struct lcore_conf *qconf; in send_single_packet()
667 qconf = &lcore_conf[lcore_id]; in send_single_packet()
1236 struct lcore_conf *qconf; in ipsec_poll_mode_worker()
1244 qconf = &lcore_conf[lcore_id]; in ipsec_poll_mode_worker()
2086 struct lcore_conf *qconf; in add_cdev_mapping()
2260 struct lcore_conf *qconf; in port_init()
[all …]
/dpdk/examples/l3fwd-acl/
H A Dmain.c1355 struct lcore_conf { struct
1364 static struct lcore_conf lcore_conf[RTE_MAX_LCORE]; argument
1371 struct lcore_conf *qconf; in send_single_packet()
1381 qconf = &lcore_conf[lcore_id]; in send_single_packet()
1437 struct lcore_conf *qconf; in main_loop()
1444 qconf = &lcore_conf[lcore_id]; in main_loop()
1609 lcore_conf[lcore].n_rx_queue++; in init_lcore_rx_queues()
2014 struct lcore_conf *qconf; in main()
2139 qconf = &lcore_conf[lcore_id]; in main()
2180 qconf = &lcore_conf[lcore_id]; in main()
[all …]
/dpdk/doc/guides/sample_app_ug/
H A Dl3_forward.rst362 simple_ipv4_fwd_4pkts(struct rte_mbuf* m[4], uint16_t portid, struct lcore_conf *qconf)