mlx5hws_acti...flow_sampler(9)
π 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 typeenum 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:
mlx5hws_is_supported(9)mlx5hws_context_open(9)mlx5hws_context_close(9)mlx5hws_context_set_peer(9)mlx5hws_table_create(9)mlx5hws_table_destroy(9)mlx5hws_table_get_id(9)mlx5hws_table_set_default_miss(9)mlx5hws_match_template_create(9)mlx5hws_match_template_destroy(9)mlx5hws_action_template_create(9)mlx5hws_action_template_destroy(9)mlx5hws_matcher_create(9)mlx5hws_matcher_destroy(9)mlx5hws_matcher_attach_at(9)mlx5hws_matcher_resize_set_target(9)mlx5hws_matcher_resize_rule_move(9)mlx5hws_rule_create(9)mlx5hws_rule_destroy(9)mlx5hws_rule_action_update(9)mlx5hws_action_get_type(9)mlx5hws_action_get_dev(9)mlx5hws_action_create_dest_drop(9)mlx5hws_action_create_default_miss(9)mlx5hws_action_create_dest_table(9)mlx5hws_action_create_dest_table_num(9)mlx5hws_action_create_dest_match_range(9)mlx5hws_action_create_dest_vport(9)mlx5hws_action_create_tag(9)mlx5hws_action_create_counter(9)mlx5hws_action_create_reformat(9)mlx5hws_action_create_modify_header(9)mlx5hws_action_create_aso_meter(9)mlx5hws_action_create_pop_vlan(9)mlx5hws_action_create_push_vlan(9)mlx5hws_action_create_dest_array(9)mlx5hws_action_create_insert_header(9)mlx5hws_action_create_remove_header(9)mlx5hws_action_create_last(9)mlx5hws_action_destroy(9)mlx5hws_send_queue_poll(9)mlx5hws_send_queue_action(9)mlx5hws_debug_dump(9)mlx5hws_bwc_matcher_create(9)mlx5hws_bwc_matcher_destroy(9)mlx5hws_bwc_rule_create(9)mlx5hws_bwc_rule_destroy(9)mlx5hws_bwc_rule_action_update(9)
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
- 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