STRUCT ISCSI_ISER_TASK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct iscsi_iser_task β€” iser task context ✨

okay so bestie, welcome to the Kernel API Manual entry for struct iscsi_iser_task(9) πŸŽ€ this is the iser task context, and honestly? she's iconic. let's get into it πŸ’…


🌸 SYNOPSIS 🌸

here's the whole struct, laid out exactly how it lives in the source β€” no cap, every member, character for character:

struct iscsi_iser_task {
    struct iser_tx_desc          desc;
    struct iser_conn             *iser_conn;
    enum iser_task_status        status;
    struct scsi_cmnd             *sc;
    int command_sent;
    int dir[ISER_DIRS_NUM];
    struct iser_mem_reg          rdma_reg[ISER_DIRS_NUM];
    struct iser_data_buf         data[ISER_DIRS_NUM];
    struct iser_data_buf         prot[ISER_DIRS_NUM];
 };

like, she's giving structure. she's giving organization. we love a tidy struct 🫢


πŸ¦‹ Members πŸ¦‹

okay so every single one of these, in order, because we don't skip:

  • desc β€” the TX descriptor πŸ’Œ that's her outgoing-mail moment.
  • iser_conn β€” link to the iser connection πŸ”— this is the group-chat she's in.
  • status β€” current task status ⭐ where she's at emotionally (technically).
  • sc β€” link to the scsi command 🎯 her ride-or-die, the scsi command in question.
  • command_sent β€” indicate if command was sent πŸ“¬ lowkey just a "did we press send" flag, bestie.
  • dir β€” iser data direction 🧭 which way the data's flowing, an array sized ISER_DIRS_NUM.
  • rdma_reg β€” task rdma registration desc 🌈 also ISER_DIRS_NUM of them, one per direction.
  • data β€” iser data buffer desc πŸ“ the actual payload vibes, ISER_DIRS_NUM strong.
  • prot β€” iser protection buffer desc πŸ›‘οΈ protection info, again ISER_DIRS_NUM of them.
heads up bestie: dir, rdma_reg, data and prot are all indexed by direction, sized ISER_DIRS_NUM β€” not a single lonely value πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file ./drivers/infiniband/ulp/iser/iscsi_iser.h β€” that's the struct's home address btw 🏑 β€” plus this whole extended friend group, all (9):

  • struct iser_data_buf(9)
  • struct iser_mem_reg(9)
  • struct iser_tx_desc(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 iser_global(9)

go read all of them fr fr, it's giving curriculum πŸ“šβœ¨


and that's the whole page, bestie β€” mwah πŸ’– this one came straight from ./drivers/infiniband/ulp/iser, dated October 2026, and yes the footer still says struct iscsi_iser_task(9) because we keep the receipts 🧾 periodt πŸ’…

πŸ“¦ where this page comes from