bnx2i_bind_c...to_iscsi_cid(9)
π bnx2i_bind_conn_to_iscsi_cid(9) β Kernel API Manual, section 9
okay so bestie, welcome to the Kernel API Manual, section 9, and today's main character is bnx2i_bind_conn_to_iscsi_cid π the whole page title is literally bnx2i_bind_c...to_iscsi_cid(9) iykyk, they had to squish it.
β¨ NAME β¨
bnx2i_bind_conn_to_iscsi_cid β bind a conn structure to an 'iscsi_cid' π¦
πΈ SYNOPSIS πΈ
int bnx2i_bind_conn_to_iscsi_cid (struct bnx2i_hba *hba , struct
bnx2i_conn *bnx2i_conn , u32 iscsi_cid );
like, three things go in and an int comes out π
π ARGUMENTS π
hbaβ pointer to the adapter instance, the whole vibe of the hardware basically π«Άbnx2i_connβ pointer to the iscsi connection, your fave little conn structiscsi_cidβ the iscsi context ID, range0 - (MAX_CONN - 1)β (yes there's a range, respect the range bestie)
π« DESCRIPTION π«
so what it does: it updates the iscsi cid table entry with the connection pointer π and that is the whole slay β because once that's in there, the driver can quickly get hold of the connection structure pointer in the completion/interrupt thread by using the iscsi context ID π₯ like a little lookup, no cap. iconic behavior honestly π
π¦ SEE ALSO π¦
- Kernel file
./drivers/scsi/bnx2i/bnx2i_iscsi.cπ
and the whole friend group, fr fr:
bnx2i_get_write_cmd_bd_idx(9)bnx2i_setup_write_cmd_bd_info(9)bnx2i_map_scsi_sg(9)bnx2i_iscsi_map_sg_list(9)bnx2i_iscsi_unmap_sg_list(9)bnx2i_get_conn_from_id(9)bnx2i_alloc_iscsi_cid(9)bnx2i_free_iscsi_cid(9)bnx2i_setup_free_cid_que(9)bnx2i_release_free_cid_que(9)bnx2i_alloc_ep(9)bnx2i_free_ep(9)bnx2i_alloc_bdt(9)bnx2i_destroy_cmd_pool(9)bnx2i_setup_cmd_pool(9)bnx2i_setup_mp_bdt(9)bnx2i_free_mp_bdt(9)bnx2i_drop_session(9)bnx2i_ep_destroy_list_add(9)bnx2i_ep_destroy_list_del(9)bnx2i_ep_ofld_list_add(9)bnx2i_ep_ofld_list_del(9)bnx2i_find_ep_in_ofld_list(9)bnx2i_find_ep_in_destroy_list(9)bnx2i_ep_active_list_add(9)bnx2i_ep_active_list_del(9)bnx2i_setup_host_queue_size(9)bnx2i_alloc_hba(9)bnx2i_free_hba(9)bnx2i_conn_free_login_resources(9)bnx2i_conn_alloc_login_resources(9)bnx2i_iscsi_prep_generic_pdu_bd(9)bnx2i_iscsi_send_generic_request(9)bnx2i_cpy_scsi_cdb(9)bnx2i_mtask_xmit(9)bnx2i_task_xmit(9)bnx2i_session_create(9)bnx2i_session_destroy(9)bnx2i_conn_create(9)bnx2i_conn_bind(9)bnx2i_conn_destroy(9)bnx2i_ep_get_param(9)bnx2i_host_get_param(9)bnx2i_conn_start(9)bnx2i_conn_get_stats(9)bnx2i_check_route(9)bnx2i_tear_down_conn(9)bnx2i_ep_connect(9)bnx2i_ep_poll(9)bnx2i_ep_tcp_conn_active(9)bnx2i_hw_ep_disconnect(9)bnx2i_ep_disconnect(9)bnx2i_nl_set_path(9)
that's the whole gc right there, go say hi π
lowkey reminder bestie: everything above came straight off the page, no invented lore, no extra tips π i'm just the messenger with better lighting π
okay that's the page!! sourced from ./drivers/scsi/bnx2i, dated October 2026, and the page itself is bnx2i_bind_c...to_iscsi_cid(9) β mwah, slay, 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