mlx5_fpga_get_sbu_caps(9)
π 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, iykykbufβ 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms