Home
last modified time | relevance | path

Searched refs:cqp (Results 1 – 3 of 3) sorted by relevance

/f-stack/dpdk/examples/ipsec-secgw/
H A Dipsec_process.c38 len = cqp->len; in enqueue_cop_bulk()
45 n = rte_cryptodev_enqueue_burst(cqp->id, cqp->qp, cop, num); in enqueue_cop_bulk()
46 cqp->in_flight += n; in enqueue_cop_bulk()
66 n = rte_cryptodev_enqueue_burst(cqp->id, cqp->qp, in enqueue_cop_bulk()
67 cqp->buf, len); in enqueue_cop_bulk()
68 cqp->in_flight += n; in enqueue_cop_bulk()
76 cqp->len = len; in enqueue_cop_bulk()
185 struct cdev_qp *cqp; in ipsec_prepare_crypto_group() local
337 if (cqp->in_flight == 0) in cqp_dequeue()
340 n = rte_cryptodev_dequeue_burst(cqp->id, cqp->qp, cop, num); in cqp_dequeue()
[all …]
H A Dipsec.c498 len = cqp->len; in enqueue_cop_burst()
499 ret = rte_cryptodev_enqueue_burst(cqp->id, cqp->qp, cqp->buf, len); in enqueue_cop_burst()
503 cqp->id, cqp->qp, ret, len); in enqueue_cop_burst()
508 cqp->in_flight += ret; in enqueue_cop_burst()
509 cqp->len = 0; in enqueue_cop_burst()
515 cqp->buf[cqp->len++] = cop; in enqueue_cop()
518 enqueue_cop_burst(cqp); in enqueue_cop()
669 struct cdev_qp *cqp; in ipsec_dequeue() local
675 if (cqp->in_flight == 0) in ipsec_dequeue()
678 nb_cops = rte_cryptodev_dequeue_burst(cqp->id, cqp->qp, in ipsec_dequeue()
[all …]
H A Dipsec.h397 enqueue_cop_burst(struct cdev_qp *cqp);