ENUM MLX5_FPGA_ACCESS_TYPE(9)
π enum mlx5_fpga_access_type(9) β the kernel API manual, bestie edition
okay so this is a page from the Kernel API Manual about enum mlx5_fpga_access_type, and before you ask β yes it's a whole enum just for how you talk to device memory. icon status honestly.
β¨ NAME β¨
enum mlx5_fpga_access_type β it enumerates the different methods possible for accessing the device memory address space π
like, literally it's just a list of your options. that's the whole vibe.
πΈ SYNOPSIS πΈ
here's the shape of it, copy it exactly or the compiler will simply perceive you:
enum mlx5_fpga_access_type {
MLX5_FPGA_ACCESS_TYPE_I2C ,
MLX5_FPGA_ACCESS_TYPE_DONTCARE
};
two members. that's it. two. she's lowkey minimalist π
π CONSTANTS π
okay bestie here's the actual tea on each one:
MLX5_FPGA_ACCESS_TYPE_I2Cβ use the slow CX-FPGA I2C bus π like yeah it works but it's giving "walking instead of taking the bus". slow and steady, no cap.MLX5_FPGA_ACCESS_TYPE_DONTCAREβ use the fastest available method π₯ the main character choice. she doesn't care how, she just wants it FAST. obsessed.
ngl the naming here is sending me β one is literally called "don'tcare" and honestly? relatable. π«Ά
π¦ SEE ALSO π¦
go read the kernel file ./drivers/net/ethernet/mellanox/mlx5/core/fpga/sdk.h β that's where all the lore lives πβ¨
and when you're done, the whole squad is here waiting for you, fr fr:
Innova SDK(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)mlx5_fpga_get_sbu_caps(9)
and that's the page!! π this one comes from the kernel source at ./drivers/net/ethernet/mellano... and it's dated October 2026, so sip your iced coffee and manifest that future date bestie β slay, you're so welcome, mwah ππ₯
π¦ 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