efx_mcdi_rpc_async(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– efx_mcdi_rpc_async πŸ’–

okay so bestie, this is the efx_mcdi_rpc_async page from the Kernel API Manual, section 9 ✨ it's giving β€œschedule an MCDI command to run asynchronously” and honestly the async energy is iconic πŸ’…

🌸 NAME 🌸

  • efx_mcdi_rpc_async β€” Schedule an MCDI command to run asynchronously

✨ SYNOPSIS ✨

int efx_mcdi_rpc_async (struct efx_nic *efx , unsigned int cmd , const
       efx_dword_t *inbuf , size_t inlen , size_t outlen ,
       efx_mcdi_async_completer *complete , unsigned long cookie );

πŸ’… ARGUMENTS πŸ’…

  • efx β€” NIC through which to issue the command 🫢
  • cmd β€” Command type number
  • inbuf β€” Command parameters
  • inlen β€” Length of command parameters, in bytes
  • outlen β€” Length to allocate for response buffer, in bytes
  • complete β€” Function to be called on completion or cancellation.
  • cookie β€” Arbitrary value to be passed to complete.

πŸ¦‹ DESCRIPTION πŸ¦‹

This function does not sleep and therefore may be called in atomic context. no lil nap, no vibe interruption 😴🚫 It will fail if event queues are disabled or if MCDI event completions have been disabled due to an error.

If it succeeds, the complete function will be called exactly once in atomic context, when one of the following occurs:

  • (a) the completion event is received (in NAPI context)
  • (b) event queues are disabled (in the process that disables them)
  • (c) the request times-out (in timer context)
so yeah, that complete callback is a one-time exclusive event, bestie β€” exactly once, in atomic context πŸ’–

πŸ”₯ SEE ALSO πŸ”₯


that’s the whole page, bestie 🫢 source/version tea from ./drivers/net/ethernet/sfc, dated October 2026, for efx_mcdi_rpc_async(9) β€” slay and stay asynchronous πŸ’…βœ¨

πŸ“¦ where this page comes from