octeon_setup_droq(9)
β¨ octeon_setup_droq β¨
okay so literally welcome to the octeon_setup_droq page, bestie π this is a Kernel API Manual moment and we're talking about setting up an output queue. yes. that's the whole vibe. it's giving driver-internals main character energy π
πΈ NAME πΈ
octeon_setup_droq β Setup output queue π¦
like, that's it. that's the function. it sets up the output queue. iconic of it honestly β¨
π SYNOPSIS π
int octeon_setup_droq (struct octeon_device *oct , int q_no , int
num_descs , int desc_size , void *app_ctx );
so it returns an int (iykyk π), and it takes five whole arguments. five! she's thorough π
π«Ά ARGUMENTS π«Ά
okay bestie let's go through them one by one, no skipping, we don't do that here π
octβ the octeon device. like, the actual device we're doing this to. the main character of the struct world πq_noβ which queue. gotta know which one!! pick a queue, any queue πnum_descsβ how many descriptors. the count. the amount. the number of them π«desc_sizeβ size of each descriptor</se>... wait, size of each descriptor π like how big each one isapp_ctxβ application context. avoid *, so it could be literally anything, and that's her business π
ngl these descriptions are short but we are NOT dropping a single one of them. all five. every time. periodt π
π₯ SEE ALSO π₯
okay so if you liked this function (and who wouldn't), here's the whole friend group π first up, the kernel file where all this lives:
Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_core.c
and then the squad, in order, exactly as listed, because we are not about to leave anyone out of the group chat:
lio_delete_glists(9)lio_setup_glists(9)liquidio_push_packet(9)napi_schedule_wrapper(9)liquidio_napi_drv_callback(9)liquidio_napi_poll(9)liquidio_setup_io_queues(9)liquidio_schedule_droq_pkt_handlers(9)liquidio_legacy_intr_handler(9)octeon_setup_interrupt(9)liquidio_change_mtu(9)
eleven references. eleven. we ate and left no crumbs π
π reminder bestie:octis astruct octeon_device *,app_ctxis avoid *, and the rest are plain oldints. keep the types exact, that's the whole point π§
and that's the page!! π this little drop came straight out of ./drivers/net/ethernet/cavium/... (yes it gets cut off like that, that's just how the footer does it π
) and it's dated October 2026, so mark your calendars bestie. mwah. bye π«Άβ¨
π¦ 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