mlx5hws_matc...ze_rule_move(9)
π mlx5hws_matc...ze_rule_move β Kernel API Manual β¨
okay so bestie, welcome to the glow-up era of the kernel API manual β this one's the page for mlx5hws_matc...ze_rule_move(9), and yes the title is literally truncated like that, that's just her aesthetic π
πΈ NAME
mlx5hws_matcher_resize_rule_move β Enqueue moving rule operation. that's it, that's the whole vibe. she enqueues, she moves rules, she slays π
β¨ SYNOPSIS
int mlx5hws_matcher_resize_rule_move (struct mlx5hws_matcher
*src_matcher , struct mlx5hws_rule *rule , struct mlx5hws_rule_attr
*attr );
literally just three args and an int return, no cap π«Ά
π¦ ARGUMENTS
src_matcherβ Matcher that the rule belongs to. like, her home matcher, the one she's moving out of πruleβ The rule to move. the main character of this whole operation, fr fr πattrβ Rule attributes. the little details that come along for the ride π
π DESCRIPTION
This function enqueues the operation of moving a rule from the source matcher to the destination matcher.
and that's the tea β β it's an enqueue, bestie, meaning you're putting the operation in the queue, not doing the whole thing on the spot. the rule packs her bags at the source matcher and heads over to the destination matcher. iconic behaviour, honestly β¨π¦
π₯ RETURN
Zero on success, non-zero otherwise. so like β 0 = slay π
, anything else = not slay π check it, always.
π SEE ALSO
the kernel file lives right here, go look, iykyk:
./drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws.h
and the whole friend group, in the order the original listed them (do not come for me, i'm keeping it exact):
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_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)
β¨ and that's the page, bestie β¨ sourced from ./drivers/net/ethernet/mellano..., dated October 2026, and she's still serving mlx5hws_matc...ze_rule_move(9) energy ππ«Άπ
π¦ 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