_ctl_send_mctp_passthru_req(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

_ctl_send_mctp_passthru_req β€” literally just sending an MCTP passthru request, bestie πŸ’– (this is the _ctl_send_mctp_passthru_req(9) kernel API manual, and yes we're getting into it)


✨ SYNOPSIS ✨

void _ctl_send_mctp_passthru_req (struct MPT3SAS_ADAPTER *ioc ,
Mpi26MctpPassthroughRequest_t *mctp_passthru_req , void *psge ,
dma_addr_t data_out_dma , int data_out_sz , dma_addr_t data_in_dma , int
data_in_sz , u16 smid );

okay so it returns void β€” meaning it does the thing and does not come back to tell you how it went. it's giving "i did it, don't ask questions" energy πŸ’€


πŸŽ€ ARGUMENTS πŸŽ€

Eight (8) arguments, no cap, let's go through every single one because we do not skip πŸ’…

  • ioc β€” the per adapter object πŸ¦‹ like, the actual adapter we're talking to. main character of the whole file ngl.
  • mctp_passthru_req β€” the MPI mctp passhthru request from the caller πŸ™ˆ (yes the original spells it passhthru β€” she said what she said, we're keeping it, periodt).
  • psge β€” pointer to the H2DSGL πŸ‘‘ this is the hookup, treat her with respect.
  • data_out_dma β€” DMA buffer for the H2D SGL ⭐
  • data_out_sz β€” H2D length, i.e. how much is going out 🌸
  • data_in_dma β€” DMA buffer for the D2H SGL ⭐
  • data_in_sz β€” D2H length, i.e. how much is coming back 🌈
  • smid β€” the SMID to submit the request with πŸ”₯ that's the ticket, bestie.
fr fr: H2D = host to device, D2H = device to host, and you need BOTH buffers plus their sizes, plus the SGL pointer and the SMID. no shortcuts, we love a complete call signature πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/scsi/mpt3sas/mpt3sas_ctl.c β€” go read her, she's iconic. and then there's... gestures vaguely at the entire rest of the driver β€” okay buckle up, because this list is LONG and every single one of these is in the group chat πŸ’œ

like I said. EVERYONE is here. it's a whole reunion episode 🫢 see also: your entire weekend 😭


and that's the page, bestie β€” shoutout to ./drivers/scsi/mpt3sas for hosting this whole situation, dated October 2026, filed under _ctl_send_mctp_passthru_req(9) ✨ slay, go send your request, iykyk πŸ’–πŸŽ€

πŸ“¦ where this page comes from