STRUCT SRPT_TPG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the struct srpt_tpg(9) page from the Kernel API Manual β€” it’s giving β€œtiny struct, very specific job” energy ✨

πŸŽ€ NAME πŸŽ€

struct srpt_tpg β€” information about a single β€œtarget portal group” πŸ’…

🌸 SYNOPSIS 🌸

       struct srpt_tpg {
           struct list_head        entry;
           struct srpt_port_id     *sport_id;
           struct se_portal_group  tpg;
        };

πŸ¦‹ MEMBERS πŸ¦‹

okay so here are the fields, and yes, every one matters 🫢

  • entry β€” Entry in sport_id->tpg_list.
  • sport_id β€” Port name this TPG is associated with.
  • tpg β€” LIO TPG data structure.

🌸 DESCRIPTION 🌸

Zero or more target portal groups are associated with each port name (srpt_port_id). With each TPG, an ACL list is associated. That’s the whole story, bestie β€” multiple TPGs can hang out under one port name, and every TPG has an ACL list riding with it πŸ’–.

🌈 SEE ALSO 🌈

Kernel file ./drivers/infiniband/ulp/srpt/ib_srpt.h and these iconic little references:

  • enum srpt_command_state(9)
  • struct srpt_ioctx(9)
  • struct srpt_recv_ioctx(9)
  • struct srpt_send_ioctx(9)
  • enum rdma_ch_state(9)
  • struct srpt_rdma_ch(9)
  • struct srpt_nexus(9)
  • struct srpt_port_attrib(9)
  • struct srpt_port_id(9)
  • struct srpt_port(9)
  • struct srpt_device(9)

xoxo bestie 🫢 this page signs off from the source/version line ./drivers/infiniband/ulp/srpt, dated October 2026 πŸ’–πŸŽ€

πŸ“¦ where this page comes from