bnx2i_iscsi_unmap_sg_list(9)
π bnx2i_iscsi_unmap_sg_list(9) π
okay so bestie, this is a page from the Kernel API Manual β yes, the kernel has lore too β and we're talking about bnx2i_iscsi_unmap_sg_list, a lil function living its best life in the bnx2i iSCSI driver. It's a void girlie, meaning she gives you nothing back, no return value, no drama, she just does her job and leaves. Iconic behaviour, honestly.
β¨ NAME β¨
bnx2i_iscsi_unmap_sg_list β unmaps SG list πΊοΈπ
That's it. That's the whole pitch. She unmaps the SG list. No cap.
πΈ SYNOPSIS πΈ
void bnx2i_iscsi_unmap_sg_list (struct bnx2i_cmd *cmd );
like, she takes exactly one thing and returns absolutely nothing. lowkey the most chill signature ever. void in, void out (well, void out, a struct bnx2i_cmd * in β you get it π«Ά).
π ARGUMENTS π
cmdβ an iscsi cmd struct pointer π« literally just a pointer to the iscsi command struct, that's the whole vibe. hand her the cmd and she's good to go.
π¦ DESCRIPTION π¦
So what does she actually do, you're asking? Two things, and she's very efficient about it:
- she unmaps the IO buffers π€
- she invalidates the BD table π«π
That's the tea. No extra steps, no side quests, no "oh alsoβ". She unmaps the IO buffers, she invalidates the BD table, she exits. main character energy fr fr. π
π SEE ALSO π
okay this is the part where she name-drops literally everyone in her contact list. buckle up bestie, it's a long one π:
Kernel file ./drivers/scsi/bnx2i/bnx2i_iscsi.cbnx2i_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_bind_conn_to_iscsi_cid(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)
likeβ¦ FIFTY-THREE cross-references. she knows everyone. iykyk π β¨
ngl this one's short and sweet β no warnings, no bugs to report, no exit statuses, no environment variables, no signals. she's a simple girl and she ate. π₯
and that's a wrap, bestie! this lil page comes to you from ./drivers/scsi/bnx2i β dated October 2026, in the Kernel API Manual (section 9, the kernel API girlies πΈ). mwah, go unmap those SG lists and invalidate those BD tables responsibly πππ«Ά
π¦ 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