mlx5_fc_local_create(9)
π NAME π
okay so bestie, this is mlx5_fc_local_create(9) from the Kernel API Manual β it allocates an mlx5_fc struct for a counter that was already acquired using its counter id and bulk data. that's the whole assignment, no cap. β¨
πΈ SYNOPSIS πΈ
struct mlx5_fc * mlx5_fc_local_create (u32 counter_id , u32 offset , u32 bulk_size );
π ARGUMENTS π
counter_idβ the acquired counter id. like, the id of the counter you already grabbed.offsetβ the counter offset from the bulk base.bulk_sizeβ the counter's bulk size as was allocated.
π¦ RETURN π¦
pointer to mlx5_fc on success, ERR_PTR otherwise. slay when it works; ERR_PTR otherwise is the "it did not go off" vibe π
π₯ SEE ALSO π₯
Kernel file ./drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c β go read it, iykyk π
xoxo, source/version ./drivers/net/ethernet/mellano..., dated October 2026 β signed by your local Kernel API Manual bestie π
π¦ 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