i40e_fill_d...ect_cmd_desc(9)
π i40e_fill_default_direct_cmd_desc β a Kernel API Manual moment π
okay so bestie, welcome to the Kernel API Manual, section 9 (iykyk, that's the kernel-functions girlies) π
this one's a lil helper function page and it's honestly short but it eats.
β¨ NAME β¨
i40e_fill_default_direct_cmd_desc β an AQ descriptor helper function π¦
like, that's literally her whole job. she's a helper. she helps. periodt.
πΈ SYNOPSIS πΈ
void i40e_fill_default_direct_cmd_desc (struct libie_aq_desc *desc , u16 opcode );
no cap, that's the whole signature β returns void, so it doesn't even give you a little value back, she just does the thing and dips π
π«Ά ARGUMENTS π«Ά
descβ pointer to the temp descriptor (non DMA mem). like, it's the scratch one, not DMA memory, ok? don't come for me, just read it πopcodeβ the opcode can be used to decide which flags to turn off or on. so she peeks at the opcode and is like "mm, these flags can stay, these ones gotta go" π
β DESCRIPTION β
Fill the desc with default values. that's it. that's the whole description, bestie β she fills the descriptor with defaults and minds her own business π
π₯ SEE ALSO π₯
Kernel file ./drivers/net/ethernet/intel/i40e/i40e_adminq.c β that's where she lives, go say hi π
and the whole friend group, in order, no gatekeeping:
i40e_alloc_adminq_asq_ring(9)i40e_alloc_adminq_arq_ring(9)i40e_free_adminq_asq(9)i40e_free_adminq_arq(9)i40e_alloc_arq_bufs(9)i40e_alloc_asq_bufs(9)i40e_free_arq_bufs(9)i40e_free_asq_bufs(9)i40e_config_asq_regs(9)i40e_config_arq_regs(9)i40e_init_asq(9)i40e_init_arq(9)i40e_shutdown_asq(9)i40e_shutdown_arq(9)i40e_set_hw_caps(9)i40e_init_adminq(9)i40e_shutdown_adminq(9)i40e_clean_asq(9)i40e_asq_done(9)i40e_asq_send_command_atomic_exec(9)i40e_asq_send_command_atomic(9)i40e_asq_send_command_atomic_v2(9)i40e_clean_arq_element(9)
twenty-three icons, no filler, we love a complete list π§
lowkey reminder bestie: desc is a pointer to the temp descriptor and it's explicitly non DMA mem β keep that in mind, it's giving "don't do anything weird with it" π
and that's the tea β this page is served fresh out of ./drivers/net/ethernet/intel/i40e, dated October 2026, and it's literally titled i40e_fill_d...ect_cmd_desc(9) (yes the man page name got truncated mid-word, she's mysterious like that π). bye bestie, go fill some descriptors πβ¨π
π¦ 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