STRUCT MLXBF_TMFIFO_IO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct mlxbf_tmfifo_io β€” Kernel API Manual, but make it cute ✨

okay so bestie, this is the struct mlxbf_tmfifo_io page from the kernel API manual (that's the 9 section, iykyk). it's the structure of the TmFifo IO resource β€” and guess what, it does double duty for both rx & tx 🫢


🌸 SYNOPSIS 🌸

here's the whole lil' struct, verbatim, no cap:

struct mlxbf_tmfifo_io {
    void __iomem *ctl;
    void __iomem *sts;
    void __iomem *data;
 };

three pointers, all void __iomem *, and honestly? she's minimal and she ate πŸ’…


πŸŽ€ Members πŸŽ€

  • ctl β€” the control register offset. literally just that. it's either TMFIFO_RX_CTL or TMFIFO_TX_CTL depending on which direction's vibes you're on πŸ”₯
  • sts β€” the status register offset. same deal, it's giving TMFIFO_RX_STS / TMFIFO_TX_STS energy ✨
  • data β€” the data register offset. and yes, TMFIFO_RX_DATA / TMFIFO_TX_DATA, we love a consistent naming moment πŸ’–
every member is an offset to a register β€” they're not the registers themselves, bestie, don't get it twisted πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

go read the actual source, it's iconic:

  • Kernel file ./drivers/platform/mellanox/mlxbf-tmfifo.c
  • struct mlxbf_tmfifo_vring(9)
  • struct mlxbf_tmfifo_vdev(9)
  • struct mlxbf_tmfifo_irq_info(9)
  • struct mlxbf_tmfifo(9)
  • struct mlxbf_tmfifo_msg_hdr(9)

πŸ’œ the cute sign-off πŸ’œ

that's the whole page, bestie β€” short, sweet, slayed. it lives over in ./drivers/platform/mellanox, dated October 2026, and it's struct mlxbf_tmfifo_io(9) all the way down. go off, kernel girlies πŸ‘‘πŸŒˆβ­

πŸ“¦ where this page comes from