mlx5hws_acti...plate_create(9)
π mlx5hws_action_template_create β Kernel API Manual β¨
okay so bestie, welcome to the Kernel API Manual page for mlx5hws_action_template_create(9) β yes the title's a little truncated in the header, that's just how it's printed, we move π
πΈ NAME πΈ
mlx5hws_action_template_create β bestie, this literally creates a brand-new action template, and it builds it out of an action_type array π
π¦ SYNOPSIS π¦
struct mlx5hws_action_template * mlx5hws_action_template_create (enum
mlx5hws_action_type action_type[] );
β¨ ARGUMENTS β¨
action_typeβ this is an array of actions, and the order you put them in matters, no cap π«Ά It has to line up with the order of actions that'll later be handed over withrule_actionstomlx5hws_rule_create. And the very last action in the array? It gets marked withMLX5HWS_ACTION_TYP_LASTβ that's the signal that the list is done, periodt π
π RETURN π
A pointer to mlx5hws_action_template on success π β¦ and NULL otherwise π
π SEE ALSO π
Kernel file ./drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws.h
the whole friend group, in order:
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_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_flow_sampler(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)
okay that's the whole vibe check, bestie π§π this page lives at ./drivers/net/ethernet/mellano... and it's dated October 2026, and the footer was like mlx5hws_acti...plate_create(9) β slay, go build ur templates π
β¨π
π¦ 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