qman_alloc_cgrid_range(9)
π NAME π
okay bestie, welcome to the Kernel API Manual β¨ this page is all about qman_alloc_cgrid_range(9) β literally allocating a contiguous range of CGR IDs. no cap, that's the vibe. π
πΈ SYNOPSIS πΈ
okay so the function's whole energy is this one line, and you gotta keep it exact:
int qman_alloc_cgrid_range (u32 *result , u32 count );
periodt. don't go "fixing" the spacing, bestie β it's giving original. π«Ά
π ARGUMENTS π
resultβ the API sets this to the base CGR ID of the allocated range π so yeah, this is where the answer lands.countβ the number of CGR IDs required. literally how many you're asking for, bestie.
π¦ DESCRIPTION π¦
here's the whole plot, no extra lore: it returns 0 on success, or a negative error code. π that's it. that's the tea. ngl, kind of iconic in its simplicity.
π SEE ALSO π
if you're going down the QMan rabbit hole, the kernel file ./include/soc/fsl/qman.h says hi π and here's the whole crew, fr fr:
qman_p_irqsource_add(9)qman_p_irqsource_remove(9)qman_affine_cpus(9)qman_affine_channel(9)qman_get_affine_portal(9)qman_start_using_portal(9)qman_p_poll_dqrr(9)qman_p_static_dequeue_add(9)qman_create_fq(9)qman_destroy_fq(9)qman_fq_fqid(9)qman_init_fq(9)qman_schedule_fq(9)qman_retire_fq(9)qman_oos_fq(9)qman_enqueue(9)qman_alloc_fqid_range(9)qman_release_fqid(9)qman_query_fq_np(9)qman_alloc_pool_range(9)qman_release_pool(9)qman_create_cgr(9)qman_delete_cgr(9)qman_delete_cgr_safe(9)qman_update_cgr_safe(9)qman_query_cgr_congested(9)qman_release_cgrid(9)qman_is_probed(9)qman_portals_probed(9)qman_dqrr_get_ithresh(9)qman_dqrr_set_ithresh(9)
and that's the page, bestie π«Ά β signed off from source/version ./include/soc/fsl, dated October 2026, mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms