STRUCT MLXBF_TMFIFO_VDEV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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 the vdev.id.device field carries the VIRTIO_ID_xxx id 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 for cons and net. it's giving β€œpick a lane” energy.
  • config.cons β€” virtual console config, and you select it if vdev.id.device is VIRTIO_ID_CONSOLE. console bestie hours πŸŽ€
  • config.net β€” virtual network config, and you select it if vdev.id.device is VIRTIO_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