MCPcopy Create free account
hub / github.com/F-Stack/f-stack / fill_sglist

Function fill_sglist

dpdk/drivers/crypto/nitrox/nitrox_sym_reqmgr.c:255–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255static void
256fill_sglist(struct nitrox_sgtable *sgtbl, uint16_t len, rte_iova_t iova,
257 void *virt)
258{
259 struct nitrox_sglist *sglist = sgtbl->sglist;
260 uint8_t cnt = sgtbl->map_bufs_cnt;
261
262 if (unlikely(!len))
263 return;
264
265 sglist[cnt].len = len;
266 sglist[cnt].iova = iova;
267 sglist[cnt].virt = virt;
268 sgtbl->total_bytes += len;
269 cnt++;
270 sgtbl->map_bufs_cnt = cnt;
271}
272
273static int
274create_sglist_from_mbuf(struct nitrox_sgtable *sgtbl, struct rte_mbuf *mbuf,

Callers 7

create_cipher_inbufFunction · 0.85
create_cipher_outbufFunction · 0.85
create_combined_sglistFunction · 0.85
create_aead_inbufFunction · 0.85
create_aead_oop_outbufFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected