tb_domain_a...domain_paths(9)
okay bestie, welcome to the tb_domain_a...domain_paths(9) page from the Kernel API Manual π this one is short, sweet, and very βDMA paths but make it XDomain.β
β¨ NAME β¨
tb_domain_approve_xdomain_paths β Enable DMA paths for XDomain π
π SYNOPSIS π
int tb_domain_approve_xdomain_paths (struct tb *tb , struct tb_xdomain
*xd , int transmit_path , int transmit_ring , int receive_path ,
int receive_ring );
π ARGUMENTS π
tbβ the domain thatβs enabling the DMA paths, periodt.xdβ the XDomain that the DMA paths are created to π¦transmit_pathβ the HopID we are using to send out packets.transmit_ringβ the DMA ring used to send out packets.receive_pathβ the HopID the other end is using to send packets to us.receive_ringβ the DMA ring used to receive packets fromreceive_path.
π¦ DESCRIPTION π¦
okay so what this actually does: it calls the connection manager specific method to enable DMA paths to the XDomain in question. thatβs the whole assignment, no cap β¨
πΈ RETURN πΈ
0β On success. π-ENOTSUPPβ If the connection manager implementation does not support XDomains. π«Negative errnoβ An error occurred. π
π₯ SEE ALSO π₯
Kernel file: ./drivers/thunderbolt/domain.c
tb_domain_alloc(9)tb_domain_add(9)tb_domain_remove(9)tb_domain_suspend_noirq(9)tb_domain_resume_noirq(9)tb_domain_disapprove_switch(9)tb_domain_approve_switch(9)tb_domain_approve_switch_key(9)tb_domain_challenge_switch_key(9)tb_domain_disconnect_pcie_paths(9)tb_domain_disconnect_xdomain_paths(9)tb_domain_disconnect_all_paths(9)
signed off with love from the ./drivers/thunderbolt source/version, 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