STRUCT ISER_CONN(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

struct iser_conn(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual page for struct iser_conn β€” literally the iSER connection context, and it's giving "one struct to hold the whole connection vibe" ✨ every field matters here, no cap.


✨ NAME ✨

struct iser_conn β€” iSER connection context πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

struct iser_conn {
    struct ib_conn               ib_conn;
    struct iscsi_conn            *iscsi_conn;
    struct iscsi_endpoint        *ep;
    enum iser_conn_state         state;
    unsigned qp_max_recv_dtos;
    u16 max_cmds;
    char name[ISER_OBJECT_NAME_SIZE];
    struct work_struct           release_work;
    struct mutex                 state_mutex;
    struct completion            stop_completion;
    struct completion            ib_completion;
    struct completion            up_completion;
    struct list_head             conn_list;
    struct iser_login_desc       login_desc;
    struct iser_rx_desc          *rx_descs;
    u32 num_rx_descs;
    unsigned short               scsi_sg_tablesize;
    unsigned short               pages_per_mr;
    bool snd_w_inv;
 };

🫢 Members 🫢

  • ib_conn β€” connection RDMA resources 🧚
  • iscsi_conn β€” link to matching iSCSI connection πŸ”—
  • ep β€” transport handle πŸŽ€
  • state β€” connection logical state 🌸
  • qp_max_recv_dtos β€” maximum number of data outs; corresponds to max number of post recvs πŸ“₯
  • max_cmds β€” maximum cmds allowed for this connection πŸ‘‘
  • name β€” connection peer portal πŸŒ€
  • release_work β€” deferred work for release job 🧹
  • state_mutex β€” protects the iSER connection state (the source says "onnection", and honestly, same vibe) πŸ”’
  • stop_completion β€” conn_stop completion πŸ›‘
  • ib_completion β€” RDMA cleanup completion 🧼
  • up_completion β€” connection establishment completed (state is ISER_CONN_UP) πŸ†™
  • conn_list β€” entry in ig conn list πŸ“‹
  • login_desc β€” login descriptor πŸ”
  • rx_descs β€” rx buffers array (cyclic buffer) πŸ”
  • num_rx_descs β€” number of rx descriptors πŸ”’
  • scsi_sg_tablesize β€” scsi host sg_tablesize πŸ“¦
  • pages_per_mr β€” maximum pages available for registration πŸ“„
  • snd_w_inv β€” connection uses remote invalidation πŸ’«

🌈 SEE ALSO 🌈

go read these too, bestie β€” they're all part of the lore:

  • Kernel file ./drivers/infiniband/ulp/iser/iscsi_iser.h
  • 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 iscsi_iser_task(9)
  • struct iser_global(9)

source/version: ./drivers/infiniband/ulp/iser Β· date: October 2026 β€” mwah πŸ’‹

πŸ“¦ where this page comes from