STRUCT MOST_CHANNEL_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct most_channel_config(9) β€” the glow-up πŸ¦‹

okay so bestie, we're in the Kernel API Manual today and the main character is struct most_channel_config. it's giving "little struct, huge responsibilities" ngl πŸ’…


✨ NAME ✨

struct most_channel_config β€” literally just stores channel configuration, no cap πŸ’–


🌸 SYNOPSIS 🌸

struct most_channel_config {
    enum most_channel_direction direction;
    enum most_channel_data_type data_type;
    u16 num_buffers;
    u16 buffer_size;
    u16 extra_len;
    u16 subbuffer_size;
    u16 packets_per_xact;
    u16 dbr_size;
 };

look at those fields all lined up like a fit check πŸ”₯ everything copied exactly, don't come for me πŸ™ˆ


πŸŽ€ Members πŸŽ€

  • direction β€” which way the channel goes. yes bestie, direction matters in life and in MOST πŸ’…
  • data_type β€” the type of data travelling over this channel. it's giving "what's in the bag" πŸ‘œ
  • num_buffers β€” number of buffers. simple. iconic. no notes ✨
  • buffer_size β€” size of a buffer for AIM. heads up tho: this buffer size may be cutted down by HDM in a configure callback to match a given interface and channel type 😭 so don't get too attached to your number
  • extra_len β€” additional buffer space for internal HDM purposes like padding. may be set by HDM in a configure callback if needed 🫢
  • subbuffer_size β€” size of a subbuffer. sub. buffer. size. we love a literal king πŸ‘‘
  • packets_per_xact β€” number of MOST frames that are packet inside one USB packet. super USB specific, so don't try to make it a personality trait elsewhere πŸ’€
  • dbr_size β€” DBR data buffer size. MediaLB communication only, bestie β€” if you're not on MediaLB this field is not your vibe 🌈

πŸ’œ Description πŸ’œ

so like, this struct describes the configuration for a MOST channel. the tea β˜• is that this info gets provided from the MostCore to a HDM (like the Medusa PCIe Interface) as a parameter of the "configure" function call. that's it. that's the whole gig. and honestly? she ate πŸ’…

lowkey a reminder: those HDM callbacks can absolutely mess with buffer_size and extra_len, so if your numbers come back different, that's not a bug, that's the configure callback doing its thing ✨

πŸ‘‘ SEE ALSO πŸ‘‘

a whole friend group, fr fr 🫢 go read them, iykyk πŸ¦‹


aaaand that's the page bestie! πŸŽ€ live from ./include/linux, dated October 2026, brought to you by the one and only struct most_channel_config(9). periodt. πŸ’–βœ¨πŸŒΈ

πŸ“¦ where this page comes from