Home
last modified time | relevance | path

Searched refs:chunk_order (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_icm_pool.c335 int chunk_order; in dr_icm_hot_mem_size() local
337 for (chunk_order = 0; chunk_order < pool->num_of_buckets; chunk_order++) in dr_icm_hot_mem_size()
338 hot_size += pool->buckets[chunk_order].hot_list_count * in dr_icm_hot_mem_size()
339 mlx5dr_icm_pool_chunk_size_to_byte(chunk_order, pool->icm_type); in dr_icm_hot_mem_size()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_nsp.c495 unsigned int max_size, unsigned int chunk_order, in nfp_nsp_command_buf_dma_sg() argument
512 chunk_size = BIT_ULL(chunk_order); in nfp_nsp_command_buf_dma_sg()
617 arg->arg.code, ret, max_size, chunk_order); in nfp_nsp_command_buf_dma_sg()
626 unsigned int chunk_order, buf_order; in nfp_nsp_command_buf_dma() local
647 chunk_order = buf_order; in nfp_nsp_command_buf_dma()
649 chunk_order = min_t(unsigned int, dma_order, PAGE_SHIFT); in nfp_nsp_command_buf_dma()
652 return nfp_nsp_command_buf_dma_sg(nsp, arg, max_size, chunk_order, in nfp_nsp_command_buf_dma()
/Linux-v5.4/drivers/ntb/test/
Dntb_perf.c113 static unsigned char chunk_order = 19; /* 512K */ variable
114 module_param(chunk_order, byte, 0644);
115 MODULE_PARM_DESC(chunk_order, "Data chunk order [2^n] to transfer");
906 chunk_size = 1ULL << chunk_order; in perf_run_test()
1338 debugfs_create_u8("chunk_order", 0500, perf->dbgfs_dir, &chunk_order); in perf_setup_dbgfs()
1486 if (chunk_order > MAX_CHUNK_ORDER) { in perf_init()
1487 chunk_order = MAX_CHUNK_ORDER; in perf_init()
1488 pr_info("Chunk order reduced to %hhu\n", chunk_order); in perf_init()
1491 if (total_order < chunk_order) { in perf_init()
1492 total_order = chunk_order; in perf_init()