STRUCT BNX2I_ENDPOINT(9)
π§ struct bnx2i_endpoint(9) β a Kernel API Manual moment
okay bestie, so this is a page from the Kernel API Manual, and it's about struct bnx2i_endpoint β literally the whole vibe of what a tcp connection looks like in NX2 world. no cap.
β¨ NAME β¨
struct bnx2i_endpoint β representation of tcp connection in NX2 world. that's it, that's the whole thing π
π SYNOPSIS π
like, here's the shape of it. don't touch the semicolons, they're doing their job:
struct bnx2i_endpoint {
struct list_head link;
struct bnx2i_hba *hba;
struct bnx2i_conn *conn;
struct iscsi_endpoint *cls_ep;
struct cnic_sock *cm_sk;
u32 hba_age;
u32 state;
unsigned long timestamp;
atomic_t num_active_cmds;
u32 ec_shift;
struct qp_info qp;
struct ep_handles ids;
#define ep_iscsi_cid ids.drv_iscsi_cid;
#define ep_cid ids.fw_cid;
#define ep_pg_cid ids.pg_cid;
struct timer_list ofld_timer;
wait_queue_head_t ofld_wait;
};
π Members π
linkβ the list head that links elements together. it's giving glue energy π«Άhbaβ the adapter this connection belongs to. your connection's home base, fr frconnβ the iscsi connection this EP is linked tocls_epβ the associated iSCSI endpoint pointercm_skβ the cnic sock structhba_ageβ the age, used to detect ifiscsidissuesep_disconnectafter the HBA reset is completed bybnx2i/cnic/bnx2modules. lowkey a detective πstateβ tracks the offload connection state machine. main character energy honestlytimestampβ tracks the start time for when the ep begins to connect β°num_active_cmdsβ tracks the number of outstanding commands for this epec_shiftβ the amount of shift as part of the event coal calcqpβ QP informationidsβ contains the chip allocated context id & the driver assigned iscsi cidofld_timerβ the offload timer, there to detect timeout β³ofld_waitβ a wait queue
πΈ Description πΈ
okay so β this is the Endpoint Structure, which is literally the equivalent of the tcp socket structure. that's the whole description, she's short and she ate π β¨
π₯ SEE ALSO π₯
go look at the kernel file ./drivers/scsi/bnx2i/bnx2i.h, plus these iconic structs:
struct generic_pdu_resc(9)struct bd_resc_page(9)struct io_bdt(9)struct bnx2i_conn(9)struct iscsi_cid_queue(9)struct bnx2i_hba(9)struct qp_info(9)
heads up bestie: this page is from ./drivers/scsi/bnx2i, and the date on it is October 2026 ποΈ
and that's a wrap! source ./drivers/scsi/bnx2i, October 2026, struct bnx2i_endpoint(9) β obsessed with her, honestly. bye bestie, go read the header file π¦π
π¦ 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