STRUCT NTB_DEV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct ntb_dev(9) πŸ’…

okay so bestie, we're in the Kernel API Manual and the main character is struct ntb_dev(9). no cap, this page is short and sweet, so let's vibe through it πŸ’–


✨ NAME ✨

struct ntb_dev β€” ntb device

πŸ¦‹ SYNOPSIS πŸ¦‹

struct ntb_dev {
    struct device                   dev;
    struct pci_dev                  *pdev;
    enum ntb_topo                   topo;
    const struct ntb_dev_ops        *ops;
    void *ctx;
    const struct ntb_ctx_ops        *ctx_ops;
};

🌸 Members 🌸

okay so these are the members, and imma keep every single one exactly as the page says πŸ’…

  • dev β€” Linux device object.
  • pdev β€” PCI device entry of the ntb.
  • topo β€” Detected topology of the ntb.
  • ops β€” See ntb_dev_ops.
  • ctx β€” See ntb_ctx_ops.
  • ctx_ops β€” See ntb_ctx_ops.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/linux/ntb.h β€” the whole squad is right here, and yes, we're listing every single one 🫢


source spot: ./include/linux · date stamp: October 2026 · page: struct ntb_dev(9) 🫢✨

πŸ“¦ where this page comes from