Searched refs:chunk_order (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/ntb/test/ |
D | ntb_perf.c | 113 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"); 932 chunk_size = 1ULL << chunk_order; in perf_run_test() 1373 debugfs_create_u8("chunk_order", 0500, perf->dbgfs_dir, &chunk_order); in perf_setup_dbgfs() 1534 if (chunk_order > MAX_CHUNK_ORDER) { in perf_init() 1535 chunk_order = MAX_CHUNK_ORDER; in perf_init() 1536 pr_info("Chunk order reduced to %hhu\n", chunk_order); in perf_init() 1539 if (total_order < chunk_order) { in perf_init() 1540 total_order = chunk_order; in perf_init()
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_nsp.c | 496 unsigned int max_size, unsigned int chunk_order, in nfp_nsp_command_buf_dma_sg() argument 513 chunk_size = BIT_ULL(chunk_order); in nfp_nsp_command_buf_dma_sg() 618 arg->arg.code, ret, max_size, chunk_order); in nfp_nsp_command_buf_dma_sg() 627 unsigned int chunk_order, buf_order; in nfp_nsp_command_buf_dma() local 648 chunk_order = buf_order; in nfp_nsp_command_buf_dma() 650 chunk_order = min_t(unsigned int, dma_order, PAGE_SHIFT); in nfp_nsp_command_buf_dma() 653 return nfp_nsp_command_buf_dma_sg(nsp, arg, max_size, chunk_order, in nfp_nsp_command_buf_dma()
|