mlx5hws_acti...plate_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 with rule_actions to mlx5hws_rule_create. And the very last action in the array? It gets marked with MLX5HWS_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