Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/bonding/
H A Drte_eth_bond_8023ad.h65 struct port_params { struct
81 struct port_params port_params; argument
147 struct port_params actor;
149 struct port_params partner;
H A Drte_eth_bond_8023ad.c103 l->actor.port_params.key, in bond_print_lacp()
104 l->actor.port_params.port_priority, in bond_print_lacp()
105 l->actor.port_params.port_number, in bond_print_lacp()
111 l->partner.port_params.key, in bond_print_lacp()
113 l->partner.port_params.port_number, in bond_print_lacp()
315 sizeof(struct port_params)); in rx_machine()
326 &lacp->partner.port_params.system) && in rx_machine()
330 lacp->partner.port_params.port_number; in rx_machine()
369 sizeof(struct port_params)); in rx_machine()
615 sizeof(struct port_params)); in tx_machine()
[all …]
H A Deth_bond_8023ad_private.h95 struct port_params actor;
106 struct port_params partner;
108 struct port_params partner_admin;
/f-stack/dpdk/app/test-pipeline/
H A Dpipeline_stub.c43 struct rte_pipeline_port_in_params port_params = { in app_main_loop_worker_pipeline_stub() local
51 if (rte_pipeline_port_in_create(p, &port_params, in app_main_loop_worker_pipeline_stub()
64 struct rte_pipeline_port_out_params port_params = { in app_main_loop_worker_pipeline_stub() local
71 if (rte_pipeline_port_out_create(p, &port_params, in app_main_loop_worker_pipeline_stub()
H A Dpipeline_lpm.c52 struct rte_pipeline_port_in_params port_params = { in app_main_loop_worker_pipeline_lpm() local
60 if (rte_pipeline_port_in_create(p, &port_params, in app_main_loop_worker_pipeline_lpm()
73 struct rte_pipeline_port_out_params port_params = { in app_main_loop_worker_pipeline_lpm() local
80 if (rte_pipeline_port_out_create(p, &port_params, in app_main_loop_worker_pipeline_lpm()
H A Dpipeline_lpm_ipv6.c49 struct rte_pipeline_port_in_params port_params = { in app_main_loop_worker_pipeline_lpm_ipv6() local
57 if (rte_pipeline_port_in_create(p, &port_params, in app_main_loop_worker_pipeline_lpm_ipv6()
70 struct rte_pipeline_port_out_params port_params = { in app_main_loop_worker_pipeline_lpm_ipv6() local
77 if (rte_pipeline_port_out_create(p, &port_params, in app_main_loop_worker_pipeline_lpm_ipv6()
H A Dpipeline_acl.c109 struct rte_pipeline_port_in_params port_params = { in app_main_loop_worker_pipeline_acl() local
117 if (rte_pipeline_port_in_create(p, &port_params, in app_main_loop_worker_pipeline_acl()
130 struct rte_pipeline_port_out_params port_params = { in app_main_loop_worker_pipeline_acl() local
137 if (rte_pipeline_port_out_create(p, &port_params, in app_main_loop_worker_pipeline_acl()
H A Dpipeline_hash.c110 struct rte_pipeline_port_in_params port_params = { in app_main_loop_worker_pipeline_hash() local
118 if (rte_pipeline_port_in_create(p, &port_params, in app_main_loop_worker_pipeline_hash()
131 struct rte_pipeline_port_out_params port_params = { in app_main_loop_worker_pipeline_hash() local
138 if (rte_pipeline_port_out_create(p, &port_params, in app_main_loop_worker_pipeline_hash()
/f-stack/dpdk/examples/qos_sched/
H A Dstats.c26 subport_id >= port_params.n_subports_per_port || in qavg_q()
71 if (i == nb_pfc || subport_id >= port_params.n_subports_per_port || in qavg_tcpipe()
127 subport_id >= port_params.n_subports_per_port || in qavg_pipe()
174 subport_id >= port_params.n_subports_per_port || in qavg_tcsubport()
244 subport_id >= port_params.n_subports_per_port) in qavg_subport()
296 if (i == nb_pfc || subport_id >= port_params.n_subports_per_port) in subport_stat()
335 subport_id >= port_params.n_subports_per_port || in pipe_stat()
H A Dinit.c286 struct rte_sched_port_params port_params = { variable
314 port_params.socket = socketid; in app_init_sched_port()
315 port_params.rate = (uint64_t) link.link_speed * 1000 * 1000 / 8; in app_init_sched_port()
317 port_params.name = port_name; in app_init_sched_port()
319 port = rte_sched_port_config(&port_params); in app_init_sched_port()
324 for (subport = 0; subport < port_params.n_subports_per_port; subport ++) { in app_init_sched_port()
361 cfg_load_port(file, &port_params); in app_load_cfg_profile()
H A Dcfg_file.c27 cfg_load_port(struct rte_cfgfile *cfg, struct rte_sched_port_params *port_params) in cfg_load_port() argument
31 if (!cfg || !port_params) in cfg_load_port()
36 port_params->frame_overhead = (uint32_t)atoi(entry); in cfg_load_port()
40 port_params->n_subports_per_port = (uint32_t)atoi(entry); in cfg_load_port()
H A Dmain.h155 extern struct rte_sched_port_params port_params;
H A Dapp_thread.c40 (port_params.n_subports_per_port - 1); in get_pkt_sched()
/f-stack/dpdk/app/test/
H A Dtest_table_pipeline.c258 struct rte_pipeline_port_in_params port_params = { in setup_pipeline() local
267 port_params.f_action = NULL; in setup_pipeline()
269 ret = rte_pipeline_port_in_create(p, &port_params, in setup_pipeline()
285 struct rte_pipeline_port_out_params port_params = { in setup_pipeline() local
293 port_params.f_action = port_out_action; in setup_pipeline()
295 if (rte_pipeline_port_out_create(p, &port_params, in setup_pipeline()
H A Dtest_table_acl.c358 struct rte_pipeline_port_in_params port_params = { in setup_acl_pipeline() local
367 port_params.f_action = port_in_action; in setup_acl_pipeline()
369 ret = rte_pipeline_port_in_create(p, &port_params, in setup_acl_pipeline()
385 struct rte_pipeline_port_out_params port_params = { in setup_acl_pipeline() local
393 if (rte_pipeline_port_out_create(p, &port_params, in setup_acl_pipeline()
H A Dtest_link_bonding_mode4.c513 memcpy(&lacp->partner.port_params, &lacp->actor.port_params, in make_lacp_reply()
514 sizeof(struct port_params)); in make_lacp_reply()
518 rte_ether_addr_copy(&parnter_system, &lacp->actor.port_params.system); in make_lacp_reply()
/f-stack/dpdk/drivers/net/qede/base/
H A Decore_init_fw_funcs.c269 port_params[MAX_NUM_PORTS]) in ecore_cmdq_lines_rt_init()
280 if (!port_params[port_id].active) in ecore_cmdq_lines_rt_init()
286 phys_lines = port_params[port_id].num_pbf_cmd_lines; in ecore_cmdq_lines_rt_init()
292 if (((port_params[port_id].active_phys_tcs >> tc) & in ecore_cmdq_lines_rt_init()
300 if (((port_params[port_id].active_phys_tcs >> in ecore_cmdq_lines_rt_init()
337 port_params[MAX_NUM_PORTS]) in ecore_btb_blocks_rt_init()
343 if (!port_params[port_id].active) in ecore_btb_blocks_rt_init()
355 if (((port_params[port_id].active_phys_tcs >> tc) & in ecore_btb_blocks_rt_init()
748 port_params[MAX_NUM_PORTS], in ecore_qm_common_rt_init()
781 max_phys_tcs_per_port, port_params); in ecore_qm_common_rt_init()
[all …]
H A Decore_init_fw_funcs.h65 struct init_qm_port_params port_params[MAX_NUM_PORTS],
/f-stack/dpdk/drivers/net/dpaa/fmlib/
H A Dfm_vsp_ext.h29 } port_params; member
/f-stack/dpdk/lib/librte_sched/
H A Drte_sched.h405 rte_sched_port_get_memory_footprint(struct rte_sched_port_params *port_params,
H A Drte_sched.c888 rte_sched_port_get_memory_footprint(struct rte_sched_port_params *port_params, in rte_sched_port_get_memory_footprint() argument
894 status = rte_sched_port_check_params(port_params); in rte_sched_port_get_memory_footprint()
903 for (i = 0; i < port_params->n_subports_per_port; i++) { in rte_sched_port_get_memory_footprint()
907 port_params->n_pipes_per_subport, in rte_sched_port_get_memory_footprint()
908 port_params->rate); in rte_sched_port_get_memory_footprint()
920 for (i = 0; i < port_params->n_subports_per_port; i++) { in rte_sched_port_get_memory_footprint()
/f-stack/dpdk/drivers/net/dpaa/
H A Ddpaa_flow.c967 vsp_params.port_params.port_id = idx; in dpaa_port_vsp_configure()
969 vsp_params.port_params.port_type = e_FM_PORT_TYPE_RX; in dpaa_port_vsp_configure()
971 vsp_params.port_params.port_type = e_FM_PORT_TYPE_RX_2_5G; in dpaa_port_vsp_configure()
973 vsp_params.port_params.port_type = e_FM_PORT_TYPE_RX_10G; in dpaa_port_vsp_configure()
/f-stack/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_internals.h173 struct rte_sched_port_params port_params; member
H A Drte_eth_softnic_tm.c81 sched = rte_sched_port_config(&t->port_params); in softnic_tmgr_port_create()
86 n_subports = t->port_params.n_subports_per_port; in softnic_tmgr_port_create()
2749 t->port_params = (struct rte_sched_port_params) { in hierarchy_blueprints_create()