bnx2i_tear_down_conn(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… bnx2i_tear_down_conn(9) β€” the kernel API manual, but make it make sense

okay so bestie, we're in the Kernel API Manual today and this page is about bnx2i_tear_down_conn, which is genuinely one of those functions that does exactly what it says on the tin πŸŽ€


✨ NAME ✨

bnx2i_tear_down_conn β€” tear down iscsi/tcp connection and free resources πŸ§ΉπŸ’–


🌸 SYNOPSIS 🌸

int bnx2i_tear_down_conn (struct bnx2i_hba *hba , struct bnx2i_endpoint *ep );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • hba β€” pointer to adapter instance. the whole vibe of the hardware, basically πŸ‘‘
  • ep β€” endpoint (transport identifier) structure. this is the connection's little ID card πŸŽ€

πŸ’€ DESCRIPTION πŸ’€

so what does it actually do? it destroys the cm_sock structure and the on chip iscsi context. both. gone. no cap. πŸ”₯

like, that's it β€” that's the whole function. it's not out here doing twenty things, it's out here doing these things πŸ’…

🌈 SEE ALSO 🌈

first up, the source file itself β€” we love a primary source:

  • Kernel file ./drivers/scsi/bnx2i/bnx2i_iscsi.c ⭐

and then the whole extended family of friends, because this function does not exist in a vacuum (iykyk):

that list is long long, but bestie we do not skip entries on this page. every single one is here. periodt πŸ’œ

🫢 the cute sign-off 🫢

this page lives under ./drivers/scsi/bnx2i, and it's dated October 2026 β€” yes, the future, we're ahead of the game ✨ anyway ily, go tear down that connection responsibly πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from