| /f-stack/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()
|
| /f-stack/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 | 626 m_align = RTE_ALIGN_CEIL(message_len, 8); in cpt_ecdsa_sign_prep() 628 p_align = RTE_ALIGN_CEIL(prime_len, 8); in cpt_ecdsa_sign_prep() 629 k_align = RTE_ALIGN_CEIL(k_len, 8); in cpt_ecdsa_sign_prep() 726 m_align = RTE_ALIGN_CEIL(message_len, 8); in cpt_ecdsa_verify_prep() 727 p_align = RTE_ALIGN_CEIL(prime_len, 8); in cpt_ecdsa_verify_prep() 844 p_align = RTE_ALIGN_CEIL(prime_len, 8); in cpt_ecpm_prep() 845 scalar_align = RTE_ALIGN_CEIL(ecpm->scalar.length, 8); in cpt_ecpm_prep()
|
| H A D | cpt_mcode_defines.h | 438 return (sizeof(struct cpt_sess_misc) + RTE_ALIGN_CEIL(ctx_len, 8)); in cpt_get_session_size()
|
| /f-stack/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()
|
| /f-stack/dpdk/drivers/net/thunderx/ |
| H A D | nicvf_ethdev.h | 114 tmp = RTE_ALIGN_CEIL(nicvf_netdev_qidx(nic, 0) + 1, in nicvf_tx_range() 128 tmp = RTE_ALIGN_CEIL(nicvf_netdev_qidx(nic, 0) + 1, in nicvf_rx_range()
|
| /f-stack/dpdk/lib/librte_ethdev/ |
| H A D | rte_flow.c | 512 off = RTE_ALIGN_CEIL(off, sizeof(*dst.raw->pattern)); in rte_flow_conv_item_spec() 581 off = RTE_ALIGN_CEIL(off, sizeof(*dst.rss->key)); in rte_flow_conv_action_conf() 590 off = RTE_ALIGN_CEIL(off, sizeof(*dst.rss->queue)); in rte_flow_conv_action_conf() 611 off = RTE_ALIGN_CEIL in rte_flow_conv_action_conf() 696 off = RTE_ALIGN_CEIL(off, sizeof(double)); in rte_flow_conv_pattern() 707 off = RTE_ALIGN_CEIL(off, sizeof(double)); in rte_flow_conv_pattern() 717 off = RTE_ALIGN_CEIL(off, sizeof(double)); in rte_flow_conv_pattern() 789 off = RTE_ALIGN_CEIL(off, sizeof(double)); in rte_flow_conv_actions() 842 off = RTE_ALIGN_CEIL(off, sizeof(double)); in rte_flow_conv_rule() 850 off = RTE_ALIGN_CEIL(off, sizeof(double)); in rte_flow_conv_rule() [all …]
|
| /f-stack/dpdk/app/test-crypto-perf/ |
| H A D | cperf_test_common.c | 153 RTE_ALIGN_CEIL(test_vector->aead_iv.length, 16) + in cperf_alloc_common_memory() 154 RTE_ALIGN_CEIL(options->aead_aad_sz + 18, 16); in cperf_alloc_common_memory()
|
| /f-stack/dpdk/lib/librte_acl/ |
| H A D | tb_mem.c | 55 size = RTE_ALIGN_CEIL(size, pool->alignment); in tb_alloc()
|
| /f-stack/dpdk/drivers/net/mlx4/ |
| H A D | mlx4_utils.c | 76 align = RTE_ALIGN_CEIL(size, align); in mlx4_mallocv_inline()
|
| /f-stack/freebsd/contrib/dpdk_rte_lpm/ |
| H A D | rte_common.h | 265 #define RTE_ALIGN_CEIL(val, align) \ macro 284 #define RTE_ALIGN(val, align) RTE_ALIGN_CEIL(val, align)
|
| /f-stack/dpdk/lib/librte_fib/ |
| H A D | dir24_8.c | 30 #define ROUNDUP(x, y) RTE_ALIGN_CEIL(x, (1 << (32 - y))) 522 num_tbl8 = RTE_ALIGN_CEIL(fib_conf->dir24_8.num_tbl8, in dir24_8_create() 553 RTE_ALIGN_CEIL(dp->number_tbl8s, 64) >> 3, in dir24_8_create()
|
| H A D | trie.c | 542 depth_diff = RTE_ALIGN_CEIL(depth, 8) - in trie_modify() 543 RTE_ALIGN_CEIL(parent_depth, 8); in trie_modify()
|
| /f-stack/dpdk/app/test/ |
| H A D | test_cryptodev.c | 2888 plaintext_pad_len = RTE_ALIGN_CEIL(plaintext_len, 8); in test_kasumi_authentication() 2976 plaintext_pad_len = RTE_ALIGN_CEIL(plaintext_len, 8); in test_kasumi_authentication_verify() 3201 plaintext_pad_len = RTE_ALIGN_CEIL(plaintext_len, 8); in test_kasumi_encryption() 3300 plaintext_pad_len = RTE_ALIGN_CEIL(plaintext_len, 8); in test_kasumi_encryption_sgl() 3392 plaintext_pad_len = RTE_ALIGN_CEIL(plaintext_len, 8); in test_kasumi_encryption_oop() 3482 plaintext_pad_len = RTE_ALIGN_CEIL(plaintext_len, 8); in test_kasumi_encryption_oop_sgl() 5477 plaintext_pad_len = RTE_ALIGN_CEIL(plaintext_len, 8); in test_zuc_encryption() 5564 plaintext_pad_len = RTE_ALIGN_CEIL(plaintext_len, 8); in test_zuc_encryption_sgl() 7490 aad_pad_len = RTE_ALIGN_CEIL(tdata->aad.len, 16); in create_aead_operation() 12293 aad_len = RTE_ALIGN_CEIL(aad_len + 18, 16); in create_aead_operation_SGL() [all …]
|
| H A D | test_common.c | 180 val = RTE_ALIGN_CEIL(i, p); in test_align()
|
| /f-stack/dpdk/lib/librte_eal/include/ |
| H A D | rte_common.h | 304 #define RTE_ALIGN_CEIL(val, align) \ macro 323 #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()
|
| /f-stack/dpdk/drivers/net/dpaa2/base/ |
| H A D | dpaa2_hw_dpni.c | 361 tot_size = RTE_ALIGN_CEIL(tot_size, DPAA2_PACKET_LAYOUT_ALIGN); in dpaa2_attach_bp_list() 391 bpool_cfg.pools[0].buffer_size = RTE_ALIGN_CEIL(bp_list->buf_pool.size, in dpaa2_attach_bp_list()
|
| /f-stack/dpdk/lib/librte_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()
|
| H A D | rte_mempool.c | 220 sz->header_size = RTE_ALIGN_CEIL(sz->header_size, in rte_mempool_calc_obj_size() 230 sz->elt_size = RTE_ALIGN_CEIL(elt_size, sizeof(uint64_t)); in rte_mempool_calc_obj_size() 853 mempool_size = RTE_ALIGN_CEIL(mempool_size, RTE_MEMPOOL_ALIGN); in rte_mempool_create_empty()
|
| /f-stack/dpdk/drivers/crypto/octeontx2/ |
| H A D | otx2_ipsec_po_ops.h | 21 enc_payload_len = RTE_ALIGN_CEIL(plen + sess->roundup_len, in otx2_ipsec_po_out_rlen_get()
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_ethdev_sec_tx.h | 26 enc_payload_len = RTE_ALIGN_CEIL(plen + sess->roundup_len, in otx2_ipsec_fp_out_rlen_get()
|
| /f-stack/dpdk/drivers/crypto/qat/ |
| H A D | qat_sym_session.c | 977 return RTE_ALIGN_CEIL(sizeof(struct qat_sym_session), 8); in qat_sym_session_get_private_size() 1659 cd_pars->u.s.content_desc_params_sz = RTE_ALIGN_CEIL(cd_size, 8) >> 3; in qat_sym_session_aead_create_cd_cipher() 1775 state2_size = RTE_ALIGN_CEIL(ICP_QAT_HW_SHA1_STATE2_SZ, 8); in qat_sym_session_aead_create_cd_auth() 1879 RTE_ALIGN_CEIL(aad_length, 16); in qat_sym_session_aead_create_cd_auth() 1951 RTE_ALIGN_CEIL(aad_length, in qat_sym_session_aead_create_cd_auth() 2004 RTE_ALIGN_CEIL(hash_cd_ctrl->inner_state1_sz, 8)) in qat_sym_session_aead_create_cd_auth() 2011 cd_pars->u.s.content_desc_params_sz = RTE_ALIGN_CEIL(cd_size, 8) >> 3; in qat_sym_session_aead_create_cd_auth()
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | eal_common_fbarray.c | 64 len = RTE_ALIGN_CEIL(len, MASK_ALIGN); in calc_mask_size() 74 return RTE_ALIGN_CEIL(data_sz + msk_sz, page_sz); in calc_data_size() 816 msk->n_masks = MASK_LEN_TO_IDX(RTE_ALIGN_CEIL(len, MASK_ALIGN)); in rte_fbarray_init()
|
| /f-stack/dpdk/drivers/baseband/fpga_lte_fec/ |
| H A D | fpga_lte_fec.c | 1136 kw = RTE_ALIGN_CEIL(k + 4, 32) * 3; in get_num_cbs_in_op_dec() 1428 kw_neg = 3 * RTE_ALIGN_CEIL(tb->k_neg + 4, in validate_enc_op() 1437 kw_pos = 3 * RTE_ALIGN_CEIL(tb->k_pos + 4, in validate_enc_op() 1469 kw = RTE_ALIGN_CEIL(cb->k + 4, RTE_BBDEV_TURBO_C_SUBBLOCK) * 3; in validate_enc_op() 1804 kw = RTE_ALIGN_CEIL(k + 4, 32) * 3; in enqueue_dec_one_op_cb() 1876 kw = RTE_ALIGN_CEIL(k + 4, 32) * 3; in enqueue_dec_one_op_tb()
|