Home
last modified time | relevance | path

Searched refs:rsp (Results 1 – 25 of 61) sorted by relevance

123

/dpdk/drivers/common/cnxk/
H A Droc_cpt_debug.c72 struct cpt_sts_rsp *rsp; in cpt_sts_print() local
90 rsp->active_cycles_pc); in cpt_sts_print()
95 rsp->ctx_aop_lat_pc); in cpt_sts_print()
97 rsp->ctx_ifetch_pc); in cpt_sts_print()
101 rsp->ctx_ffetch_pc); in cpt_sts_print()
109 rsp->ctx_psh_lat_pc); in cpt_sts_print()
113 rsp->ctx_flush_timer); in cpt_sts_print()
117 rsp->rxc_active_sts); in cpt_sts_print()
119 rsp->rxc_zombie_sts); in cpt_sts_print()
122 rsp->x2p_link_cfg0); in cpt_sts_print()
[all …]
H A Droc_nix_ops.c176 struct nix_lso_format_cfg_rsp *rsp; in roc_nix_lso_custom_fmt_setup() local
191 rc = mbox_process_msg(mbox, (void *)&rsp); in roc_nix_lso_custom_fmt_setup()
196 return rsp->lso_format_idx; in roc_nix_lso_custom_fmt_setup()
204 struct nix_lso_format_cfg_rsp *rsp; in roc_nix_lso_fmt_setup() local
215 rc = mbox_process_msg(mbox, (void *)&rsp); in roc_nix_lso_fmt_setup()
231 rc = mbox_process_msg(mbox, (void *)&rsp); in roc_nix_lso_fmt_setup()
247 rc = mbox_process_msg(mbox, (void *)&rsp); in roc_nix_lso_fmt_setup()
261 rc = mbox_process_msg(mbox, (void *)&rsp); in roc_nix_lso_fmt_setup()
275 rc = mbox_process_msg(mbox, (void *)&rsp); in roc_nix_lso_fmt_setup()
374 struct msg_resp *rsp; in roc_nix_switch_hdr_set() local
[all …]
H A Droc_nix_fc.c38 struct nix_bp_cfg_rsp *rsp; in nix_fc_rxchan_bpid_set() local
112 struct nix_aq_enq_rsp *rsp; in nix_fc_cq_config_get() local
267 if (rsp->rx_pause && rsp->tx_pause) in roc_nix_fc_mode_get()
269 else if (rsp->rx_pause) in roc_nix_fc_mode_get()
271 else if (rsp->tx_pause) in roc_nix_fc_mode_get()
328 struct npa_aq_enq_rsp *rsp; in rox_nix_fc_npa_bp_cfg() local
352 limit = rsp->aura.limit; in rox_nix_fc_npa_bp_cfg()
354 if (rsp->aura.bp_ena) { in rox_nix_fc_npa_bp_cfg()
384 if (rsp->aura.bp) in rox_nix_fc_npa_bp_cfg()
421 struct cgx_pfc_rsp *rsp; in roc_nix_pfc_mode_set() local
[all …]
H A Droc_ree.c14 struct free_rsrcs_rsp *rsp; in roc_ree_available_queues_get() local
25 *nb_queues = rsp->ree0; in roc_ree_available_queues_get()
27 *nb_queues = rsp->ree1; in roc_ree_available_queues_get()
98 struct msix_offset_rsp *rsp; in roc_ree_msix_offsets_get() local
266 mbox_memcpy(rule_db_ptr, rsp->rule_db, rsp->len); in roc_ree_rule_db_get()
267 len += rsp->len; in roc_ree_rule_db_get()
269 last = rsp->is_last; in roc_ree_rule_db_get()
294 mbox_memcpy(rule_dbi, rsp->rule_db, rsp->len); in roc_ree_rule_db_get()
310 sizeof(*rsp)); in roc_ree_rule_db_len_get()
324 *rule_db_len = rsp->len; in roc_ree_rule_db_len_get()
[all …]
H A Droc_nix.c149 struct nix_lf_alloc_rsp *rsp; in roc_nix_lf_alloc() local
177 nix->sqb_size = rsp->sqb_size; in roc_nix_lf_alloc()
182 nix->rx_chan_cnt = rsp->rx_chan_cnt; in roc_nix_lf_alloc()
188 nix->cints = rsp->cints; in roc_nix_lf_alloc()
189 roc_nix->cints = rsp->cints; in roc_nix_lf_alloc()
190 nix->qints = rsp->qints; in roc_nix_lf_alloc()
191 nix->ptp_en = rsp->hw_rx_tstamp_en; in roc_nix_lf_alloc()
193 nix->cgx_links = rsp->cgx_links; in roc_nix_lf_alloc()
194 nix->lbk_links = rsp->lbk_links; in roc_nix_lf_alloc()
195 nix->sdp_links = rsp->sdp_links; in roc_nix_lf_alloc()
[all …]
H A Droc_nix_mac.c90 struct cgx_max_dmac_entries_get_rsp *rsp; in roc_nix_mac_max_entries_get() local
98 rc = mbox_process_msg(mbox, (void *)&rsp); in roc_nix_mac_max_entries_get()
102 return rsp->max_dmac_filters ? rsp->max_dmac_filters : 1; in roc_nix_mac_max_entries_get()
111 struct cgx_mac_addr_add_rsp *rsp; in roc_nix_mac_addr_add() local
123 rc = mbox_process_msg(mbox, (void *)&rsp); in roc_nix_mac_addr_add()
127 return rsp->index; in roc_nix_mac_addr_add()
172 struct cgx_link_info_msg *rsp; in roc_nix_mac_link_info_get() local
183 link_info->speed = rsp->link_info.speed; in roc_nix_mac_link_info_get()
184 link_info->autoneg = rsp->link_info.an; in roc_nix_mac_link_info_get()
185 link_info->fec = rsp->link_info.fec; in roc_nix_mac_link_info_get()
[all …]
H A Droc_nix_vlan.c19 struct npc_mcam_read_entry_rsp **rsp) in roc_nix_vlan_mcam_entry_read() argument
30 return mbox_process_msg(mbox, (void **)rsp); in roc_nix_vlan_mcam_entry_read()
40 struct msghdr *rsp; in roc_nix_vlan_mcam_entry_write() local
51 return mbox_process_msg(mbox, (void *)&rsp); in roc_nix_vlan_mcam_entry_write()
60 struct npc_mcam_alloc_and_write_entry_rsp *rsp; in roc_nix_vlan_mcam_entry_alloc_and_write() local
73 rc = mbox_process_msg(mbox, (void *)&rsp); in roc_nix_vlan_mcam_entry_alloc_and_write()
77 return rsp->entry; in roc_nix_vlan_mcam_entry_alloc_and_write()
147 struct nix_vtag_config_rsp *rsp; in roc_nix_vlan_insert_ena_dis() local
176 rc = mbox_process_msg(mbox, (void *)&rsp); in roc_nix_vlan_insert_ena_dis()
182 (((uint64_t)rsp->vtag1_idx << 32) | rsp->vtag0_idx); in roc_nix_vlan_insert_ena_dis()
H A Droc_tim.c14 struct msix_offset_rsp *rsp; in tim_fill_msix() local
18 rc = mbox_process_msg(dev->mbox, (void **)&rsp); in tim_fill_msix()
23 tim->tim_msix_offsets[i] = rsp->timlf_msixoff[i]; in tim_fill_msix()
94 struct tim_enable_rsp *rsp; in roc_tim_lf_enable() local
112 *cur_bkt = rsp->currentbucket; in roc_tim_lf_enable()
114 *start_tsc = rsp->timestarted; in roc_tim_lf_enable()
200 struct tim_intvl_rsp *rsp; in roc_tim_lf_interval() local
217 *intervalns = rsp->intvl_ns; in roc_tim_lf_interval()
218 *interval = rsp->intvl_cyc; in roc_tim_lf_interval()
232 struct tim_lf_alloc_rsp *rsp; in roc_tim_lf_alloc() local
[all …]
H A Droc_mbox.c409 struct ready_msg_rsp *rsp; in send_ready_msg() local
420 rsp->hdr.ver, MBOX_VERSION); in send_ready_msg()
425 *pcifunc = rsp->hdr.pcifunc; in send_ready_msg()
429 dev_rclk_freq = rsp->rclk_freq; in send_ready_msg()
438 struct msg_rsp *rsp; in reply_invalid_msg() local
440 rsp = (struct msg_rsp *)mbox_alloc_msg(mbox, devid, sizeof(*rsp)); in reply_invalid_msg()
441 if (!rsp) in reply_invalid_msg()
443 rsp->hdr.id = id; in reply_invalid_msg()
444 rsp->hdr.sig = MBOX_RSP_SIG; in reply_invalid_msg()
445 rsp->hdr.rc = MBOX_MSG_INVALID; in reply_invalid_msg()
[all …]
H A Droc_nix_bpf.c315 struct nix_bandprof_get_hwinfo_rsp *rsp; in roc_nix_bpf_timeunit_get() local
327 rc = mbox_process_msg(mbox, (void *)&rsp); in roc_nix_bpf_timeunit_get()
331 *time_unit = rsp->policer_timeunit; in roc_nix_bpf_timeunit_get()
342 struct nix_bandprof_get_hwinfo_rsp *rsp; in roc_nix_bpf_count_get() local
358 rc = mbox_process_msg(mbox, (void *)&rsp); in roc_nix_bpf_count_get()
387 struct nix_bandprof_alloc_rsp *rsp; in roc_nix_bpf_alloc() local
432 rc = mbox_process_msg(mbox, (void *)&rsp); in roc_nix_bpf_alloc()
702 struct nix_cn10k_aq_enq_rsp *rsp; in roc_nix_bpf_dump() local
720 rc = mbox_process_msg(mbox, (void *)&rsp); in roc_nix_bpf_dump()
723 nix_lf_bpf_dump(&rsp->prof); in roc_nix_bpf_dump()
[all …]
H A Droc_nix_ptp.c57 struct ptp_rsp *rsp; in roc_nix_ptp_clock_read() local
65 rc = mbox_process_msg(mbox, (void *)&rsp); in roc_nix_ptp_clock_read()
70 *clock = rsp->clk; in roc_nix_ptp_clock_read()
73 *tsc = rsp->tsc; in roc_nix_ptp_clock_read()
83 struct ptp_rsp *rsp; in roc_nix_ptp_sync_time_adjust() local
98 return mbox_process_msg(mbox, (void *)&rsp); in roc_nix_ptp_sync_time_adjust()
H A Droc_nix_mcast.c23 struct npc_mcam_alloc_entry_rsp *rsp; in roc_nix_mcast_mcam_entry_alloc() local
32 rc = mbox_process_msg(mbox, (void *)&rsp); in roc_nix_mcast_mcam_entry_alloc()
36 for (i = 0; i < rsp->count; i++) in roc_nix_mcast_mcam_entry_alloc()
37 index[i] = rsp->entry_list[i]; in roc_nix_mcast_mcam_entry_alloc()
39 return rsp->count; in roc_nix_mcast_mcam_entry_alloc()
H A Droc_dev.c93 if (rsp) in pf_af_sync_msg()
94 *rsp = msghdr; in pf_af_sync_msg()
110 struct mbox_msghdr *rsp; in af_pf_wait_msg() local
155 if (!rsp) { in af_pf_wait_msg()
168 rsp->rc = msg->rc; in af_pf_wait_msg()
243 mbox, vf, sizeof(*rsp)); in vf_pf_process_msgs()
244 if (!rsp) { in vf_pf_process_msgs()
254 rsp->hdr.rc = 0; in vf_pf_process_msgs()
512 rsp->hdr.rc = 0; in mbox_up_handler_cgx_link_event()
519 struct msg_rsp *rsp) in mbox_up_handler_cgx_ptp_rx_info() argument
[all …]
H A Droc_npc_mcam.c11 struct npc_mcam_alloc_counter_rsp *rsp; in npc_mcam_alloc_counter() local
19 rc = mbox_process_msg(mbox, (void *)&rsp); in npc_mcam_alloc_counter()
22 *ctr = rsp->cntr_list[0]; in npc_mcam_alloc_counter()
44 struct npc_mcam_oper_counter_rsp *rsp; in npc_mcam_read_counter() local
55 *count = rsp->stat; in npc_mcam_read_counter()
345 for (i = 0; i < rsp->count; i++) in npc_mcam_alloc_entries()
347 *resp_count = rsp->count; in npc_mcam_alloc_entries()
372 mcam->mcam_id = rsp->entry; in npc_mcam_alloc_entry()
374 *resp_count = rsp->count; in npc_mcam_alloc_entry()
402 struct mbox_msghdr *rsp; in npc_mcam_write_entry() local
[all …]
H A Droc_cpt.c364 struct free_rsrcs_rsp *rsp; in cpt_available_lfs_get() local
369 rc = mbox_process_msg(mbox, (void *)&rsp); in cpt_available_lfs_get()
373 *nb_lf = PLT_MAX((uint16_t)rsp->cpt, (uint16_t)rsp->cpt1); in cpt_available_lfs_get()
413 struct cpt_caps_rsp_msg *rsp; in cpt_hardware_caps_get() local
422 roc_cpt->cpt_revision = rsp->cpt_revision; in cpt_hardware_caps_get()
486 struct msix_offset_rsp *rsp; in roc_cpt_dev_configure() local
529 rsp->cpt1_lf_msixoff[i] : in roc_cpt_dev_configure()
530 rsp->cptlf_msixoff[i]; in roc_cpt_dev_configure()
783 struct cpt_eng_grp_rsp *rsp; in roc_cpt_eng_grp_add() local
804 if (rsp->eng_grp_num > 8) { in roc_cpt_eng_grp_add()
[all …]
H A Droc_npa_debug.c93 struct npa_aq_enq_rsp *rsp; in roc_npa_ctx_dump() local
114 rc = mbox_process_msg(lf->mbox, (void *)&rsp); in roc_npa_ctx_dump()
120 npa_pool_dump(&rsp->pool); in roc_npa_ctx_dump()
135 rc = mbox_process_msg(lf->mbox, (void *)&rsp); in roc_npa_ctx_dump()
141 npa_aura_dump(&rsp->aura); in roc_npa_ctx_dump()
/dpdk/examples/ip_pipeline/
H A Dthread.c228 free(rsp); in thread_msg_free()
251 return rsp; in thread_msg_send_recv()
465 return rsp; in thread_msg_handle_pipeline_enable()
487 return rsp; in thread_msg_handle_pipeline_enable()
519 return rsp; in thread_msg_handle_pipeline_disable()
524 return rsp; in thread_msg_handle_pipeline_disable()
745 free(rsp); in pipeline_msg_free()
767 return rsp; in pipeline_msg_send_recv()
2240 return rsp; in pipeline_msg_handle_port_in_stats_read()
2253 return rsp; in pipeline_msg_handle_port_in_enable()
[all …]
/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_thread.c256 free(rsp); in thread_msg_free()
280 return rsp; in thread_msg_send_recv()
516 return rsp; in thread_msg_handle_pipeline_enable()
548 return rsp; in thread_msg_handle_pipeline_disable()
553 return rsp; in thread_msg_handle_pipeline_disable()
766 free(rsp); in pipeline_msg_free()
788 return rsp; in pipeline_msg_send_recv()
2092 return rsp; in pipeline_msg_handle_port_in_stats_read()
2105 return rsp; in pipeline_msg_handle_port_in_enable()
2118 return rsp; in pipeline_msg_handle_port_in_disable()
[all …]
/dpdk/examples/pipeline/
H A Dthread.c205 free(rsp); in thread_msg_free()
228 return rsp; in thread_msg_send_recv()
425 rsp->status = -1; in thread_msg_handle_pipeline_enable()
426 return rsp; in thread_msg_handle_pipeline_enable()
439 rsp->status = 0; in thread_msg_handle_pipeline_enable()
440 return rsp; in thread_msg_handle_pipeline_enable()
471 rsp->status = 0; in thread_msg_handle_pipeline_disable()
472 return rsp; in thread_msg_handle_pipeline_disable()
476 rsp->status = 0; in thread_msg_handle_pipeline_disable()
477 return rsp; in thread_msg_handle_pipeline_disable()
[all …]
/dpdk/drivers/common/sfc_efx/base/
H A Dsiena_nic.c619 __in siena_register_set_t *rsp, in siena_nic_test_registers() argument
630 EFSYS_ASSERT(rsp->rows == 1); in siena_nic_test_registers()
657 EFX_OR_OWORD(reg, rsp->mask); in siena_nic_test_registers()
677 ++rsp; in siena_nic_test_registers()
712 address = rsp->address; in siena_nic_test_tables()
719 address += rsp->step; in siena_nic_test_tables()
723 address = rsp->address; in siena_nic_test_tables()
734 address += rsp->step; in siena_nic_test_tables()
737 ++rsp; in siena_nic_test_tables()
754 siena_register_set_t *rsp; in siena_nic_register_test() local
[all …]
/dpdk/drivers/raw/cnxk_bphy/
H A Dcnxk_bphy_cgx.c18 void *rsp; member
67 void *rsp = NULL; in cnxk_bphy_cgx_process_buf() local
90 rsp = link_info; in cnxk_bphy_cgx_process_buf()
132 rsp = fec; in cnxk_bphy_cgx_process_buf()
143 if (qp->rsp) { in cnxk_bphy_cgx_process_buf()
145 rte_free(qp->rsp); in cnxk_bphy_cgx_process_buf()
147 qp->rsp = rsp; in cnxk_bphy_cgx_process_buf()
190 if (qp->rsp) { in cnxk_bphy_cgx_dequeue_bufs()
191 buffers[0]->buf_addr = qp->rsp; in cnxk_bphy_cgx_dequeue_bufs()
192 qp->rsp = NULL; in cnxk_bphy_cgx_dequeue_bufs()
[all …]
H A Dcnxk_bphy.c178 void *rsp = NULL; in cnxk_bphy_irq_enqueue_bufs() local
214 rsp = mem; in cnxk_bphy_irq_enqueue_bufs()
222 rsp = pf_func; in cnxk_bphy_irq_enqueue_bufs()
230 rsp = pf_func; in cnxk_bphy_irq_enqueue_bufs()
237 if (qp->rsp) { in cnxk_bphy_irq_enqueue_bufs()
239 rte_free(qp->rsp); in cnxk_bphy_irq_enqueue_bufs()
241 qp->rsp = rsp; in cnxk_bphy_irq_enqueue_bufs()
262 if (qp->rsp) { in cnxk_bphy_irq_dequeue_bufs()
263 buffers[0]->buf_addr = qp->rsp; in cnxk_bphy_irq_dequeue_bufs()
264 qp->rsp = NULL; in cnxk_bphy_irq_dequeue_bufs()
/dpdk/drivers/raw/cnxk_gpio/
H A Dcnxk_gpio.c474 void *rsp = NULL; in cnxk_gpio_process_buf() local
507 if (!rsp) in cnxk_gpio_process_buf()
510 *(int *)rsp = val; in cnxk_gpio_process_buf()
519 if (!rsp) in cnxk_gpio_process_buf()
531 if (!rsp) in cnxk_gpio_process_buf()
543 if (!rsp) in cnxk_gpio_process_buf()
546 *(int *)rsp = val; in cnxk_gpio_process_buf()
560 if (gpio->rsp) { in cnxk_gpio_process_buf()
564 gpio->rsp = rsp; in cnxk_gpio_process_buf()
613 if (gpio->rsp) { in cnxk_gpio_dequeue_bufs()
[all …]
/dpdk/drivers/event/cnxk/
H A Dcnxk_eventdev_stats.c117 void *rsp; in cnxk_sso_xstats_get() local
134 rsp = &hws_stats; in cnxk_sso_xstats_get()
148 rsp = &hwgrp_stats; in cnxk_sso_xstats_get()
158 value = *(uint64_t *)((char *)rsp + xstat->offset); in cnxk_sso_xstats_get()
184 void *rsp; in cnxk_sso_xstats_reset() local
200 rsp = &hws_stats; in cnxk_sso_xstats_reset()
214 rsp = &hwgrp_stats; in cnxk_sso_xstats_reset()
223 value = *(uint64_t *)((char *)rsp + xstat->offset); in cnxk_sso_xstats_reset()
/dpdk/doc/guides/sample_app_ug/
H A Dfips_validation.rst39 The ``.rsp`` files from the site can be used to validate and compare with
40 the ``.rsp`` files created by the FIPS application.
55 running it will generate a response file or ``.rsp``. Differences between the
62 The application can be run with a ``.rsp`` file and what the outcome of that
63 will be is it will add a extra line in the generated ``.rsp`` which should be
64 the same as the ``.rsp`` used to run the application, this is useful for
96 --rsp-file FILE_PATH/FOLDER_PATH
104 * rsp-file: The path that the response file or folder is stored. separated by
111 * path-is-folder: If presented the application expects req-file and rsp-file
126 --req-file /PATH/TO/REQUEST/FILE.req --rsp-file ./PATH/TO/RESPONSE/FILE.rsp
[all …]

123