Home
last modified time | relevance | path

Searched refs:RTE_ALIGN_CEIL (Results 1 – 25 of 71) sorted by relevance

123

/dpdk/drivers/net/virtio/
H A Dvirtio_ring.h139 size = RTE_ALIGN_CEIL(size, align); in vring_size()
146 size = RTE_ALIGN_CEIL(size, align); in vring_size()
160 RTE_ALIGN_CEIL((uintptr_t)(&vr->avail->ring[num]), align); in vring_init_split()
172 RTE_ALIGN_CEIL(((uintptr_t)vr->driver + in vring_init_packed()
/dpdk/drivers/common/cpt/
H A Dcpt_pmd_ops_helper.c38 len += RTE_ALIGN_CEIL((SG_LIST_HDR_SIZE + in cpt_pmd_ops_helper_get_mlen_sg_mode()
39 (RTE_ALIGN_CEIL(CPT_MAX_SG_IN_OUT_CNT, 4) >> 2) * in cpt_pmd_ops_helper_get_mlen_sg_mode()
H A Dcpt_ucode_asym.h657 m_align = RTE_ALIGN_CEIL(message_len, 8); in cpt_ecdsa_sign_prep()
659 p_align = RTE_ALIGN_CEIL(prime_len, 8); in cpt_ecdsa_sign_prep()
660 k_align = RTE_ALIGN_CEIL(k_len, 8); in cpt_ecdsa_sign_prep()
763 m_align = RTE_ALIGN_CEIL(message_len, 8); in cpt_ecdsa_verify_prep()
764 p_align = RTE_ALIGN_CEIL(prime_len, 8); in cpt_ecdsa_verify_prep()
887 p_align = RTE_ALIGN_CEIL(prime_len, 8); in cpt_ecpm_prep()
888 scalar_align = RTE_ALIGN_CEIL(ecpm->scalar.length, 8); in cpt_ecpm_prep()
H A Dcpt_mcode_defines.h459 return (sizeof(struct cpt_sess_misc) + RTE_ALIGN_CEIL(ctx_len, 8)); in cpt_get_session_size()
/dpdk/drivers/mempool/cnxk/
H A Dcn9k_mempool_ops.c53 padding = RTE_ALIGN_CEIL(mp->header_size, ROC_ALIGN) - in cn9k_mempool_alloc()
61 padding = RTE_ALIGN_CEIL(block_size, ROC_ALIGN) - block_size; in cn9k_mempool_alloc()
H A Dcn10k_mempool_ops.c266 padding = RTE_ALIGN_CEIL(mp->header_size, ROC_ALIGN) - in cn10k_mempool_alloc()
274 padding = RTE_ALIGN_CEIL(block_size, ROC_ALIGN) - block_size; in cn10k_mempool_alloc()
/dpdk/drivers/crypto/virtio/
H A Dvirtio_ring.h107 size = RTE_ALIGN_CEIL(size, align); in vring_size()
122 RTE_ALIGN_CEIL((uintptr_t)(&vr->avail->ring[num]), align); in vring_init()
/dpdk/drivers/net/thunderx/
H A Dnicvf_ethdev.h113 tmp = RTE_ALIGN_CEIL(nicvf_netdev_qidx(nic, 0) + 1, in nicvf_tx_range()
127 tmp = RTE_ALIGN_CEIL(nicvf_netdev_qidx(nic, 0) + 1, in nicvf_rx_range()
/dpdk/drivers/crypto/cnxk/
H A Dcnxk_ae.h425 m_align = RTE_ALIGN_CEIL(message_len, 8); in cnxk_ae_ecdsa_sign_prep()
427 p_align = RTE_ALIGN_CEIL(prime_len, 8); in cnxk_ae_ecdsa_sign_prep()
428 k_align = RTE_ALIGN_CEIL(k_len, 8); in cnxk_ae_ecdsa_sign_prep()
511 m_align = RTE_ALIGN_CEIL(message_len, 8); in cnxk_ae_ecdsa_verify_prep()
512 p_align = RTE_ALIGN_CEIL(prime_len, 8); in cnxk_ae_ecdsa_verify_prep()
621 p_align = RTE_ALIGN_CEIL(prime_len, 8); in cnxk_ae_ecpm_prep()
622 scalar_align = RTE_ALIGN_CEIL(ecpm->scalar.length, 8); in cnxk_ae_ecpm_prep()
732 memcpy(ecdsa->s.data, rptr + RTE_ALIGN_CEIL(prime_len, 8), prime_len); in cnxk_ae_dequeue_ecdsa_op()
745 memcpy(ecpm->r.y.data, rptr + RTE_ALIGN_CEIL(prime_len, 8), prime_len); in cnxk_ae_dequeue_ecpm_op()
H A Dcn9k_ipsec_la_ops.h20 enc_payload_len = RTE_ALIGN_CEIL(plen + sa->rlens.roundup_len, in ipsec_po_out_rlen_get()
/dpdk/drivers/crypto/qat/
H A Dqat_asym.c79 rte_memcpy(&where[idx * RTE_ALIGN_CEIL(how, 8)] + \
80 RTE_ALIGN_CEIL(how, 8) - \
87 RTE_ALIGN_CEIL(how, 8) - \
99 RTE_ALIGN_CEIL(how, 8)] + \
100 RTE_ALIGN_CEIL(how, 8) - how, \
601 qat_alg_bytesize = RTE_ALIGN_CEIL(alg_bytesize, 8); in ecdsa_set_input()
637 qat_alg_bytesize = RTE_ALIGN_CEIL(alg_bytesize, 8); in ecdsa_set_input()
682 uint32_t qat_alg_bytesize = RTE_ALIGN_CEIL(cookie->alg_bytesize, 8); in ecdsa_collect()
725 qat_alg_bytesize = RTE_ALIGN_CEIL(alg_bytesize, 8); in ecpm_set_input()
767 uint32_t qat_alg_bytesize = RTE_ALIGN_CEIL(cookie->alg_bytesize, 8); in ecpm_collect()
[all …]
H A Dqat_sym_session.c922 return RTE_ALIGN_CEIL(sizeof(struct qat_sym_session), 8); in qat_sym_session_get_private_size()
1608 total_key_size = RTE_ALIGN_CEIL(cipherkeylen, in qat_sym_cd_cipher_set()
1669 cd_pars->u.s.content_desc_params_sz = RTE_ALIGN_CEIL(cd_size, 8) >> 3; in qat_sym_cd_cipher_set()
1775 state2_size = RTE_ALIGN_CEIL(ICP_QAT_HW_SHA1_STATE2_SZ, 8); in qat_sym_cd_auth_set()
1879 RTE_ALIGN_CEIL(aad_length, 16); in qat_sym_cd_auth_set()
1950 RTE_ALIGN_CEIL(aad_length, in qat_sym_cd_auth_set()
1999 RTE_ALIGN_CEIL(hash_cd_ctrl->inner_state1_sz, 8)) in qat_sym_cd_auth_set()
2006 cd_pars->u.s.content_desc_params_sz = RTE_ALIGN_CEIL(cd_size, 8) >> 3; in qat_sym_cd_auth_set()
/dpdk/lib/ethdev/
H A Drte_flow.c593 off = RTE_ALIGN_CEIL(off, sizeof(*dst.raw->pattern)); in rte_flow_conv_item_spec()
658 off = RTE_ALIGN_CEIL(off, sizeof(*dst.rss->key)); in rte_flow_conv_action_conf()
667 off = RTE_ALIGN_CEIL(off, sizeof(*dst.rss->queue)); in rte_flow_conv_action_conf()
688 off = RTE_ALIGN_CEIL in rte_flow_conv_action_conf()
769 off = RTE_ALIGN_CEIL(off, sizeof(double)); in rte_flow_conv_pattern()
780 off = RTE_ALIGN_CEIL(off, sizeof(double)); in rte_flow_conv_pattern()
790 off = RTE_ALIGN_CEIL(off, sizeof(double)); in rte_flow_conv_pattern()
862 off = RTE_ALIGN_CEIL(off, sizeof(double)); in rte_flow_conv_actions()
915 off = RTE_ALIGN_CEIL(off, sizeof(double)); in rte_flow_conv_rule()
923 off = RTE_ALIGN_CEIL(off, sizeof(double)); in rte_flow_conv_rule()
[all …]
/dpdk/lib/acl/
H A Dtb_mem.c55 size = RTE_ALIGN_CEIL(size, pool->alignment); in tb_alloc()
/dpdk/app/test-crypto-perf/
H A Dcperf_test_common.c185 RTE_ALIGN_CEIL(test_vector->aead_iv.length, 16) + in cperf_alloc_common_memory()
186 RTE_ALIGN_CEIL(options->aead_aad_sz + 18, 16); in cperf_alloc_common_memory()
/dpdk/drivers/net/cnxk/
H A Dcnxk_ethdev_telemetry.c11 (RTE_ALIGN_CEIL(sizeof(struct eth_info_s), sizeof(uint64_t)) / \
/dpdk/lib/fib/
H A Ddir24_8.c26 #define ROUNDUP(x, y) RTE_ALIGN_CEIL(x, (1 << (32 - y)))
518 num_tbl8 = RTE_ALIGN_CEIL(fib_conf->dir24_8.num_tbl8, in dir24_8_create()
549 RTE_ALIGN_CEIL(dp->number_tbl8s, 64) >> 3, in dir24_8_create()
/dpdk/drivers/net/mlx4/
H A Dmlx4_utils.c76 align = RTE_ALIGN_CEIL(size, align); in mlx4_mallocv_inline()
/dpdk/app/test/
H A Dtest_cryptodev.c3340 plaintext_pad_len = RTE_ALIGN_CEIL(plaintext_len, 8); in test_kasumi_authentication()
3428 plaintext_pad_len = RTE_ALIGN_CEIL(plaintext_len, 8); in test_kasumi_authentication_verify()
3653 plaintext_pad_len = RTE_ALIGN_CEIL(plaintext_len, 8); in test_kasumi_encryption()
3752 plaintext_pad_len = RTE_ALIGN_CEIL(plaintext_len, 8); in test_kasumi_encryption_sgl()
3844 plaintext_pad_len = RTE_ALIGN_CEIL(plaintext_len, 8); in test_kasumi_encryption_oop()
3934 plaintext_pad_len = RTE_ALIGN_CEIL(plaintext_len, 8); in test_kasumi_encryption_oop_sgl()
4121 RTE_ALIGN_CEIL(tdata->validCipherLenInBits.len, 8), in test_kasumi_decryption()
6027 plaintext_pad_len = RTE_ALIGN_CEIL(plaintext_len, 8); in test_zuc_encryption()
8095 aad_pad_len = RTE_ALIGN_CEIL(tdata->aad.len, 16); in create_aead_operation()
14232 aad_len = RTE_ALIGN_CEIL(aad_len + 18, 16); in create_aead_operation_SGL()
[all …]
H A Dtest_thash_perf.c92 uint32_t len = RTE_ALIGN_CEIL(tuple_len, sizeof(uint32_t)); in run_thash_test()
/dpdk/lib/eal/include/
H A Drte_common.h349 #define RTE_ALIGN_CEIL(val, align) \ macro
368 #define RTE_ALIGN(val, align) RTE_ALIGN_CEIL(val, align)
H A Drte_trace_point.h322 offset = RTE_ALIGN_CEIL(offset, __RTE_TRACE_EVENT_HEADER_SZ); in __rte_trace_mem_get()
/dpdk/lib/security/
H A Drte_security.c227 (RTE_ALIGN_CEIL(sizeof(struct rte_cryptodev_capabilities), \
252 (RTE_ALIGN_CEIL(sizeof(struct rte_security_capability), \
/dpdk/lib/mempool/
H A Drte_mempool_ops_default.c36 mem_size = RTE_ALIGN_CEIL(total_elt_sz + chunk_reserve, in rte_mempool_op_calc_mem_size_helper()
/dpdk/drivers/net/dpaa2/base/
H A Ddpaa2_hw_dpni.c477 tot_size = RTE_ALIGN_CEIL(tot_size, DPAA2_PACKET_LAYOUT_ALIGN); in dpaa2_attach_bp_list()
507 bpool_cfg.pools[0].buffer_size = RTE_ALIGN_CEIL(bp_list->buf_pool.size, in dpaa2_attach_bp_list()

123