Lines Matching refs:sgtbl
251 fill_sglist(struct nitrox_sgtable *sgtbl, uint16_t len, rte_iova_t iova, in fill_sglist() argument
254 struct nitrox_sglist *sglist = sgtbl->sglist; in fill_sglist()
255 uint8_t cnt = sgtbl->map_bufs_cnt; in fill_sglist()
263 sgtbl->total_bytes += len; in fill_sglist()
265 sgtbl->map_bufs_cnt = cnt; in fill_sglist()
269 create_sglist_from_mbuf(struct nitrox_sgtable *sgtbl, struct rte_mbuf *mbuf, in create_sglist_from_mbuf() argument
272 struct nitrox_sglist *sglist = sgtbl->sglist; in create_sglist_from_mbuf()
273 uint8_t cnt = sgtbl->map_bufs_cnt; in create_sglist_from_mbuf()
292 sgtbl->total_bytes += mlen; in create_sglist_from_mbuf()
301 sgtbl->total_bytes += mlen; in create_sglist_from_mbuf()
307 sgtbl->map_bufs_cnt = cnt; in create_sglist_from_mbuf()
312 create_sgcomp(struct nitrox_sgtable *sgtbl) in create_sgcomp() argument
315 struct nitrox_sgcomp *sgcomp = sgtbl->sgcomp; in create_sgcomp()
316 struct nitrox_sglist *sglist = sgtbl->sglist; in create_sgcomp()
318 nr_sgcomp = RTE_ALIGN_MUL_CEIL(sgtbl->map_bufs_cnt, 4) / 4; in create_sgcomp()
319 sgtbl->nr_sgcomp = nr_sgcomp; in create_sgcomp()
450 struct nitrox_sgtable *sgtbl, struct rte_mbuf *mbuf) in create_cipher_auth_sglist() argument
456 fill_sglist(sgtbl, sr->iv.len, sr->iv.iova, sr->iv.virt); in create_cipher_auth_sglist()
468 err = create_sglist_from_mbuf(sgtbl, mbuf, op->sym->auth.data.offset, in create_cipher_auth_sglist()
473 err = create_sglist_from_mbuf(sgtbl, mbuf, op->sym->cipher.data.offset, in create_cipher_auth_sglist()
482 create_combined_sglist(struct nitrox_softreq *sr, struct nitrox_sgtable *sgtbl, in create_combined_sglist() argument
487 fill_sglist(sgtbl, sr->iv.len, sr->iv.iova, sr->iv.virt); in create_combined_sglist()
488 fill_sglist(sgtbl, sr->ctx->aad_length, op->sym->aead.aad.phys_addr, in create_combined_sglist()
490 return create_sglist_from_mbuf(sgtbl, mbuf, op->sym->cipher.data.offset, in create_combined_sglist()
495 create_aead_sglist(struct nitrox_softreq *sr, struct nitrox_sgtable *sgtbl, in create_aead_sglist() argument
503 err = create_cipher_auth_sglist(sr, sgtbl, mbuf); in create_aead_sglist()
506 err = create_combined_sglist(sr, sgtbl, mbuf); in create_aead_sglist()