STRUCT MLXBF_TMFIFO_VDEV(9)
π¦ struct mlxbf_tmfifo_vdev(9) π¦
okay so bestie, welcome to the Kernel API Manual β this page is all about struct mlxbf_tmfifo_vdev, aka the structure of the TmFifo virtual device, and it is lowkey iconic. no cap, every field is right here π
β¨
πΈ NAME πΈ
struct mlxbf_tmfifo_vdev β Structure of the TmFifo virtual device. periodt.
β¨ SYNOPSIS β¨
struct mlxbf_tmfifo_vdev {
struct virtio_device vdev;
u8 status;
u64 features;
struct mlxbf_tmfifo_vring vrings[MLXBF_TMFIFO_VRING_MAX];
union {
struct virtio_console_config cons;
struct virtio_net_config net;
} config;
struct circ_buf tx_buf;
};
π Members π
vdevβ the virtio device, and inside it thevdev.id.devicefield carries theVIRTIO_ID_xxxid that distinguishes the virtual device. literally the ID era π«Άstatusβ the status of the device. keeping tabs, yk?featuresβ the supported features of the device. slay.vringsβ an array of tmfifo vrings of this device. the whole little squad πconfigβ a non-anonymous union forconsandnet. it's giving βpick a laneβ energy.config.consβ virtual console config, and you select it ifvdev.id.deviceisVIRTIO_ID_CONSOLE. console bestie hours πconfig.netβ virtual network config, and you select it ifvdev.id.deviceisVIRTIO_ID_NET. network bestie hours π¦tx_bufβ tx buffer used to buffer data before writing into the FIFO. it holds the data pre-FIFO, no big deal π
π SEE ALSO π
Kernel file ./drivers/platform/mellanox/mlxbf-tmfifo.c is where it's at, and the cross-refs are: struct mlxbf_tmfifo_vring(9), struct mlxbf_tmfifo_irq_info(9), struct mlxbf_tmfifo_io(9), struct mlxbf_tmfifo(9), and struct mlxbf_tmfifo_msg_hdr(9). go read those too, iykyk π
okay that's the whole page, bestie β cute sign-off time: source/version is ./drivers/platform/mellanox, date is October 2026, and it's all for struct mlxbf_tmfifo_vdev(9). mwah πβ¨
π¦ 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