ntb_link_event(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual ✨ β€” this is the page for ntb_link_event, and it's literally the "hey girl, something changed" text of the NTB world 🫢


🌸 NAME 🌸

ntb_link_event β€” notify driver context of a change in link status πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void ntb_link_event (struct ntb_dev *ntb );

that's it. that's the whole call. one arg, no return, no drama ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • ntb β€” NTB device context. like, the actual device you're talking about πŸ’œ

✨ DESCRIPTION ✨

so the whole vibe here is notifying the driver context that the link status may have changed πŸ‘€ β€” past tense, may have, no cap, it's not promising you anything.

and that's it. this function doesn't hand you the new status, bestie, it just taps you on the shoulder saying "something happened, go look" πŸ’€

so the driver should call ntb_link_is_up to get the current status β€” that's where the actual answer lives, queen πŸ‘‘

fr fr: don't assume anything from this call alone. ntb_link_event = the notification, ntb_link_is_up = the truth. two different jobs, both iconic 🌈

πŸ‘‘ SEE ALSO πŸ‘‘

like, the whole friend group, gathered in one place 😭🫢


and that's the page, bestie 🌟 this one lives under ./include/linux (Kernel API Manual), dated October 2026 β€” mwah, go check that link status πŸ’…πŸ’–

πŸ“¦ where this page comes from