mlx5_fpga_get_sbu_caps(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mlx5_fpga_get_sbu_caps(9) β€” the Kernel API Manual page, but make it make sense

okay so bestie, this is a page from the Kernel API Manual and the whole entire star of the show is mlx5_fpga_get_sbu_caps(9) πŸ’– she reads the SBU capabilities, and honestly? iconic behavior.


✨ NAME ✨

mlx5_fpga_get_sbu_caps β€” Read the SBU capabilities πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int mlx5_fpga_get_sbu_caps (struct mlx5_fpga_device *fdev , int size ,
       void *buf );

three args, no drama. keep it exactly like that, char for char, fr fr 🌸


πŸ’œ ARGUMENTS πŸ’œ

  • fdev β€” the FPGA device. like, the actual device you're doing the thing to 🫢
  • size β€” the size of the buffer you're reading into. important, do not skip, iykyk
  • buf β€” the buffer the capabilities get read into ✨

πŸ”₯ DESCRIPTION πŸ”₯

so what she does is: reads the FPGA SBU capabilities into the specified buffer. that's the whole vibe πŸ’…

and the format of that capabilities buffer? SBU-dependent. meaning it depends on the SBU β€” not us, not you, not the kernel, the SBU. so don't come for me asking what it looks like, nobody promised you a struct here 😭


🌈 RETURN 🌈

  • 0 β€” if successful. slay βœ…
  • -EINVAL β€” if the buffer is not large enough to contain SBU caps 🚫
  • any other error value β€” otherwise, i.e. literally anything else that goes wrong πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

  • the kernel file ./drivers/net/ethernet/mellanox/mlx5/core/fpga/sdk.h
  • Innova SDK(9)
  • enum mlx5_fpga_access_type(9)
  • struct mlx5_fpga_dma_entry(9)
  • struct mlx5_fpga_dma_buf(9)
  • struct mlx5_fpga_conn_attr(9)
  • mlx5_fpga_sbu_conn_create(9)
  • mlx5_fpga_sbu_conn_destroy(9)
  • mlx5_fpga_sbu_conn_sendmsg(9)
  • mlx5_fpga_mem_read(9)
  • mlx5_fpga_mem_write(9)

go read them. all of them. bestie homework πŸ’–πŸ“š


ok that's the whole page!! mwah πŸ’‹ this one comes from ./drivers/net/ethernet/mellano... and it's dated October 2026, so like, future vibes only πŸŒΈπŸ¦‹ β€” see u in the next manpage, love u, bye πŸ«ΆπŸ’œ
πŸ“¦ where this page comes from