STRUCT BNX2I_CONN(9)
β¨ 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 anatomic_tπ
ngl, the struct also carriescmd_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
- 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