mlx5_fc_local_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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