Home
last modified time | relevance | path

Searched refs:ctl (Results 1 – 20 of 20) sorted by relevance

/dpdk/lib/pipeline/
H A Drte_swx_ctl.c1072 ctl->ts_next = calloc(ctl->info.n_tables + ctl->info.n_selectors + ctl->info.n_learners, in table_state_create()
1164 if (!ctl) in rte_swx_ctl_pipeline_free()
1177 free(ctl); in rte_swx_ctl_pipeline_free()
1191 if (!ctl) in rte_swx_ctl_pipeline_create()
1205 ctl->p = p; in rte_swx_ctl_pipeline_create()
1445 return ctl; in rte_swx_ctl_pipeline_create()
2493 rte_swx_pipeline_table_state_set(ctl->p, ctl->ts_next); in rte_swx_ctl_pipeline_commit()
2496 ctl->ts = ctl->ts_next; in rte_swx_ctl_pipeline_commit()
2547 if (!ctl) in rte_swx_ctl_pipeline_abort()
2627 if (!ctl) in rte_swx_ctl_pipeline_table_entry_read()
[all …]
H A Drte_swx_ctl.h753 rte_swx_ctl_pipeline_table_entry_add(struct rte_swx_ctl_pipeline *ctl,
775 rte_swx_ctl_pipeline_table_default_entry_add(struct rte_swx_ctl_pipeline *ctl,
798 rte_swx_ctl_pipeline_table_entry_delete(struct rte_swx_ctl_pipeline *ctl,
823 rte_swx_ctl_pipeline_selector_group_add(struct rte_swx_ctl_pipeline *ctl,
846 rte_swx_ctl_pipeline_selector_group_delete(struct rte_swx_ctl_pipeline *ctl,
945 rte_swx_ctl_pipeline_commit(struct rte_swx_ctl_pipeline *ctl,
958 rte_swx_ctl_pipeline_abort(struct rte_swx_ctl_pipeline *ctl);
981 rte_swx_ctl_pipeline_table_entry_read(struct rte_swx_ctl_pipeline *ctl,
1030 struct rte_swx_ctl_pipeline *ctl,
1051 struct rte_swx_ctl_pipeline *ctl,
[all …]
/dpdk/drivers/net/octeontx/base/
H A Docteontx_pkovf.c196 while (dq < RTE_DIM(ctl->dq_map)) { in octeontx_pko_dq_range_lookup()
200 dq < RTE_DIM(ctl->dq_map)) { in octeontx_pko_dq_range_lookup()
224 ctl->dq_map[dq].chanid = ~chanid; in octeontx_pko_dq_range_assign()
236 rte_spinlock_lock(&ctl->lock); in octeontx_pko_dq_claim()
240 rte_spinlock_unlock(&ctl->lock); in octeontx_pko_dq_claim()
245 rte_spinlock_unlock(&ctl->lock); in octeontx_pko_dq_claim()
256 rte_spinlock_lock(&ctl->lock); in octeontx_pko_dq_free()
264 rte_spinlock_unlock(&ctl->lock); in octeontx_pko_dq_free()
306 if (!ctl->pko[dq_vf].bar0) { in octeontx_pko_chan_start()
350 if (!ctl->pko[dq_vf].bar0) { in octeontx_pko_chan_stop()
[all …]
/dpdk/drivers/raw/ifpga/base/
H A Difpga_fme_iperf.c42 ctl.csr = readq(&iperf->ch_ctl); in fme_iperf_get_cache_freeze()
43 *freeze = (u64)ctl.freeze; in fme_iperf_get_cache_freeze()
59 ctl.freeze = state; in fme_iperf_set_cache_freeze()
82 ctl.cci_chsel = channel; in read_cache_counter()
83 ctl.cache_event = event; in read_cache_counter()
133 *freeze = (u64)ctl.freeze; in fme_iperf_get_vtd_freeze()
150 ctl.freeze = state; in fme_iperf_set_vtd_freeze()
222 ctl.vtd_evtcode = event; in read_iommu_counter()
366 ctl.port_id = port_id; in fme_iperf_set_fab_port_enable()
383 *freeze = (u64)ctl.freeze; in fme_iperf_get_fab_freeze()
[all …]
H A Difpga_fme_dperf.c42 ctl.csr = readq(&dperf->fab_ctl); in fabric_pobj_is_enabled()
47 return port_id == ctl.port_id; in fabric_pobj_is_enabled()
66 ctl.csr = readq(&dperf->fab_ctl); in read_fabric_counter()
67 ctl.fab_evtcode = fab_event; in read_fabric_counter()
68 writeq(ctl.csr, &dperf->fab_ctl); in read_fabric_counter()
138 ctl.csr = readq(&dperf->fab_ctl); in fme_dperf_set_fab_port_enable()
143 ctl.port_id = port_id; in fme_dperf_set_fab_port_enable()
146 writeq(ctl.csr, &dperf->fab_ctl); in fme_dperf_set_fab_port_enable()
159 ctl.csr = readq(&dperf->fab_ctl); in fme_dperf_get_fab_freeze()
160 *freeze = (u64)ctl.freeze; in fme_dperf_get_fab_freeze()
[all …]
/dpdk/drivers/crypto/cnxk/
H A Dcn9k_ipsec.c118 struct roc_ie_on_sa_ctl *ctl) in ipsec_sa_ctl_set() argument
134 ctl->direction = ROC_IE_SA_DIR_INBOUND; in ipsec_sa_ctl_set()
248 ctl->esn_en = 1; in ipsec_sa_ctl_set()
253 ctl->copy_df = ipsec->options.copy_df; in ipsec_sa_ctl_set()
259 ctl->valid = 1; in ipsec_sa_ctl_set()
328 struct roc_ie_on_sa_ctl *ctl; in cn9k_ipsec_outb_sa_create() local
342 ctl = &out_sa->common_sa.ctl; in cn9k_ipsec_outb_sa_create()
375 switch (ctl->auth_type) { in cn9k_ipsec_outb_sa_create()
782 struct roc_ie_on_sa_ctl *ctl; in cn9k_sec_session_destroy() local
792 ctl = &out_sa->common_sa.ctl; in cn9k_sec_session_destroy()
[all …]
H A Dcn9k_ipsec_la_ops.h33 struct roc_ie_on_sa_ctl *ctl; in ipsec_antireplay_check() local
41 ctl = &common_sa->ctl; in ipsec_antireplay_check()
43 esn = ctl->esn_en; in ipsec_antireplay_check()
/dpdk/drivers/common/cnxk/
H A Dcnxk_security.c619 ctl->direction = ROC_IE_SA_DIR_INBOUND; in onf_ipsec_sa_common_param_fill()
624 ctl->direction = ROC_IE_SA_DIR_OUTBOUND; in onf_ipsec_sa_common_param_fill()
649 ctl->ipsec_mode = ROC_IE_SA_MODE_TUNNEL; in onf_ipsec_sa_common_param_fill()
662 ctl->auth_type = ROC_IE_ON_SA_AUTH_NULL; in onf_ipsec_sa_common_param_fill()
720 ctl->esn_en = 1; in onf_ipsec_sa_common_param_fill()
731 struct roc_ie_onf_sa_ctl *ctl = &sa->ctl; in cnxk_onf_ipsec_inb_sa_fill() local
743 ctl->valid = 1; in cnxk_onf_ipsec_inb_sa_fill()
753 struct roc_ie_onf_sa_ctl *ctl = &sa->ctl; in cnxk_onf_ipsec_outb_sa_fill() local
790 ctl->valid = 1; in cnxk_onf_ipsec_outb_sa_fill()
797 return !!sa->ctl.valid; in cnxk_onf_ipsec_inb_sa_valid()
[all …]
H A Droc_ie_on.h165 struct roc_ie_on_sa_ctl ctl; member
277 struct roc_ie_onf_sa_ctl ctl; member
297 struct roc_ie_onf_sa_ctl ctl; member
/dpdk/examples/pipeline/
H A Dcli.c578 if (!p || p->ctl) { in cmd_pipeline_port_in()
820 if (!p || p->ctl) { in cmd_pipeline_port_out()
1008 if (!p || p->ctl) { in cmd_pipeline_build()
1031 if (!p->ctl) { in cmd_pipeline_build()
1126 if (!p || !p->ctl) { in cmd_pipeline_table_add()
1224 if (!p || !p->ctl) { in cmd_pipeline_table_delete()
1322 if (!p || !p->ctl) { in cmd_pipeline_table_default()
1370 if (!p || !p->ctl) { in cmd_pipeline_table_show()
1412 if (!p || !p->ctl) { in cmd_pipeline_selector_group_add()
1461 if (!p || !p->ctl) { in cmd_pipeline_selector_group_delete()
[all …]
H A Dobj.h154 struct rte_swx_ctl_pipeline *ctl; member
/dpdk/drivers/net/cnxk/
H A Dcnxk_ethdev_sec_telemetry.c19 struct roc_ie_onf_sa_ctl ctl; in copy_outb_sa_9k() member
26 w0.ctl = out_sa->ctl; in copy_outb_sa_9k()
52 struct roc_ie_onf_sa_ctl ctl; in copy_inb_sa_9k() member
59 w0.ctl = in_sa->ctl; in copy_inb_sa_9k()
H A Dcn9k_ethdev_sec.c209 if (inb_sa->ctl.valid) { in cn9k_eth_sec_session_create()
292 if (outb_sa->ctl.enc_type == ROC_IE_ON_SA_ENC_AES_GCM) in cn9k_eth_sec_session_create()
356 inb_sa->ctl.valid = 0; in cn9k_eth_sec_session_destroy()
363 outb_sa->ctl.valid = 0; in cn9k_eth_sec_session_destroy()
H A Dcn9k_rx.h186 esn = sa->ctl.esn_en; in ipsec_antireplay_check()
/dpdk/drivers/net/memif/
H A Dmemif_socket.c36 char ctl[CMSG_SPACE(sizeof(int))]; in memif_msg_send() local
44 memset(&ctl, 0, sizeof(ctl)); in memif_msg_send()
45 mh.msg_control = ctl; in memif_msg_send()
46 mh.msg_controllen = sizeof(ctl); in memif_msg_send()
635 char ctl[CMSG_SPACE(sizeof(int)) + in memif_msg_receive() local
654 mh.msg_control = ctl; in memif_msg_receive()
655 mh.msg_controllen = sizeof(ctl); in memif_msg_receive()
/dpdk/drivers/net/enic/base/
H A Dvnic_flowman.h141 } ctl; member
/dpdk/drivers/net/cxgbe/base/
H A Dt4vf_hw.c638 cmd.u.ctl.nstats_ix = in t4vf_get_port_stats_fw()
645 memcpy(fwsp, &rpl.u.ctl.stat0, sizeof(__be64) * nstats); in t4vf_get_port_stats_fw()
H A Dt4_hw.c309 u32 v, ctl, pcie_fw = 0; in t4_wr_mbox_meat_timeout() local
382 ctl = t4_read_reg(adap, ctl_reg); in t4_wr_mbox_meat_timeout()
383 v = G_MBOWNER(ctl); in t4_wr_mbox_meat_timeout()
407 if (ctl & F_MBMSGVALID) { in t4_wr_mbox_meat_timeout()
H A Dt4fw_interface.h1554 } ctl; member
2000 } ctl; member
/dpdk/drivers/net/bnx2x/
H A Dbnx2x.c9871 uint32_t data, ctl, cnt = 100; local
9890 ctl = ((addr_encode << IGU_CTRL_REG_ADDRESS_SHIFT) |
9899 ctl, igu_addr_ctl);
9900 REG_WR(sc, igu_addr_ctl, ctl);