| /f-stack/dpdk/drivers/compress/zlib/ |
| H A D | zlib_pmd.c | 16 (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()
|
| /f-stack/dpdk/drivers/common/qat/ |
| H A D | qat_common.c | 22 if (offset >= rte_pktmbuf_data_len(buf)) { in qat_sgl_fill_array() 23 offset -= rte_pktmbuf_data_len(buf); in qat_sgl_fill_array() 27 list->buffers[nr].len = rte_pktmbuf_data_len(buf) - offset; in qat_sgl_fill_array()
|
| /f-stack/dpdk/drivers/net/sfc/ |
| H A D | sfc_dp_tx.h | 225 while (rte_pktmbuf_data_len(*m_seg) < *header_len_remaining) { in sfc_dp_tx_pkt_extra_hdr_segs() 226 *header_len_remaining -= rte_pktmbuf_data_len(*m_seg); in sfc_dp_tx_pkt_extra_hdr_segs() 318 if (rte_pktmbuf_data_len(m_seg) > header_len_remaining) in sfc_dp_tx_prepare_pkt()
|
| H A D | sfc_ef100_tx.c | 375 ESF_GZ_TX_SEND_LEN, rte_pktmbuf_data_len(m), in sfc_ef100_tx_qdesc_send_create() 576 if (rte_pktmbuf_data_len(m_seg) <= remaining_hdr_len) { in sfc_ef100_xmit_tso_pkt() 580 rte_pktmbuf_data_len(m_seg), in sfc_ef100_xmit_tso_pkt() 582 remaining_hdr_len -= rte_pktmbuf_data_len(m_seg); in sfc_ef100_xmit_tso_pkt() 597 rte_pktmbuf_data_len(m_seg) - remaining_hdr_len, in sfc_ef100_xmit_tso_pkt() 705 rte_pktmbuf_data_len(m_seg), in sfc_ef100_xmit_pkts()
|
| H A D | sfc_ef10_tx.c | 424 if (rte_pktmbuf_data_len(m_seg) >= header_len) { in sfc_ef10_xmit_tso_pkt() 427 if (rte_pktmbuf_data_len(m_seg) == header_len) { in sfc_ef10_xmit_tso_pkt() 510 unsigned int seg_len = rte_pktmbuf_data_len(m_seg); in sfc_ef10_xmit_tso_pkt() 676 unsigned int seg_len = rte_pktmbuf_data_len(m_seg); in sfc_ef10_xmit_pkts() 850 SFC_ASSERT(rte_pktmbuf_data_len(pkt) <= in sfc_ef10_simple_xmit_pkts() 854 rte_pktmbuf_data_len(pkt), in sfc_ef10_simple_xmit_pkts()
|
| H A D | sfc_ef10_rx.c | 303 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()
|
| /f-stack/dpdk/lib/librte_ipsec/ |
| H A D | misc.h | 57 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()
|
| /f-stack/dpdk/drivers/crypto/openssl/ |
| H A D | rte_openssl_pmd.c | 810 offset -= rte_pktmbuf_data_len(m); in process_openssl_encryption_update() 819 l = rte_pktmbuf_data_len(m) - offset; in process_openssl_encryption_update() 872 offset -= rte_pktmbuf_data_len(m); in process_openssl_decryption_update() 881 l = rte_pktmbuf_data_len(m) - offset; in process_openssl_decryption_update() 1013 offset -= rte_pktmbuf_data_len(m); in process_openssl_cipher_des3ctr() 1019 l = rte_pktmbuf_data_len(m) - offset; in process_openssl_cipher_des3ctr() 1044 l = rte_pktmbuf_data_len(m); in process_openssl_cipher_des3ctr() 1225 offset -= rte_pktmbuf_data_len(m); in process_openssl_auth() 1249 l = rte_pktmbuf_data_len(m) < n ? rte_pktmbuf_data_len(m) : n; in process_openssl_auth() 1277 offset -= rte_pktmbuf_data_len(m); in process_openssl_auth_hmac() [all …]
|
| /f-stack/dpdk/app/test/ |
| H A D | test_mbuf.c | 146 if (rte_pktmbuf_data_len(m) != MBUF_TEST_DATA_LEN) in test_pktmbuf_with_non_ascii_data() 193 if (rte_pktmbuf_data_len(m) != MBUF_TEST_DATA_LEN) in test_one_pktmbuf() 225 if (rte_pktmbuf_data_len(m) != MBUF_TEST_DATA_LEN) in test_one_pktmbuf() 281 if (rte_pktmbuf_data_len(m) != MBUF_TEST_DATA_LEN) in test_one_pktmbuf() 459 if (rte_pktmbuf_data_len(copy) != sizeof(uint32_t)) in test_pktmbuf_copy() 491 if (rte_pktmbuf_data_len(copy) != sizeof(uint32_t)) in test_pktmbuf_copy() 521 if (rte_pktmbuf_data_len(copy) != 2 * sizeof(uint32_t)) in test_pktmbuf_copy() 539 if (rte_pktmbuf_data_len(copy2) != sizeof(uint32_t)) in test_pktmbuf_copy() 557 if (rte_pktmbuf_data_len(copy2) != sizeof(uint32_t)) in test_pktmbuf_copy() 1989 if (rte_pktmbuf_data_len(m) != hdr_len) in test_pktmbuf_read_from_offset() [all …]
|
| /f-stack/dpdk/drivers/compress/qat/ |
| H A D | qat_comp.c | 343 while (*offset + len >= rte_pktmbuf_data_len(*mbuf)) { in qat_comp_mbuf_skip() 344 len -= (rte_pktmbuf_data_len(*mbuf) - *offset); in qat_comp_mbuf_skip() 490 uint32_t left_in_current = rte_pktmbuf_data_len(sgl_buf) - 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() 532 if (prod == rte_pktmbuf_data_len(sgl_buf)) { in qat_comp_response_data_copy()
|
| /f-stack/dpdk/lib/librte_net/ |
| H A D | rte_ip.h | 226 if (off + len <= rte_pktmbuf_data_len(m)) { in rte_raw_cksum_mbuf() 238 seglen = rte_pktmbuf_data_len(seg); in rte_raw_cksum_mbuf() 267 seglen = rte_pktmbuf_data_len(seg); in rte_raw_cksum_mbuf()
|
| H A D | rte_net.h | 139 if (unlikely(rte_pktmbuf_data_len(m) < in rte_net_intel_cksum_flags_prepare()
|
| H A D | rte_ether.h | 357 if (rte_pktmbuf_data_len(*m) < 2 * RTE_ETHER_ADDR_LEN) in rte_vlan_insert()
|
| /f-stack/dpdk/lib/librte_mbuf/ |
| H A D | rte_mbuf.c | 565 copy_len = rte_pktmbuf_pkt_len(mbuf) - rte_pktmbuf_data_len(mbuf); in __rte_pktmbuf_linearize() 578 seg_len = rte_pktmbuf_data_len(m); in __rte_pktmbuf_linearize() 718 while (off >= rte_pktmbuf_data_len(seg)) { in __rte_pktmbuf_read() 719 off -= rte_pktmbuf_data_len(seg); in __rte_pktmbuf_read() 723 if (off + len <= rte_pktmbuf_data_len(seg)) in __rte_pktmbuf_read() 728 copy_len = rte_pktmbuf_data_len(seg) - off; in __rte_pktmbuf_read()
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_ethdev_sec_tx.h | 137 sd->nix_hdr.w0.total = rte_pktmbuf_data_len(m); in otx2_sec_event_tx() 144 sd->nix_sg.seg1_size = rte_pktmbuf_data_len(m); in otx2_sec_event_tx()
|
| /f-stack/dpdk/examples/ipsec-secgw/ |
| H A D | ipip.h | 50 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 D | esp.c | 206 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()
|
| /f-stack/dpdk/drivers/net/fm10k/ |
| H A D | fm10k_rxtx.c | 122 rte_pktmbuf_data_len(mbuf) = desc.w.length; in fm10k_recv_pkts() 255 rte_pktmbuf_data_len(mbuf) = desc.w.length; in fm10k_recv_scattered_pkts() 271 rte_pktmbuf_data_len(mbuf)); in fm10k_recv_scattered_pkts() 621 rte_cpu_to_le_16(rte_pktmbuf_data_len(mb)); in tx_xmit_pkt() 647 rte_cpu_to_le_16(rte_pktmbuf_data_len(mb)); in tx_xmit_pkt()
|
| /f-stack/dpdk/drivers/crypto/nitrox/ |
| H A D | nitrox_sym_reqmgr.c | 280 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()
|
| /f-stack/dpdk/drivers/net/mlx5/ |
| H A D | mlx5_rxtx.c | 2582 dlen = rte_pktmbuf_data_len(loc->mbuf); in mlx5_tx_mseg_memcpy() 3101 rte_pktmbuf_data_len(loc->mbuf), olx); in mlx5_tx_mseg_build() 3375 rte_pktmbuf_data_len(loc->mbuf), olx); in mlx5_tx_packet_multi_send() 3482 nxlen = rte_pktmbuf_data_len(mbuf); in mlx5_tx_packet_multi_inline() 3493 nxlen = rte_pktmbuf_data_len(mbuf); in mlx5_tx_packet_multi_inline() 3705 dlen = rte_pktmbuf_data_len(loc->mbuf); in mlx5_tx_burst_tso() 4130 (rte_pktmbuf_data_len(loc->mbuf)); in mlx5_tx_burst_empw_simple() 4298 (rte_pktmbuf_data_len(loc->mbuf)); in mlx5_tx_burst_empw_inline() 4559 inlen = rte_pktmbuf_data_len(loc->mbuf); in mlx5_tx_burst_single_send() 4760 rte_pktmbuf_data_len(loc->mbuf); in mlx5_tx_burst_single_send() [all …]
|
| /f-stack/dpdk/drivers/crypto/qat/ |
| H A D | qat_sym.c | 461 if (unlikely(min_ofs >= rte_pktmbuf_data_len(op->sym->m_src) && do_sgl)) in qat_sym_build_request() 540 while (remaining_off >= rte_pktmbuf_data_len(sgl_buf) in qat_sym_build_request() 542 remaining_off -= rte_pktmbuf_data_len(sgl_buf); in qat_sym_build_request() 634 rte_pktmbuf_data_len(op->sym->m_src)); in qat_sym_build_request()
|
| /f-stack/dpdk/drivers/crypto/mvsam/ |
| H A D | rte_mrvl_pmd.c | 535 if (rte_pktmbuf_data_len(src_mbuf) == 0) { in mrvl_request_prepare() 542 src_bd[i].len = rte_pktmbuf_data_len(src_mbuf); in mrvl_request_prepare() 549 if (rte_pktmbuf_data_len(dst_mbuf) == 0) { in mrvl_request_prepare() 552 rte_pktmbuf_data_len(op->sym->m_src)) == NULL) { in mrvl_request_prepare()
|
| /f-stack/dpdk/lib/librte_port/ |
| H A D | rte_port_fd.c | 202 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()
|
| /f-stack/dpdk/examples/vhost/ |
| H A D | virtio_net.c | 122 mbuf_avail = rte_pktmbuf_data_len(m); in enqueue_pkt() 130 mbuf_avail = rte_pktmbuf_data_len(m); in enqueue_pkt()
|
| /f-stack/dpdk/drivers/net/memif/ |
| H A D | rte_eth_memif.c | 381 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() 492 rte_pktmbuf_data_len(mbuf) = d0->length; in eth_memif_rx_zc() 493 rte_pktmbuf_pkt_len(mbuf) = rte_pktmbuf_data_len(mbuf); in eth_memif_rx_zc() 495 mq->n_bytes += rte_pktmbuf_data_len(mbuf); in eth_memif_rx_zc() 627 src_len = rte_pktmbuf_data_len(mbuf); in eth_memif_tx() 708 d0->length = rte_pktmbuf_data_len(mbuf); in memif_tx_one_zc()
|