ENUM TB_PATH_PORT(9)
okay so bestie, you've landed on enum tb_path_port(9) from the Kernel API Manual, and honestly? it's a little baddie of an enum that just tells you where on a path something should activate π
no cap, that's the whole vibe.
π NAME π
enum tb_path_port β path options mask β¨
like, it's a mask of options for picking which hops on a path get activated. simple, iconic, does exactly what it says on the tin π«Ά
πΈ SYNOPSIS πΈ
enum tb_path_port {
TB_PATH_NONE ,
TB_PATH_SOURCE ,
TB_PATH_INTERNAL ,
TB_PATH_DESTINATION ,
TB_PATH_ALL
};
π§ Constants π§
okay so these are the actual constants, and each one is a different lil' vibe check for your path π
TB_PATH_NONEβ do not activate on any hop on path. literally none. not a single one. it's giving "i'm just here for the aesthetic" πTB_PATH_SOURCEβ activate on the first hop (out of src). main character energy at the start of the journey πTB_PATH_INTERNALβ activate on the intermediate hops (not the first/last). the middle-child hops, but make it slay πTB_PATH_DESTINATIONβ activate on the last hop (into dst). grand finale behaviour, periodt πTB_PATH_ALLβ activate on all hops on the path. every single one. full send, no skips, ate π₯
π¦ SEE ALSO π¦
bestie there is a lot of lore here, so buckle up β all of these live in the kernel file ./drivers/thunderbolt/tb.h π and yes, every single one is getting its moment:
struct tb_nvm(9)enum tb_switch_tmu_mode(9)struct tb_switch_tmu(9)struct tb_switch(9)struct tb_bandwidth_group(9)struct tb_port(9)struct usb4_port(9)struct tb_retimer(9)struct tb_path_hop(9)struct tb_path(9)struct tb_cm_ops(9)tb_upstream_port(9)tb_is_upstream_port(9)tb_port_has_remote(9)tb_domain_event(9)tb_switch_for_each_port(9)tb_switch_downstream_port(9)tb_switch_depth(9)tb_switch_is_icm(9)tb_switch_tmu_is_configured(9)tb_switch_tmu_is_enabled(9)tb_switch_clx_is_enabled(9)tb_port_path_direction_downstream(9)tb_for_each_port_on_path(9)tb_for_each_upstream_port_on_path(9)tb_path_for_each_hop(9)tb_downstream_route(9)tb_xdomain_downstream_port(9)usb4_switch_version(9)tb_switch_is_usb4(9)enum usb4_sb_target(9)enum usb4_margin_sw_error_counter(9)struct usb4_port_margining_params(9)
and that's the whole page, bestie π«Ά this lil' icon comes from ./drivers/thunderbolt, dated October 2026 β like, she's from the future and still serving πβ¨ catch you on the next manpage, mwah π
π¦ 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