efx_mcdi_rpc_async(9)
π 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 numberinbufβ Command parametersinlenβ Length of command parameters, in bytesoutlenβ Length to allocate for response buffer, in bytescompleteβ Function to be called on completion or cancellation.cookieβ Arbitrary value to be passed tocomplete.
π¦ 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 π₯
- Kernel file
./drivers/net/ethernet/sfc/mcdi.c efx_mcdi_rpc(9)
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
- 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