Home
last modified time | relevance | path

Searched refs:max_size (Results 1 – 25 of 36) sorted by relevance

12

/dpdk/app/test-crypto-perf/
H A Dcperf_test_common.c200 uint32_t max_size = options->max_buffer_size + options->digest_sz; in cperf_alloc_common_memory() local
201 uint16_t segments_nb = (max_size % options->segment_sz) ? in cperf_alloc_common_memory()
202 (max_size / options->segment_sz) + 1 : in cperf_alloc_common_memory()
203 max_size / options->segment_sz; in cperf_alloc_common_memory()
229 obj_size += max_size + sizeof(struct rte_mbuf); in cperf_alloc_common_memory()
/dpdk/drivers/net/bnxt/tf_core/
H A Ddpool.c100 uint32_t max_size = 0; in dpool_defrag() local
214 max_size = 0; in dpool_defrag()
225 max_size = size; in dpool_defrag()
238 if (max_size < largest_free_size) { in dpool_defrag()
240 if (free_list->entry[i].size >= max_size) { in dpool_defrag()
/dpdk/drivers/common/sfc_efx/base/
H A Defx_bootcfg.c61 size_t max_size; in efx_bootcfg_sector_info() local
68 max_size = BOOTCFG_MAX_SIZE; in efx_bootcfg_sector_info()
76 max_size = BOOTCFG_MAX_SIZE; in efx_bootcfg_sector_info()
85 max_size = BOOTCFG_PER_PF; in efx_bootcfg_sector_info()
91 offset = max_size * pf; in efx_bootcfg_sector_info()
99 max_size = BOOTCFG_PER_PF; in efx_bootcfg_sector_info()
105 offset = max_size * pf; in efx_bootcfg_sector_info()
115 EFSYS_ASSERT3U(max_size, <=, BOOTCFG_MAX_SIZE); in efx_bootcfg_sector_info()
120 *max_sizep = max_size; in efx_bootcfg_sector_info()
/dpdk/lib/acl/
H A Dacl_gen.c37 size_t max_size) in acl_gen_log_stats() argument
56 max_size); in acl_gen_log_stats()
450 uint32_t num_categories, uint32_t data_index_sz, size_t max_size) in rte_acl_gen() argument
472 if (total_size > max_size) { in rte_acl_gen()
476 ctx->name, total_size, max_size); in rte_acl_gen()
530 acl_gen_log_stats(ctx, &counts, &indices, max_size); in rte_acl_gen()
H A Drte_acl.h68 size_t max_size; member
H A Dacl_bld.c1620 size_t max_size; in rte_acl_build() local
1629 if (cfg->max_size == 0) { in rte_acl_build()
1631 max_size = SIZE_MAX; in rte_acl_build()
1634 max_size = cfg->max_size; in rte_acl_build()
1647 sizeof(ctx->data_indexes[0]), max_size); in rte_acl_build()
H A Dacl.h192 uint32_t num_categories, uint32_t data_index_sz, size_t max_size);
/dpdk/drivers/net/nfp/nfpcore/
H A Dnfp_nsp.c286 unsigned int max_size; in nfp_nsp_command_buf() local
304 max_size = RTE_MAX(in_size, out_size); in nfp_nsp_command_buf()
305 if (FIELD_GET(NSP_DFLT_BUFFER_SIZE_MB, reg) * SZ_1M < max_size) { in nfp_nsp_command_buf()
310 max_size); in nfp_nsp_command_buf()
/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_hv_vf.c170 static s32 ixgbevf_hv_set_rlpml_vf(struct ixgbe_hw *hw, u16 max_size) in ixgbevf_hv_set_rlpml_vf() argument
179 reg |= ((max_size + 4) | IXGBE_RXDCTL_RLPML_EN); in ixgbevf_hv_set_rlpml_vf()
H A Dixgbe_vf.h111 s32 ixgbevf_rlpml_set_vf(struct ixgbe_hw *hw, u16 max_size);
H A Dixgbe_vf.c647 s32 ixgbevf_rlpml_set_vf(struct ixgbe_hw *hw, u16 max_size) in ixgbevf_rlpml_set_vf() argument
653 msgbuf[1] = max_size; in ixgbevf_rlpml_set_vf()
/dpdk/drivers/net/ice/base/
H A Dice_nvm.c779 u32 min_size = 0, max_size = ICE_AQC_NVM_MAX_OFFSET + 1; in ice_discover_flash_size() local
788 while ((max_size - min_size) > 1) { in ice_discover_flash_size()
789 u32 offset = (max_size + min_size) / 2; in ice_discover_flash_size()
799 max_size = offset; in ice_discover_flash_size()
810 ice_debug(hw, ICE_DBG_NVM, "Predicted flash size is %u bytes\n", max_size); in ice_discover_flash_size()
812 hw->flash.flash_size = max_size; in ice_discover_flash_size()
/dpdk/drivers/net/qede/base/
H A Decore_init_ops.c212 u32 offset, output_len, input_len, max_size; local
230 max_size = MAX_ZIPPED_SIZE * 4;
231 OSAL_MEMSET(p_hwfn->unzip_buf, 0, max_size);
235 max_size,
H A Dbcm_osal.c228 u8 *input_buf, u32 max_size, u8 *unzip_buf) in qede_unzip_data() argument
235 p_hwfn->stream->avail_out = max_size; in qede_unzip_data()
H A Dbcm_osal.h371 u8 *input_buf, u32 max_size, u8 *unzip_buf);
379 #define OSAL_UNZIP_DATA(p_hwfn, input_len, buf, max_size, unzip_buf) \ argument
380 qede_unzip_data(p_hwfn, input_len, buf, max_size, unzip_buf)
/dpdk/drivers/net/fm10k/base/
H A Dfm10k_mbx.c318 if ((len < total_len) && (msg_len <= mbx->max_size)) in fm10k_mbx_validate_msg_size()
1078 mbx->max_size = mbx->rx.size - 1; in fm10k_mbx_reset_work()
1121 mbx->max_size = size; in fm10k_mbx_update_max_size()
1184 mbx->max_size = mbx->rx.size - 1; in fm10k_mbx_process_connect()
1635 mbx->max_size = FM10K_MBX_MSG_MAX_SIZE; in fm10k_pfvf_mbx_init()
1742 mbx->max_size = FM10K_MBX_MSG_MAX_SIZE; in fm10k_sm_mbx_connect()
2206 mbx->max_size = FM10K_MBX_MSG_MAX_SIZE; in fm10k_sm_mbx_init()
H A Dfm10k_mbx.h268 u16 max_size, mbmem_len; member
/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_vf.h57 s32 txgbevf_rlpml_set_vf(struct txgbe_hw *hw, u16 max_size);
H A Dtxgbe_vf.c553 s32 txgbevf_rlpml_set_vf(struct txgbe_hw *hw, u16 max_size) in txgbevf_rlpml_set_vf() argument
559 msgbuf[1] = max_size; in txgbevf_rlpml_set_vf()
/dpdk/app/test-acl/
H A Dmain.c100 size_t max_size; member
815 cfg.max_size = config.max_size; in acx_init()
1019 fprintf(f, "%s:%zu\n", OPT_MAX_SIZE, config.max_size); in dump_config()
1074 config.max_size = get_ulong_opt(optarg, in get_input_opts()
/dpdk/drivers/net/e1000/base/
H A De1000_vf.c437 void e1000_rlpml_set_vf(struct e1000_hw *hw, u16 max_size) in e1000_rlpml_set_vf() argument
442 msgbuf[1] = max_size; in e1000_rlpml_set_vf()
/dpdk/lib/eal/common/
H A Dmalloc_heap.c188 size_t idx, max_size = 0; in find_biggest_element() local
214 if (cur_size > max_size) { in find_biggest_element()
215 max_size = cur_size; in find_biggest_element()
221 *size = max_size; in find_biggest_element()
/dpdk/lib/vhost/
H A Dvirtio_crypto.h415 uint64_t max_size; member
/dpdk/doc/guides/prog_guide/
H A Dpacket_classif_access_ctrl.rst326 It could be done via **max_size** field of the **rte_acl_config** structure.
350 cfg.max_size = 0x800000;
358 cfg.max_size = 0;
/dpdk/app/test/
H A Dtest_acl.c898 size_t max_size) in build_convert_rules() argument
904 cfg.max_size = max_size; in build_convert_rules()

12