mlx5hws_acti...flow_sampler(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mlx5hws_action_create_flow_sampler β€” Kernel API Manual πŸ’…

okay so bestie, we're in the <pink>Kernel API Manual</pink> and today's main character is mlx5hws_action_create_flow_sampler(9). yes the title is literally truncated with ... in the header, that's just how it's filed, don't @ me 🫢


✨ NAME ✨

mlx5hws_action_create_flow_sampler β€” creates a direct rule flow sampler action. that's it, that's the whole vibe πŸŽ€


🌸 SYNOPSIS 🌸

struct mlx5hws_action * mlx5hws_action_create_flow_sampler (struct
mlx5hws_context *ctx , u32 sampler_id , u32 flags );

like, you hand it a context, a sampler id, and some flags, and it gives you back a shiny new action pointer. slay πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ctx β€” the context where your brand new action is gonna live. it's the whole environment, the stage, the main character energy ✨
  • sampler_id β€” the flow sampler object ID. literally just the ID of the sampler object, no cap πŸ“
  • flags β€” the action creation flags, and they're of type enum mlx5hws_action_flags. yes the type is right there in the original, i would never make that up πŸ’€

πŸ‘‘ RETURN πŸ‘‘

pointer to mlx5hws_action on success β€” icon behavior. NULL otherwise β€” not iconic, but that's the deal 😭


🌈 SEE ALSO 🌈

bestie the cross-reference list here is long β€” like a full group chat of functions. every single one, in order, no skipping:

Kernel file: ./drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws.h

and then the whole squad:

iykyk, this list is the whole steering API and honestly it ate πŸ”₯

and that's the page, bestie. this masterpiece came from ./drivers/net/ethernet/mellano..., dated October 2026, and it's filed under mlx5hws_acti...flow_sampler(9) β€” the exact same title we started with, because the manpage said so and we respect the lore πŸ’œπŸ§š

πŸ“¦ where this page comes from