STRUCT ISER_GLOBAL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct iser_global(9) β€” iSER global context πŸ’–

okay bestie, welcome to the struct iser_global(9) page from the Kernel API Manual ✨ this is the glowing little control room for iSER, and we're gonna walk through every single field together, no skips, no cap 🫢


🌸 NAME 🌸

struct iser_global β€” the iSER global context, aka the main character struct that holds all the global state πŸ’…


✨ SYNOPSIS ✨

here's the whole shape of it, copy-pasted with love:

struct iser_global {
    struct mutex      device_list_mutex;
    struct list_head  device_list;
    struct mutex      connlist_mutex;
    struct list_head  connlist;
    struct kmem_cache *desc_cache;
 };

πŸ¦‹ Members πŸ¦‹

yesss the members section, our fave πŸ’œ every field, one by one:

  • device_list_mutex β€” protects device_list πŸ”’ that's its whole job and it does it slayfully
  • device_list β€” the iser devices global list πŸ“‹ literally the master list of devices, periodt
  • connlist_mutex β€” protects connlist πŸ”’ another bouncer, this time for the connections
  • connlist β€” the iser connections global list πŸ”— all the connections, all in one place, iykyk
  • desc_cache β€” a kmem cache for tx dataout πŸŽ€ memory caching but make it functional

🌈 SEE ALSO 🌈

okay so here's the whole friend group, go say hi πŸ‘‘ (kernel file ./drivers/infiniband/ulp/iser/iscsi_iser.h and then):

  • struct iser_data_buf(9)
  • struct iser_mem_reg(9)
  • struct iser_tx_desc(9)
  • struct iser_rx_desc(9)
  • struct iser_login_desc(9)
  • struct iser_device(9)
  • struct iser_reg_resources(9)
  • struct iser_fr_desc(9)
  • struct iser_fr_pool(9)
  • struct ib_conn(9)
  • struct iser_conn(9)
  • struct iscsi_iser_task(9)

πŸ’€ reminder bestie: the mutexes only matter if you actually use them. read the members, respect the locks, no cap.

okay that's the page!! it lives at ./drivers/infiniband/ulp/iser, dated October 2026, and the title was of course struct iser_global(9) β€” mwah, bye, go read some structs πŸ§šπŸ’–πŸŽ€

πŸ“¦ where this page comes from