STRUCT BNX2I_CONN(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct bnx2i_conn(9) ✨

okay bestie, welcome to the Kernel API Manual entry for struct bnx2i_conn β€” it's giving kernel-doc, it's giving SCSI, it's giving "my driver has a lot of pointers" πŸ’…


πŸ¦‹ NAME πŸ¦‹

struct bnx2i_conn β€” the iscsi connection structure, no cap, that's literally what it is 🫢


🌸 SYNOPSIS 🌸

struct bnx2i_conn {
    struct iscsi_cls_conn *cls_conn;
    struct bnx2i_hba *hba;
    struct completion cmd_cleanup_cmpl;
    u32 iscsi_conn_cid;
  #define BNX2I_CID_RESERVED      0x5AFF;
    u32 fw_cid;
    struct timer_list poll_timer;
    struct bnx2i_endpoint *ep;
    struct generic_pdu_resc gen_pdu;
    u64 violation_notified;
    atomic_t work_cnt;
 };

like, look at her. main character struct energy πŸ‘‘


πŸŽ€ Members πŸŽ€

  • cls_conn β€” a pointer to the iscsi cls conn, lowkey just pointing at her own paperwork πŸ’–
  • hba β€” adapter structure pointer, the host bus adapter in question ✨
  • iscsi_conn_cid β€” the iscsi conn id, her little ID badge πŸͺͺ
  • fw_cid β€” firmware iscsi context id, the firmware's own copy of the badge, twin energy fr fr 🧚
  • ep β€” endpoint structure pointer, we love a good endpoint moment 🌈
  • gen_pdu β€” the login/nopout/logout pdu resources, like a little snack pack for those three dudes πŸ“
  • violation_notified β€” a bit mask used to track iscsi error/warning messages that were already printed out, so we don't spam the log like a certain group chat πŸ’€
  • work_cnt β€” keeps track of the number of outstanding work, she's counting, she's watching, she's an atomic_t πŸ‘€
ngl, the struct also carries cmd_cleanup_cmpl, poll_timer, and the #define BNX2I_CID_RESERVED 0x5AFF β€” they're right there in the synopsis, so don't act surprised πŸ’…

⭐ Description ⭐

iSCSI connection structure. that's it, that's the description, she's iconic and she's brief 😌


πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/scsi/bnx2i/bnx2i.h
  • struct generic_pdu_resc(9)
  • struct bd_resc_page(9)
  • struct io_bdt(9)
  • struct iscsi_cid_queue(9)
  • struct bnx2i_hba(9)
  • struct qp_info(9)
  • struct bnx2i_endpoint(9)

like please go read the whole friend group, they're all slaying in the same header bestie 🫢


and that's the whole page!! shoutout to ./drivers/scsi/bnx2i, dated October 2026, for hosting this absolute queen of a struct definition β€” mwah πŸ’‹ periodt πŸ¦‹βœ¨

πŸ“¦ where this page comes from