tb_xdomain_enable_paths(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tb_xdomain_enable_paths(9) πŸ’…

okay so this is the Kernel API Manual page for tb_xdomain_enable_paths(9), and bestie, it's giving β€œenable the DMA paths for an XDomain connection” energy. let's get into it 🫢


✨ NAME ✨

tb_xdomain_enable_paths β€” Enable DMA paths for XDomain connection

🌸 SYNOPSIS 🌸

int tb_xdomain_enable_paths (struct tb_xdomain *xd , int transmit_path ,
int transmit_ring , int receive_path , int receive_ring );

πŸŽ€ ARGUMENTS πŸŽ€

  • xd β€” XDomain connection, literally the main character here πŸ’–
  • transmit_path β€” HopID we are using to send out packets
  • transmit_ring β€” DMA ring used to send out packets
  • receive_path β€” HopID the other end is using to send packets to us
  • receive_ring β€” DMA ring used to receive packets from receive_path

πŸ¦‹ DESCRIPTION πŸ¦‹

The function enables DMA paths accordingly so that after successful return the caller can send and receive packets using high-speed DMA path. no cap, that's the whole vibe ✨

If a transmit or receive path is not needed, pass -1 for those parameters. yes bestie, -1 is the β€œnot needed” signal here πŸ™ˆ

πŸ”₯ RETURN πŸ”₯

0 on success, negative errno otherwise. periodt πŸ’…

🌈 SEE ALSO 🌈

Kernel file: ./drivers/thunderbolt/xdomain.c


made with πŸ’– in ./drivers/thunderbolt Β· October 2026 Β· tb_xdomain_enable_paths(9) πŸŽ€

πŸ“¦ where this page comes from