STRUCT RIO_MPORT_ATTR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct rio_mport_attr(9) πŸ¦‹

okay bestie, welcome to the Kernel API Manual β€” manual name folded in right here like a little name tag 🏷️. This page is all about struct rio_mport_attr, and it is lowkey just the attributes for a RIO mport device. No cap, it’s giving β€œsmall struct, big main character energy.” πŸ’…


✨ NAME ✨

struct rio_mport_attr β€” RIO mport device attributes. That’s the whole vibe, and honestly? Iconic. πŸ‘‘


🌸 SYNOPSIS 🌸

struct rio_mport_attr {
    int flags;
    int link_speed;
    int link_width;
    int dma_max_sge;
    int dma_max_size;
    int dma_align;
};

πŸŽ€ Members πŸŽ€

  • flags β€” mport device capability flags. Yes bestie, this is where the capability flags live. 🚩
  • link_speed β€” SRIO link speed value (as defined by RapidIO specification) 🏎️ β€” the spec is the boss here, fr fr.
  • link_width β€” SRIO link width value (as defined by RapidIO specification) πŸ“ β€” again, RapidIO specification said what it said.
  • dma_max_sge β€” number of SG list entries that can be handled by DMA channel(s). SG list entries and DMA channels, together at last πŸ’«.
  • dma_max_size β€” max number of bytes in single DMA transfer (SG entry). Big transfer energy, but with a max πŸ“¦.
  • dma_align β€” alignment shift for DMA operations (as for other DMA operations). Alignment shift, just like the other DMA operations, periodt 🎯.

🌈 SEE ALSO 🌈

Kernel file ./include/linux/rio.h β€” and the whole struct squad is here: struct rio_switch(9), struct rio_switch_ops(9), struct rio_dev(9), struct rio_msg(9), struct rio_dbell(9), struct rio_mport(9), struct rio_net(9), struct rio_ops(9), struct rio_driver(9), struct rio_scan(9), struct rio_scan_node(9). Go bestie, read the whole friend group 🫢.


xoxo, your kernel bestie πŸ’– β€” this page’s source/version is ./include/linux, and the date is October 2026. struct rio_mport_attr(9) forever, periodt. πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from