Home
last modified time | relevance | path

Searched refs:tx_cpt (Results 1 – 2 of 2) sorted by relevance

/f-stack/dpdk/drivers/common/octeontx2/
H A Dotx2_sec_idev.c45 cfg->tx_cpt[i].qp = NULL; in otx2_sec_idev_cfg_init()
46 rte_atomic16_set(&cfg->tx_cpt[i].ref_cnt, 0); in otx2_sec_idev_cfg_init()
68 if (cfg->tx_cpt[i].qp == NULL) { in otx2_sec_idev_tx_cpt_qp_add()
69 cfg->tx_cpt[i].qp = qp; in otx2_sec_idev_tx_cpt_qp_add()
98 if (cfg->tx_cpt[i].qp != qp) in otx2_sec_idev_tx_cpt_qp_remove()
105 cfg->tx_cpt[i].qp = NULL; in otx2_sec_idev_tx_cpt_qp_remove()
140 if (cfg->tx_cpt[index].qp != NULL) in otx2_sec_idev_tx_cpt_qp_get()
150 *qp = cfg->tx_cpt[index].qp; in otx2_sec_idev_tx_cpt_qp_get()
151 rte_atomic16_inc(&cfg->tx_cpt[index].ref_cnt); in otx2_sec_idev_tx_cpt_qp_get()
175 if (cfg->tx_cpt[i].qp == qp) { in otx2_sec_idev_tx_cpt_qp_put()
[all …]
H A Dotx2_sec_idev.h19 } tx_cpt[OTX2_MAX_CPT_QP_PER_PORT]; member