STRUCT FWCTL_INFO_MLX5(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct fwctl_info_mlx5(9) ✨

okay so bestie, welcome to the Kernel API Manual, section 9 β€” today's main character is struct fwctl_info_mlx5, and honestly? she's lowkey iconic πŸ’…


🌸 NAME 🌸

struct fwctl_info_mlx5 β€” the struct you get back as out_device_data from ioctl(FWCTL_INFO) πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

the whole vibe, verbatim:

struct fwctl_info_mlx5 {
    __u32 uid;
    __u32 uctx_caps;
 };

πŸ‘‘ Members πŸ‘‘

  • uid β€” the FW UID this FD is bound to. and like, it's not optional bestie: every single command header will force this value. no cap, it's giving "the rules are the rules" 🫢
  • uctx_caps β€” the FW capabilities that are enabled for the uid. that's the tea β˜•

πŸ’– Description πŸ’–

returns the basic intel about the FW interface you've got available β€” literally just the lowdown, nothing extra, and that's on periodt ✨


🧚 SEE ALSO 🧚

  • Kernel file ./include/uapi/fwctl/mlx5.h β€” go read it, iykyk πŸ“–

ngl this page is short and sweet, so if you blinked you missed it. go forth and slay your ioctl(FWCTL_INFO) calls πŸ’œ

sign-off time!! πŸŽ€ this lil gem lives in ./include/uapi/fwctl and it's dated October 2026 β€” so yeah, she's from the future and she ate πŸ”₯ mwah, bye bestie πŸ’…πŸ’–πŸŒΈ

πŸ“¦ where this page comes from