STRUCT SRPT_TPG(9)
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 insport_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
- 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