| /dpdk/drivers/net/virtio/ |
| H A D | virtio_ring.h | 139 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 D | cpt_pmd_ops_helper.c | 38 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 D | cpt_ucode_asym.h | 657 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 D | cpt_mcode_defines.h | 459 return (sizeof(struct cpt_sess_misc) + RTE_ALIGN_CEIL(ctx_len, 8)); in cpt_get_session_size()
|
| /dpdk/drivers/mempool/cnxk/ |
| H A D | cn9k_mempool_ops.c | 53 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 D | cn10k_mempool_ops.c | 266 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 D | virtio_ring.h | 107 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 D | nicvf_ethdev.h | 113 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 D | cnxk_ae.h | 425 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 D | cn9k_ipsec_la_ops.h | 20 enc_payload_len = RTE_ALIGN_CEIL(plen + sa->rlens.roundup_len, in ipsec_po_out_rlen_get()
|
| /dpdk/drivers/crypto/qat/ |
| H A D | qat_asym.c | 79 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 D | qat_sym_session.c | 922 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 D | rte_flow.c | 593 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 D | tb_mem.c | 55 size = RTE_ALIGN_CEIL(size, pool->alignment); in tb_alloc()
|
| /dpdk/app/test-crypto-perf/ |
| H A D | cperf_test_common.c | 185 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 D | cnxk_ethdev_telemetry.c | 11 (RTE_ALIGN_CEIL(sizeof(struct eth_info_s), sizeof(uint64_t)) / \
|
| /dpdk/lib/fib/ |
| H A D | dir24_8.c | 26 #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 D | mlx4_utils.c | 76 align = RTE_ALIGN_CEIL(size, align); in mlx4_mallocv_inline()
|
| /dpdk/app/test/ |
| H A D | test_cryptodev.c | 3340 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 D | test_thash_perf.c | 92 uint32_t len = RTE_ALIGN_CEIL(tuple_len, sizeof(uint32_t)); in run_thash_test()
|
| /dpdk/lib/eal/include/ |
| H A D | rte_common.h | 349 #define RTE_ALIGN_CEIL(val, align) \ macro 368 #define RTE_ALIGN(val, align) RTE_ALIGN_CEIL(val, align)
|
| H A D | rte_trace_point.h | 322 offset = RTE_ALIGN_CEIL(offset, __RTE_TRACE_EVENT_HEADER_SZ); in __rte_trace_mem_get()
|
| /dpdk/lib/security/ |
| H A D | rte_security.c | 227 (RTE_ALIGN_CEIL(sizeof(struct rte_cryptodev_capabilities), \ 252 (RTE_ALIGN_CEIL(sizeof(struct rte_security_capability), \
|
| /dpdk/lib/mempool/ |
| H A D | rte_mempool_ops_default.c | 36 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 D | dpaa2_hw_dpni.c | 477 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()
|