ntb_link_disable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so welcome to the Kernel API Manual, bestie β€” this is the page for ntb_link_disable, and it's literally the "hang up the phone" function for your NTB link πŸŽ€


✨ NAME ✨

ntb_link_disable β€” disable the local port ntb connection πŸ’€


🌸 SYNOPSIS 🌸

int ntb_link_disable (struct ntb_dev *ntb );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ntb β€” the NTB device context. that's it, that's the whole argument, she's low maintenance πŸ’œ

πŸŽ€ DESCRIPTION πŸŽ€

So here's the vibe: you call this to disable the link on the local port of the ntb β€” or, for b2b topology, on the remote one. The ntb device should disable the link. That's the job. 🫢

And the important part (iykyk): returning from this call must indicate that a barrier has passed β€” though with no more writes may pass in either direction across the link, except if this call returns an error number. no cap. if it errors out, all bets are off, so don't act surprised πŸ™ˆ


πŸ”₯ RETURN πŸ”₯

Zero on success ✨ β€” otherwise an error number 😭


πŸ‘‘ SEE ALSO πŸ‘‘

okay this list is long and it ate, so buckle up babes 🌈


that's the whole page bestie, go forth and disable links responsibly πŸ’–

sourced from ./include/linux, dated October 2026 β€” periodt, that's the sign-off, mwah πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from