STRUCT MLXBF_TMFIFO_IO(9)
β¨ 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 eitherTMFIFO_RX_CTLorTMFIFO_TX_CTLdepending on which direction's vibes you're on π₯stsβ the status register offset. same deal, it's givingTMFIFO_RX_STS/TMFIFO_TX_STSenergy β¨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
- 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