mlx5hws_matcher_attach_at(9)
π mlx5hws_matcher_attach_at π
okay so bestie, welcome to the Kernel API Manual, section 9 β this is the page for mlx5hws_matcher_attach_at(9) and honestly it's a little one, but it's a mighty one. it does exactly one thing and it does it slayfully π«Ά
β¨ NAME β¨
mlx5hws_matcher_attach_at β attach a new action template to a direct rule matcher. that's it. that's the whole gig π
πΈ SYNOPSIS πΈ
int mlx5hws_matcher_attach_at (struct mlx5hws_matcher *matcher , struct
mlx5hws_action_template *at );
like, look at her. returns an int, takes two pointers, no drama, no cap π
π ARGUMENTS π
matcherβ the matcher you're attaching the action template to. she's the main character here, the one getting the glow-up πatβ the action template being attached to the matcher. she's the accessory that makes the whole fit work β¨
π¦ RETURN π¦
Zero on success, non-zero otherwise. so like β 0 is the good ending, anything else means something went sideways and you should go check π
π₯ SEE ALSO π₯
the kernel file lives here, and yes you will be reading it:
./drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws.h
and now the whole friend group, because this function literally refuses to be seen without her entourage ππ
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_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)
ngl that's a long see-also list for a two-argument function, but she's connected, she knows people, iykyk π
and that's the whole page, bestie!! π§ββοΈ
cute lil sign-off before you go: this one's sourced from the kernel tree at ./drivers/net/ethernet/mellano... β yeah it's literally clipped mid-word like that in the source, don't come for me π β and it's dated October 2026, still stamped mlx5hws_matcher_attach_at(9) at the bottom because she never forgets her name βπ
π¦ 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