STRUCT ISER_TX_DESC(9)
π struct iser_tx_desc(9)
okay bestie, welcome to the Kernel API Manual, and today's main character is struct iser_tx_desc β the iSER TX descriptor π¦ (yes, that's the NAME section, and yes, it's giving "small struct, huge responsibilities").
β¨ SYNOPSIS β¨
here's the whole glow-up, every field exactly as written, no cap:
struct iser_tx_desc {
struct iser_ctrl iser_header;
struct iscsi_hdr iscsi_header;
enum iser_desc_type type;
u64 dma_addr;
struct ib_sge tx_sg[2];
int num_sge;
struct ib_cqe cqe;
bool mapped;
struct ib_reg_wr reg_wr;
struct ib_send_wr send_wr;
struct ib_send_wr inv_wr;
};
π Members π
like, let's go field by field, bestie, because every single one of these is doing something:
iser_headerβ the iser header πiscsi_headerβ the iscsi header π«Άtypeβ command/control/dataoutdma_addrβ the header buffer's dma_address πtx_sgβ the scatter-gather situation:sg[0]points to the iser/iscsi headers, andsg[1]optionally points to either of: immediate data, unsolicited data-out, or control πnum_sgeβ how many sges are actually used on this TX task π’cqeβ the completion handler βmappedβ is the task header mapped? (yes/no vibe check) πreg_wrβ registration WRsend_wrβ send WRinv_wrβ invalidate WR
like, reg WR, send WR, inv WR β three whole work requests just vibing in one struct. iconic. π
π¦ SEE ALSO π¦
the whole friend group, iykyk β first up, the kernel file itself: ./drivers/infiniband/ulp/iser/iscsi_iser.h, then all these besties:
struct iser_data_buf(9)struct iser_mem_reg(9)struct iser_rx_desc(9)struct iser_login_desc(9)struct iser_device(9)struct iser_reg_resources(9)struct iser_fr_desc(9)struct iser_fr_pool(9)struct ib_conn(9)struct iser_conn(9)struct iscsi_iser_task(9)struct iser_global(9)
go read them fr fr, they all ate π β¨
ngl this page is short but she eats every time. no warnings, no deprecated nonsense, just a clean little descriptor struct doing her thing π
and that's the whole page, bestie π β brought to you by the source in ./drivers/infiniband/ulp/iser, dated October 2026, and the man page for struct iser_tx_desc(9) is officially wrapped. 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