tb_cfg_reset(9)
πΈ NAME πΈ
tb_cfg_reset β send a reset packet and wait for a response. This is the Kernel API Manual entry, and yes bestie, weβre getting into it π
.
β¨ SYNOPSIS β¨
struct tb_cfg_result tb_cfg_reset (struct tb_ctl *ctl , u64 route );
π ARGUMENTS π
ctlβ Control channel pointer. Thatβs the plug, basically πrouteβ Router string for the router to send reset. Tell it where to go, bestie π«Ά
π DESCRIPTION π
okay so hereβs the tea: if the switch at route is incorrectly configured then we will not receive a reply (even though the switch will reset). The caller should check for -ETIMEDOUT and attempt to reconfigure the switch.
π¨ lowkey important: that ghosting-by-switch situation is exactly why you check -ETIMEDOUT and try reconfiguring β no cap.
π¦ RETURN π¦
You get a struct tb_cfg_result with a non-zero err field if error has occurred. Thatβs the whole return vibe.
π SEE ALSO π
Kernel file ./drivers/thunderbolt/ctl.c, struct tb_ctl(9), tb_cfg_request_alloc(9), tb_cfg_request_get(9), tb_cfg_request_put(9), tb_cfg_request(9), tb_cfg_request_cancel(9), tb_cfg_request_sync(9), tb_ctl_alloc(9), tb_ctl_free(9), tb_ctl_start(9), tb_ctl_stop(9), tb_cfg_ack_notification(9), tb_cfg_ack_plug(9), tb_cfg_read_raw(9), tb_cfg_write_raw(9), tb_cfg_get_upstream_port(9) β go read these next, bestie π«Ά.
xoxo, your Kernel API Manual bestie π β footer vibes: source/version path ./drivers/thunderbolt, date October 2026, and this icon is tb_cfg_reset(9). periodt π
π¦ 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