Home
last modified time | relevance | path

Searched refs:total_len (Results 1 – 25 of 28) sorted by relevance

12

/dpdk/examples/pipeline/examples/
H A Dvxlan.spec16 bit<16> total_len
86 // Ethernet (14) | IPv4 (total_len)
108 // Once the total length of the inner IPv4 packet (h.ipv4.total_len) is known,
110 // - h.outer_ipv4.total_len = t.ipv4_total_len + h.ipv4.total_len
111 // - h.outer_ipv4.hdr_checksum = t.ipv4_hdr_checksum + h.ipv4.total_len
112 // - h.outer_udp.length = t.udp_length + h.ipv4.total_len
126 mov h.outer_ipv4.total_len t.ipv4_total_len
153 //Update h.outer_ipv4.total_len field.
154 add h.outer_ipv4.total_len h.ipv4.total_len
157 ckadd h.outer_ipv4.hdr_checksum h.ipv4.total_len
[all …]
H A Dregisters.spec24 bit<16> total_len
61 regadd byte_counters h.ipv4.src_addr h.ipv4.total_len
H A Dmeter.spec24 bit<16> total_len
59 meter meters h.ipv4.src_addr h.ipv4.total_len 0 m.port_out
H A Dvarbit.spec29 bit<16> total_len
H A Dlearner.spec31 bit<16> total_len
H A Dselector.spec41 bit<16> total_len
H A Dfib.spec38 bit<16> total_len
/dpdk/drivers/crypto/ipsec_mb/
H A Dpmd_chacha_poly.c107 int total_len; in chacha20_poly1305_crypto_op() local
156 total_len = data_length - part_len; in chacha20_poly1305_crypto_op()
158 while (total_len) { in chacha20_poly1305_crypto_op()
168 m_src->data_len : total_len; in chacha20_poly1305_crypto_op()
178 total_len -= part_len; in chacha20_poly1305_crypto_op()
179 if (total_len < 0) { in chacha20_poly1305_crypto_op()
196 total_len = data_length - part_len; in chacha20_poly1305_crypto_op()
198 while (total_len) { in chacha20_poly1305_crypto_op()
209 m_src->data_len : total_len; in chacha20_poly1305_crypto_op()
219 total_len -= part_len; in chacha20_poly1305_crypto_op()
[all …]
H A Dpmd_aesni_gcm.c335 while (total_len) { in process_gcm_crypto_op()
346 m_src->data_len : total_len; in process_gcm_crypto_op()
351 total_len -= part_len; in process_gcm_crypto_op()
370 while (total_len) { in process_gcm_crypto_op()
381 m_src->data_len : total_len; in process_gcm_crypto_op()
386 total_len -= part_len; in process_gcm_crypto_op()
400 while (total_len) { in process_gcm_crypto_op()
407 m_src->data_len : total_len; in process_gcm_crypto_op()
412 total_len -= part_len; in process_gcm_crypto_op()
430 while (total_len) { in process_gcm_crypto_op()
[all …]
/dpdk/drivers/net/nfp/nfpcore/
H A Dnfp_crc.c32 nfp_crc32_posix_end(uint32_t crc, size_t total_len) in nfp_crc32_posix_end() argument
35 while (total_len != 0) { in nfp_crc32_posix_end()
36 uint8_t c = total_len & 0xff; in nfp_crc32_posix_end()
39 total_len >>= 8; in nfp_crc32_posix_end()
/dpdk/drivers/crypto/qat/dev/
H A Dqat_sym_pmd_gen1.c194 int32_t total_len; in qat_sym_build_op_cipher_gen1() local
211 if (unlikely(total_len < 0)) { in qat_sym_build_op_cipher_gen1()
239 int32_t total_len; in qat_sym_build_op_auth_gen1() local
256 if (unlikely(total_len < 0)) { in qat_sym_build_op_auth_gen1()
262 total_len); in qat_sym_build_op_auth_gen1()
286 int32_t total_len; in qat_sym_build_op_aead_gen1() local
303 if (unlikely(total_len < 0)) { in qat_sym_build_op_aead_gen1()
309 total_len); in qat_sym_build_op_aead_gen1()
333 int32_t total_len; in qat_sym_build_op_chain_gen1() local
350 if (unlikely(total_len < 0)) { in qat_sym_build_op_chain_gen1()
[all …]
H A Dqat_crypto_pmd_gen3.c275 int32_t total_len; in qat_sym_build_op_aead_gen3() local
290 total_len = qat_sym_build_req_set_data(req, in_op, cookie, in qat_sym_build_op_aead_gen3()
292 if (unlikely(total_len < 0)) { in qat_sym_build_op_aead_gen3()
298 total_len); in qat_sym_build_op_aead_gen3()
321 int32_t total_len; in qat_sym_build_op_auth_gen3() local
336 total_len = qat_sym_build_req_set_data(req, in_op, cookie, in qat_sym_build_op_auth_gen3()
338 if (unlikely(total_len < 0)) { in qat_sym_build_op_auth_gen3()
344 ofs, total_len); in qat_sym_build_op_auth_gen3()
H A Dqat_crypto_pmd_gen4.c152 int32_t total_len; in qat_sym_build_op_aead_gen4() local
167 total_len = qat_sym_build_req_set_data(qat_req, in_op, cookie, in qat_sym_build_op_aead_gen4()
169 if (unlikely(total_len < 0)) { in qat_sym_build_op_aead_gen4()
175 total_len); in qat_sym_build_op_aead_gen4()
/dpdk/drivers/net/hinic/
H A Dhinic_pmd_tx.c454 u32 total_len, limit_len, checked_len, left_len, adjust_mss; in hinic_is_tso_sge_valid() local
474 total_len = 0; in hinic_is_tso_sge_valid()
476 total_len += mbuf->data_len; in hinic_is_tso_sge_valid()
479 if (total_len >= limit_len) { in hinic_is_tso_sge_valid()
485 checked_len += total_len; in hinic_is_tso_sge_valid()
1047 u16 i, total_len, sge_cnt = mbuf_pkt->nb_segs; in hinic_get_sge_txoff_info() local
1068 total_len = 0; in hinic_get_sge_txoff_info()
1071 total_len += mbuf->data_len; in hinic_get_sge_txoff_info()
1076 if ((u32)(total_len + (u16)HINIC_COPY_MBUF_SIZE) < in hinic_get_sge_txoff_info()
/dpdk/examples/fips_validation/
H A Dmain.c519 uint32_t total_len = val->len; in prepare_data_mbufs() local
525 if (total_len > RTE_MBUF_MAX_NB_SEGS) { in prepare_data_mbufs()
530 nb_seg = total_len / env.mbuf_data_room; in prepare_data_mbufs()
531 if (total_len % env.mbuf_data_room) in prepare_data_mbufs()
543 uint16_t len = RTE_MIN(total_len, env.mbuf_data_room); in prepare_data_mbufs()
564 total_len -= len; in prepare_data_mbufs()
566 if (total_len) { in prepare_data_mbufs()
586 if (total_len) { in prepare_data_mbufs()
1123 uint16_t total_len = data_len + env.digest_len; in get_writeback_data() local
1132 wb_data = dst = calloc(1, total_len); in get_writeback_data()
[all …]
/dpdk/drivers/crypto/dpaa_sec/
H A Ddpaa_sec_raw_dp.c112 int data_len, data_offset, total_len = 0; in build_dpaa_raw_dp_auth_fd() local
116 total_len += sgl->vec[i].len; in build_dpaa_raw_dp_auth_fd()
118 data_len = total_len - ofs.ofs.auth.head - ofs.ofs.auth.tail; in build_dpaa_raw_dp_auth_fd()
552 int data_len, total_len = 0, data_offset; in build_dpaa_raw_dp_cipher_fd() local
555 total_len += sgl->vec[i].len; in build_dpaa_raw_dp_cipher_fd()
557 data_len = total_len - ofs.ofs.cipher.head - ofs.ofs.cipher.tail; in build_dpaa_raw_dp_cipher_fd()
/dpdk/drivers/crypto/dpaa2_sec/
H A Ddpaa2_sec_raw_dp.c351 int total_len = 0, data_len = 0, data_offset; in build_raw_dp_auth_fd() local
357 total_len += sgl->vec[i].len; in build_raw_dp_auth_fd()
359 data_len = total_len - ofs.ofs.auth.head - ofs.ofs.auth.tail; in build_raw_dp_auth_fd()
596 int total_len = 0, data_len = 0, data_offset; in build_raw_dp_cipher_fd() local
602 total_len += sgl->vec[i].len; in build_raw_dp_cipher_fd()
604 data_len = total_len - ofs.ofs.cipher.head - ofs.ofs.cipher.tail; in build_raw_dp_cipher_fd()
/dpdk/drivers/net/fm10k/base/
H A Dfm10k_mbx.c302 u16 total_len = 0, msg_len; in fm10k_mbx_validate_msg_size() local
312 msg = fifo->buffer + fm10k_fifo_tail_offset(fifo, total_len); in fm10k_mbx_validate_msg_size()
314 total_len += msg_len; in fm10k_mbx_validate_msg_size()
315 } while (total_len < len); in fm10k_mbx_validate_msg_size()
318 if ((len < total_len) && (msg_len <= mbx->max_size)) in fm10k_mbx_validate_msg_size()
322 return (len < total_len) ? len : (len - total_len); in fm10k_mbx_validate_msg_size()
/dpdk/lib/eal/common/
H A Deal_common_memory.c405 uint64_t *total_len = arg; in physmem_size() local
410 *total_len += msl->memseg_arr.count * msl->page_sz; in physmem_size()
419 uint64_t total_len = 0; in rte_eal_get_physmem_size() local
421 rte_memseg_list_walk(physmem_size, &total_len); in rte_eal_get_physmem_size()
423 return total_len; in rte_eal_get_physmem_size()
/dpdk/drivers/net/liquidio/
H A Dlio_rxtx.c280 lio_droq_get_bufcount(uint32_t buf_size, uint32_t total_len) in lio_droq_get_bufcount() argument
284 while (total_len > (buf_size * buf_cnt)) in lio_droq_get_bufcount()
394 uint32_t total_len = 0; in lio_droq_fast_process_packet() local
410 total_len += (uint32_t)info->length; in lio_droq_fast_process_packet()
575 droq->stats.bytes_received += total_len; in lio_droq_fast_process_packet()
/dpdk/lib/vhost/
H A Dvirtio_net.c2624 uint32_t total_len = RTE_PKTMBUF_HEADROOM + size; in virtio_dev_extbuf_alloc() local
2629 total_len += sizeof(*shinfo) + sizeof(uintptr_t); in virtio_dev_extbuf_alloc()
2630 total_len = RTE_ALIGN_CEIL(total_len, sizeof(uintptr_t)); in virtio_dev_extbuf_alloc()
2632 if (unlikely(total_len > UINT16_MAX)) in virtio_dev_extbuf_alloc()
2635 buf_len = total_len; in virtio_dev_extbuf_alloc()
/dpdk/drivers/regex/mlx5/
H A Dmlx5_regex_fastpath.c209 size_t umr_index, uint32_t klm_size, uint32_t total_len) in complete_umr_wqe() argument
233 mkc->len = rte_cpu_to_be_64(total_len); in complete_umr_wqe()
/dpdk/drivers/raw/dpaa2_qdma/
H A Ddpaa2_qdma.c241 uint32_t total_len = 0; in qdma_populate_sg_entry() local
279 total_len += jobs[i]->len; in qdma_populate_sg_entry()
292 return total_len; in qdma_populate_sg_entry()
/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_hw.c500 size_t len, total_len = 0; in flow_hw_encap_item_translate() local
509 total_len, len)) in flow_hw_encap_item_translate()
511 total_len += len; in flow_hw_encap_item_translate()
/dpdk/drivers/common/cnxk/
H A Droc_ree.c354 req->total_len = db_len; in ree_db_msg()

12