STRUCT GENERIC_PDU_RESC(9)
β¨ struct generic_pdu_resc(9) β¨
okay bestie, welcome to the Kernel API Manual entry for struct generic_pdu_resc β that's the login pdu resource structure and she is lowkey the whole backstage pass for iSCSI login traffic π
β¨ NAME β¨
struct generic_pdu_resc β the login pdu resource structure π
πΈ SYNOPSIS πΈ
struct generic_pdu_resc {
char *req_buf;
dma_addr_t req_dma_addr;
u32 req_buf_size;
char *req_wr_ptr;
struct iscsi_hdr resp_hdr;
char *resp_buf;
dma_addr_t resp_dma_addr;
u32 resp_buf_size;
char *resp_wr_ptr;
char *req_bd_tbl;
dma_addr_t req_bd_dma;
char *resp_bd_tbl;
dma_addr_t resp_bd_dma;
};
like, that's her whole outfit, head to toe, no cap π«Ά
π¦ Members π¦
so every single field, and what she actually does:
req_bufβ the driver buffer that stages the payload riding along with the login request π₯req_dma_addrβ the dma address for that iSCSI login request payload buffer β¨req_buf_sizeβ the actual login request payload length (yes, the real one) πreq_wr_ptrβ pointer into the login request buffer for when the next data is gonna be written βοΈresp_hdrβ the iscsi header where the iscsi login response header gets recreated π¬ (it's giving main character energy, honestly)resp_bufβ buffer to stage the login response payload π€resp_dma_addrβ the login response payload buffer's dma address π«resp_buf_sizeβ the login response payload length πresp_wr_ptrβ pointer into the login response buffer for when the next data is to be written βοΈreq_bd_tblβ the iscsi login request payload BD table ποΈreq_bd_dmaβ the login request BD table dma address πresp_bd_tblβ the iscsi login response payload BD table ποΈresp_bd_dmaβ login request BD table dma address π
fr fr, that last one is written exactly like the manual says it β resp_bd_dma described as the login request BD table dma address. not me editing the docs, i'm just the messenger bestie π
π Description π
so the way this works: this structure defines the buffer info for generic pdus β think iSCSI Login, Logout and NOP π¦ like, the everyday little pdus that keep the session alive and slaying.
π SEE ALSO π
- Kernel file
./drivers/scsi/qedi/qedi_iscsi.hβ go read it, iykyk π
and that's the whole vibe check π this page lives under ./drivers/scsi/qedi, dated October 2026 β mwah, periodt πβ¨
π¦ 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