pds_client_adminq_cmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 fr
  • resp β€” ptr to the buffer where the answer gets copied. she's empty until Core fills her in πŸ“
  • flags β€” optional flags, and they come from pds_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 πŸ”₯

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_len is the actual struct length and flags are optional flags from pds_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