ice_aq_check_events(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, this is the ice_aq_check_events(9) page from the Kernel API Manual β€” check if any thread is waiting for an AdminQ event. That's the whole vibe. 🫢


✨ SYNOPSIS ✨

void ice_aq_check_events (struct ice_pf *pf , u16 opcode , struct
       ice_rq_event_info *event );

🌸 ARGUMENTS 🌸

  • pf β€” pointer to the PF private structure. the main character struct, lowkey.
  • opcode β€” the opcode of the event. iykyk.
  • event β€” the event to check. the event in question, bestie.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea β˜•: this function loops over the current list of pending threads waiting for an AdminQ event. For each matching task, it copies the contents of the event into the task structure and wakes up the thread. the way that it just handles the wake-up for you β€” iconic.

If multiple threads wait for the same opcode, they will all be woken up. no one left on read, periodt. πŸ’…

⚠️ tiny but important note: event->msg_buf will only be duplicated if the event has a buffer with enough space already allocated. Otherwise, only the descriptor and message length will be copied. that's the whole caveat, don't skip it. 🫢

πŸ’… RETURN πŸ’…

true if an event was found, false otherwise. that's it, that's the return value. 😌


πŸŽ€ SEE ALSO πŸŽ€

the whole extended ice fam, plus where the code lives β€” no skips, we're listing everybody:


sign-off bestie πŸ’‹: source/version line lives at ./drivers/net/ethernet/intel/ice, dated October 2026, and yes the page is ice_aq_check_events(9). bye babes, stay hydrated and check your event queues 🫢✨

πŸ“¦ where this page comes from