pds_client_adminq_cmd(9)
π pds_client_adminq_cmd(9) π
okay bestie, welcome to the Kernel API Manual β more specifically, section 9 of it, and more specifically than that, we're talking about pds_client_adminq_cmd. yeah. the whole name. she's long but she's worth it π
β¨ NAME β¨
pds_client_adminq_cmd β the function that processes an adminq request for the client. that's it, that's the vibe π¦
πΈ SYNOPSIS πΈ
int pds_client_adminq_cmd (struct pds_auxiliary_dev *padev , union
pds_core_adminq_cmd *req , size_t req_len , union pds_core_adminq_comp
*resp , u64 flags );
she returns an int, she takes five args, and yes you have to remember all of them π
π«Ά ARGUMENTS π«Ά
padevβ ptr to the client device. like, the actual device object. don't lose her πreqβ ptr to the buffer holding your request πreq_lenβ the length of the actual struct being used for the request, not the vibe of it, the real length fr frrespβ ptr to the buffer where the answer gets copied. she's empty until Core fills her in πflagsβ optional flags, and they come frompds_core_adminq_flags. optional! cute! β¨
β RETURN β
0 on success, or negative for error. so basically: zero = slay, negative = π
π DESCRIPTION π
okay so here's the little sequence of events, and honestly it's giving choreography:
- Client sends pointers to the request and response buffers
- Core copies request data into
pds_core_client_request_cmd - Core sets other fields as needed
- Core posts to AdminQ
- Core copies completion data into the response buffer
that's the whole flow, no cap. you hand over the pointers, Core does the actual work, everybody goes home π§
π₯ SEE ALSO π₯
- Kernel file
./drivers/net/ethernet/amd/pds_core/auxbus.c pds_client_register(9)pds_client_unregister(9)
both of those are 9 sections too, so you know they're part of the same little friend group π
ngl this one is short and sweet, but don't skip the details βreq_lenis the actual struct length andflagsare optional flags frompds_core_adminq_flags. details are the moment π
okay that's the whole page, love u, go read the source π«Ά this little number lives in ./drivers/net/ethernet/amd/pdsβ¦ (the kernel source tree, you know the one) and the version/date stamp on it is October 2026 β iconic, future-dated, obsessed βπ
π¦ 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