Home
last modified time | relevance | path

Searched refs:rte_pktmbuf_data_len (Results 1 – 25 of 65) sorted by relevance

123

/dpdk/drivers/compress/zlib/
H A Dzlib_pmd.c16 (len = rte_pktmbuf_data_len(mbuf)) : 0)
45 strm->avail_in = rte_pktmbuf_data_len(mbuf_src) - op->src.offset; in process_zlib_deflate()
50 strm->avail_out = rte_pktmbuf_data_len(mbuf_dst) - op->dst.offset; in process_zlib_deflate()
123 strm->avail_in = rte_pktmbuf_data_len(mbuf_src) - op->src.offset; in process_zlib_inflate()
128 strm->avail_out = rte_pktmbuf_data_len(mbuf_dst) - op->dst.offset; in process_zlib_inflate()
202 (op->src.offset > rte_pktmbuf_data_len(op->m_src)) || in process_zlib_op()
203 (op->dst.offset > rte_pktmbuf_data_len(op->m_dst))) { in process_zlib_op()
/dpdk/drivers/common/qat/
H A Dqat_common.c37 if (offset >= rte_pktmbuf_data_len(buf)) { in qat_sgl_fill_array()
38 offset -= rte_pktmbuf_data_len(buf); in qat_sgl_fill_array()
42 list->buffers[nr].len = rte_pktmbuf_data_len(buf) - offset; in qat_sgl_fill_array()
/dpdk/drivers/net/sfc/
H A Dsfc_dp_tx.h230 while (rte_pktmbuf_data_len(*m_seg) < *header_len_remaining) { in sfc_dp_tx_pkt_extra_hdr_segs()
231 *header_len_remaining -= rte_pktmbuf_data_len(*m_seg); in sfc_dp_tx_pkt_extra_hdr_segs()
323 if (rte_pktmbuf_data_len(m_seg) > header_len_remaining) in sfc_dp_tx_prepare_pkt()
H A Dsfc_ef100_tx.c409 rte_pktmbuf_data_len(m), &dma_addr); in sfc_ef100_tx_qdesc_send_create()
415 ESF_GZ_TX_SEND_LEN, rte_pktmbuf_data_len(m), in sfc_ef100_tx_qdesc_send_create()
626 rte_pktmbuf_data_len(m_seg), &dma_addr); in sfc_ef100_xmit_tso_pkt()
631 if (rte_pktmbuf_data_len(m_seg) <= remaining_hdr_len) { in sfc_ef100_xmit_tso_pkt()
634 rte_pktmbuf_data_len(m_seg), in sfc_ef100_xmit_tso_pkt()
636 remaining_hdr_len -= rte_pktmbuf_data_len(m_seg); in sfc_ef100_xmit_tso_pkt()
649 rte_pktmbuf_data_len(m_seg) - remaining_hdr_len, in sfc_ef100_xmit_tso_pkt()
767 rte_pktmbuf_data_len(m_seg), in sfc_ef100_xmit_pkts()
770 rte_pktmbuf_data_len(m_seg), in sfc_ef100_xmit_pkts()
H A Dsfc_ef10_tx.c425 if (rte_pktmbuf_data_len(m_seg) >= header_len) { in sfc_ef10_xmit_tso_pkt()
428 if (rte_pktmbuf_data_len(m_seg) == header_len) { in sfc_ef10_xmit_tso_pkt()
530 unsigned int seg_len = rte_pktmbuf_data_len(m_seg); in sfc_ef10_xmit_tso_pkt()
696 unsigned int seg_len = rte_pktmbuf_data_len(m_seg); in sfc_ef10_xmit_pkts()
870 SFC_ASSERT(rte_pktmbuf_data_len(pkt) <= in sfc_ef10_simple_xmit_pkts()
874 rte_pktmbuf_data_len(pkt), in sfc_ef10_simple_xmit_pkts()
H A Dsfc_ef10_rx.c303 rte_pktmbuf_data_len(m) = seg_len; in sfc_ef10_rx_process_event()
350 rte_pktmbuf_data_len(m) = seg_len; in sfc_ef10_rx_process_event()
400 rte_pktmbuf_data_len(m) = seg_len; in sfc_ef10_rx_process_event()
/dpdk/lib/ipsec/
H A Dmisc.h57 n = n + rte_pktmbuf_data_len(ms) - plen; in mbuf_get_seg_ofs()
60 for (k = rte_pktmbuf_data_len(ms); n >= k; in mbuf_get_seg_ofs()
61 k = rte_pktmbuf_data_len(ms)) { in mbuf_get_seg_ofs()
/dpdk/drivers/crypto/openssl/
H A Drte_openssl_pmd.c808 offset -= rte_pktmbuf_data_len(m); in process_openssl_encryption_update()
817 l = rte_pktmbuf_data_len(m) - offset; in process_openssl_encryption_update()
870 offset -= rte_pktmbuf_data_len(m); in process_openssl_decryption_update()
879 l = rte_pktmbuf_data_len(m) - offset; in process_openssl_decryption_update()
1011 offset -= rte_pktmbuf_data_len(m); in process_openssl_cipher_des3ctr()
1017 l = rte_pktmbuf_data_len(m) - offset; in process_openssl_cipher_des3ctr()
1042 l = rte_pktmbuf_data_len(m); in process_openssl_cipher_des3ctr()
1223 offset -= rte_pktmbuf_data_len(m); in process_openssl_auth()
1247 l = rte_pktmbuf_data_len(m) < n ? rte_pktmbuf_data_len(m) : n; in process_openssl_auth()
1275 offset -= rte_pktmbuf_data_len(m); in process_openssl_auth_hmac()
[all …]
/dpdk/app/test/
H A Dtest_mbuf.c145 if (rte_pktmbuf_data_len(m) != MBUF_TEST_DATA_LEN) in test_pktmbuf_with_non_ascii_data()
192 if (rte_pktmbuf_data_len(m) != MBUF_TEST_DATA_LEN) in test_one_pktmbuf()
224 if (rte_pktmbuf_data_len(m) != MBUF_TEST_DATA_LEN) in test_one_pktmbuf()
280 if (rte_pktmbuf_data_len(m) != MBUF_TEST_DATA_LEN) in test_one_pktmbuf()
454 if (rte_pktmbuf_data_len(copy) != sizeof(uint32_t)) in test_pktmbuf_copy()
486 if (rte_pktmbuf_data_len(copy) != sizeof(uint32_t)) in test_pktmbuf_copy()
516 if (rte_pktmbuf_data_len(copy) != 2 * sizeof(uint32_t)) in test_pktmbuf_copy()
534 if (rte_pktmbuf_data_len(copy2) != sizeof(uint32_t)) in test_pktmbuf_copy()
552 if (rte_pktmbuf_data_len(copy2) != sizeof(uint32_t)) in test_pktmbuf_copy()
1994 if (rte_pktmbuf_data_len(m) != hdr_len) in test_pktmbuf_read_from_offset()
[all …]
/dpdk/drivers/net/mlx5/
H A Dmlx5_tx.h1110 dlen = rte_pktmbuf_data_len(loc->mbuf); in mlx5_tx_mseg_memcpy()
1616 rte_pktmbuf_data_len(loc->mbuf), olx); in mlx5_tx_mseg_build()
1903 rte_pktmbuf_data_len(loc->mbuf), olx); in mlx5_tx_packet_multi_send()
1980 nxlen = rte_pktmbuf_data_len(mbuf); in mlx5_tx_packet_multi_inline()
2019 nxlen = rte_pktmbuf_data_len(mbuf); in mlx5_tx_packet_multi_inline()
2232 dlen = rte_pktmbuf_data_len(loc->mbuf); in mlx5_tx_burst_tso()
2649 (rte_pktmbuf_data_len(loc->mbuf)); in mlx5_tx_burst_empw_simple()
2815 (rte_pktmbuf_data_len(loc->mbuf)); in mlx5_tx_burst_empw_inline()
3090 inlen = rte_pktmbuf_data_len(loc->mbuf); in mlx5_tx_burst_single_send()
3287 rte_pktmbuf_data_len(loc->mbuf); in mlx5_tx_burst_single_send()
[all …]
/dpdk/lib/pcapng/
H A Drte_pcapng.c353 if (rte_pktmbuf_data_len(m) < sizeof(*oh)) in pcapng_vlan_insert()
455 data_len = rte_pktmbuf_data_len(mc); in rte_pcapng_copy()
497 epb->block_length = rte_pktmbuf_data_len(mc); in rte_pcapng_copy()
550 epb->block_length != rte_pktmbuf_data_len(m))) { in rte_pcapng_write_packets()
562 iov[cnt].iov_len = rte_pktmbuf_data_len(m); in rte_pcapng_write_packets()
/dpdk/drivers/crypto/mvsam/
H A Drte_mrvl_pmd.c635 if (rte_pktmbuf_data_len(src_mbuf) == 0) { in mrvl_request_prepare_crp()
642 src_bd[i].len = rte_pktmbuf_data_len(src_mbuf); in mrvl_request_prepare_crp()
649 if (rte_pktmbuf_data_len(dst_mbuf) == 0) { in mrvl_request_prepare_crp()
652 rte_pktmbuf_data_len(op->sym->m_src)) == NULL) { in mrvl_request_prepare_crp()
810 if (rte_pktmbuf_data_len(src_mbuf) == 0) { in mrvl_request_prepare_sec()
817 src_bd[i].len = rte_pktmbuf_data_len(src_mbuf); in mrvl_request_prepare_sec()
824 if (rte_pktmbuf_data_len(dst_mbuf) == 0) { in mrvl_request_prepare_sec()
827 rte_pktmbuf_data_len(op->sym->m_src)) == NULL) { in mrvl_request_prepare_sec()
/dpdk/drivers/compress/qat/
H A Dqat_comp.c344 while (*offset + len >= rte_pktmbuf_data_len(*mbuf)) { in qat_comp_mbuf_skip()
345 len -= (rte_pktmbuf_data_len(*mbuf) - *offset); in qat_comp_mbuf_skip()
491 uint32_t left_in_current = rte_pktmbuf_data_len(sgl_buf) - in qat_comp_response_data_copy()
511 while (prod > rte_pktmbuf_data_len(sgl_buf)) { in qat_comp_response_data_copy()
518 rte_pktmbuf_data_len(sgl_buf)); in qat_comp_response_data_copy()
520 prod -= rte_pktmbuf_data_len(sgl_buf); in qat_comp_response_data_copy()
521 sent += rte_pktmbuf_data_len(sgl_buf); in qat_comp_response_data_copy()
533 if (prod == rte_pktmbuf_data_len(sgl_buf)) { in qat_comp_response_data_copy()
/dpdk/lib/mbuf/
H A Drte_mbuf.c559 copy_len = rte_pktmbuf_pkt_len(mbuf) - rte_pktmbuf_data_len(mbuf); in __rte_pktmbuf_linearize()
572 seg_len = rte_pktmbuf_data_len(m); in __rte_pktmbuf_linearize()
712 while (off >= rte_pktmbuf_data_len(seg)) { in __rte_pktmbuf_read()
713 off -= rte_pktmbuf_data_len(seg); in __rte_pktmbuf_read()
717 if (off + len <= rte_pktmbuf_data_len(seg)) in __rte_pktmbuf_read()
722 copy_len = rte_pktmbuf_data_len(seg) - off; in __rte_pktmbuf_read()
/dpdk/examples/ipsec-secgw/
H A Dipip.h50 outip6->ip6_plen = htons(rte_pktmbuf_data_len(m) - in ipip_outbound()
71 outip4->ip_len = htons(rte_pktmbuf_data_len(m)); in ipip_outbound()
H A Desp.c206 ip4->ip_len = htons(rte_pktmbuf_data_len(m)); in esp_inbound_post()
212 ip6->ip6_plen = htons(rte_pktmbuf_data_len(m) - in esp_inbound_post()
319 ip4->ip_len = htons(rte_pktmbuf_data_len(m)); in esp_outbound()
323 ip6->ip6_plen = htons(rte_pktmbuf_data_len(m) - in esp_outbound()
/dpdk/drivers/net/fm10k/
H A Dfm10k_rxtx.c121 rte_pktmbuf_data_len(mbuf) = desc.w.length; in fm10k_recv_pkts()
254 rte_pktmbuf_data_len(mbuf) = desc.w.length; in fm10k_recv_scattered_pkts()
270 rte_pktmbuf_data_len(mbuf)); in fm10k_recv_scattered_pkts()
595 rte_cpu_to_le_16(rte_pktmbuf_data_len(mb)); in tx_xmit_pkt()
621 rte_cpu_to_le_16(rte_pktmbuf_data_len(mb)); in tx_xmit_pkt()
/dpdk/drivers/crypto/nitrox/
H A Dnitrox_sym_reqmgr.c280 for (m = mbuf; m && off > rte_pktmbuf_data_len(m); m = m->next) in create_sglist_from_mbuf()
281 off -= rte_pktmbuf_data_len(m); in create_sglist_from_mbuf()
286 mlen = rte_pktmbuf_data_len(m) - off; in create_sglist_from_mbuf()
296 mlen = rte_pktmbuf_data_len(m) < datalen ? in create_sglist_from_mbuf()
297 rte_pktmbuf_data_len(m) : datalen; in create_sglist_from_mbuf()
435 if (unlikely(rte_pktmbuf_data_len(mdst) < op->sym->auth.data.offset + in extract_cipher_auth_digest()
700 if (unlikely(rte_pktmbuf_data_len(mdst) < op->sym->aead.data.offset + in extract_combined_digest()
/dpdk/lib/net/
H A Drte_ip.h235 if (off + len <= rte_pktmbuf_data_len(m)) { in rte_raw_cksum_mbuf()
247 seglen = rte_pktmbuf_data_len(seg); in rte_raw_cksum_mbuf()
276 seglen = rte_pktmbuf_data_len(seg); in rte_raw_cksum_mbuf()
H A Drte_net.h146 if (unlikely(rte_pktmbuf_data_len(m) < in rte_net_intel_cksum_flags_prepare()
H A Drte_ether.h366 if (rte_pktmbuf_data_len(*m) < 2 * RTE_ETHER_ADDR_LEN) in rte_vlan_insert()
/dpdk/drivers/net/memif/
H A Drte_eth_memif.c381 rte_pktmbuf_data_len(mbuf) += cp_len; in eth_memif_rx()
382 rte_pktmbuf_pkt_len(mbuf) = rte_pktmbuf_data_len(mbuf); in eth_memif_rx()
495 rte_pktmbuf_data_len(mbuf) = d0->length; in eth_memif_rx_zc()
496 rte_pktmbuf_pkt_len(mbuf) = rte_pktmbuf_data_len(mbuf); in eth_memif_rx_zc()
498 mq->n_bytes += rte_pktmbuf_data_len(mbuf); in eth_memif_rx_zc()
631 src_len = rte_pktmbuf_data_len(mbuf); in eth_memif_tx()
716 d0->length = rte_pktmbuf_data_len(mbuf); in memif_tx_one_zc()
717 mq->n_bytes += rte_pktmbuf_data_len(mbuf); in memif_tx_one_zc()
/dpdk/drivers/regex/mlx5/
H A Dmlx5_regex_fastpath.c162 klm.byte_count = rte_pktmbuf_data_len(op->mbuf); in prep_one()
332 (rte_pktmbuf_data_len(mbuf)); in prep_regex_umr_wqe_set()
337 scatter_size += rte_pktmbuf_data_len(mbuf); in prep_regex_umr_wqe_set()
348 klm.byte_count = rte_pktmbuf_data_len(mbuf); in prep_regex_umr_wqe_set()
/dpdk/lib/port/
H A Drte_port_fd.c202 size_t n_bytes = rte_pktmbuf_data_len(pkt); in send_burst()
384 size_t n_bytes = rte_pktmbuf_data_len(pkt); in send_burst_nodrop()
/dpdk/drivers/net/avp/
H A Davp_ethdev.c1336 rte_pktmbuf_data_len(m)), in avp_dev_copy_from_buffers()
1340 rte_pktmbuf_data_len(m)), in avp_dev_copy_from_buffers()
1343 rte_pktmbuf_data_len(m) += copy_length; in avp_dev_copy_from_buffers()
1358 if (unlikely(rte_pktmbuf_data_len(m) == in avp_dev_copy_from_buffers()
1567 rte_pktmbuf_data_len(m) = pkt_len; in avp_recv_pkts()
1651 (rte_pktmbuf_data_len(m) - in avp_dev_copy_to_buffers()
1660 if (likely(src_offset == rte_pktmbuf_data_len(m))) { in avp_dev_copy_to_buffers()

123