Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/compress/qat/
H A Dqat_comp.c485 struct rte_mbuf *sgl_buf = pc->dst_data; in qat_comp_response_data_copy() local
500 pc->dst_data = sgl_buf->next; in qat_comp_response_data_copy()
507 sgl_buf = sgl_buf->next; in qat_comp_response_data_copy()
510 while (prod > rte_pktmbuf_data_len(sgl_buf)) { in qat_comp_response_data_copy()
517 rte_pktmbuf_data_len(sgl_buf)); in qat_comp_response_data_copy()
519 prod -= rte_pktmbuf_data_len(sgl_buf); in qat_comp_response_data_copy()
520 sent += rte_pktmbuf_data_len(sgl_buf); in qat_comp_response_data_copy()
522 sgl_buf = sgl_buf->next; in qat_comp_response_data_copy()
532 if (prod == rte_pktmbuf_data_len(sgl_buf)) { in qat_comp_response_data_copy()
533 pc->dst_data = sgl_buf->next; in qat_comp_response_data_copy()
[all …]
/f-stack/dpdk/drivers/crypto/qat/
H A Dqat_sym.c536 struct rte_mbuf *sgl_buf = in qat_sym_build_request() local
540 while (remaining_off >= rte_pktmbuf_data_len(sgl_buf) in qat_sym_build_request()
541 && sgl_buf->next != NULL) { in qat_sym_build_request()
542 remaining_off -= rte_pktmbuf_data_len(sgl_buf); in qat_sym_build_request()
543 sgl_buf = sgl_buf->next; in qat_sym_build_request()
547 sgl_buf, remaining_off); in qat_sym_build_request()
/f-stack/dpdk/app/test/
H A Dtest_cryptodev.c2603 struct rte_mbuf *sgl_buf = (op_mode == IN_PLACE ? in create_wireless_algo_auth_cipher_operation() local
2605 while (remaining_off >= rte_pktmbuf_data_len(sgl_buf)) { in create_wireless_algo_auth_cipher_operation()
2606 remaining_off -= rte_pktmbuf_data_len(sgl_buf); in create_wireless_algo_auth_cipher_operation()
2607 sgl_buf = sgl_buf->next; in create_wireless_algo_auth_cipher_operation()
2609 sym_op->auth.digest.data = rte_pktmbuf_mtod_offset(sgl_buf, in create_wireless_algo_auth_cipher_operation()
2611 sym_op->auth.digest.phys_addr = rte_pktmbuf_iova_offset(sgl_buf, in create_wireless_algo_auth_cipher_operation()
2614 while (sgl_buf->next != NULL) { in create_wireless_algo_auth_cipher_operation()
2615 memset(rte_pktmbuf_mtod(sgl_buf, uint8_t *), in create_wireless_algo_auth_cipher_operation()
2616 0, rte_pktmbuf_data_len(sgl_buf)); in create_wireless_algo_auth_cipher_operation()
2617 sgl_buf = sgl_buf->next; in create_wireless_algo_auth_cipher_operation()