i40e_asq_sen...mmand_atomic(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ i40e_asq_sen...mmand_atomic(9) ✨

okay so bestie, we're deep in the Kernel API Manual today and this one is a whole vibe πŸ’… it's an i40e networking girlie function, and the name got truncated because apparently even manpage titles have a character limit (tragic, I know 😭). Buckle up, we're sending commands to the Admin Queue πŸŽ€


🌸 NAME 🌸

i40e_asq_send_command_atomic β€” literally just sends a command to the Admin Queue, no cap πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int i40e_asq_send_command_atomic (struct i40e_hw *hw , struct
       libie_aq_desc *desc , void *buff , u16 buff_size , struct
       i40e_asq_cmd_details *cmd_details , bool is_atomic_context );

look at her, six arguments and she's serving 🫢


πŸŽ€ ARGUMENTS πŸŽ€

so bestie, here's the tea on every single parameter, don't skip a single one:

  • hw β€” pointer to the hw struct πŸ‘‘ like, the hardware context, the main character herself
  • desc β€” a prefilled descriptor describing the command (and bestie, it's non DMA mem, ok that detail matters πŸ’€)
  • buff β€” the buffer to use for indirect commands πŸ“
  • buff_size β€” size of that buffer, specifically for the indirect commands, u16 energy ✨
  • cmd_details β€” pointer to the command details structure 🧚
  • is_atomic_context β€” a bool that literally just asks: is the function called in an atomic context? πŸ™ˆ yes or no, queen

πŸ’œ DESCRIPTION πŸ’œ

okay so here's what actually goes down: it acquires the lock and then calls the main send command execution routine πŸ”₯ that's it, that's the whole plot. simple, iconic, does exactly what it says on the tin πŸ’…

ngl this is the atomic-context version of the send, which is why that last bool is asking you the question β€” you're the one who has to know where you're calling it from 😭

🌈 SEE ALSO 🌈

here's the whole friend group, the entire i40e squad, and yes we're listing every single one because nobody gets left out 🫢:

Kernel file ./drivers/net/ethernet/intel/i40e/i40e_adminq.c is the home base 🏠


and that's the page bestie, go read the source and slay πŸ’–

mwah πŸ’‹ this lil number lives in ./drivers/net/ethernet/intel/i40e, dated October 2026, brought to you by the Kernel API Manual crew β€” periodt βœ¨πŸ‘‘

πŸ“¦ where this page comes from