mlx5hws_act...te_aso_meter(9)
π mlx5hws_action_create_aso_meter β from the Kernel API Manual bestie π
okay so picture this: it's the Kernel API Manual, it's October 2026, and we're about to make a whole direct rule ASO flow meter action out of thin air. main character energy fr fr.
β¨ NAME β¨
mlx5hws_action_create_aso_meter β makes a direct rule ASO flow meter action. that's it, that's the whole thing. she's an action-creator and she's booked and busy π
πΈ SYNOPSIS πΈ
struct mlx5hws_action * mlx5hws_action_create_aso_meter (struct
mlx5hws_context *ctx , u32 obj_id , u8 return_reg_c , u32 flags );
like, four things in, one pointer out. we love a consistent queen π
π¦ ARGUMENTS π¦
ctxβ the context where your shiny new action is gonna live. she needs a home, okay?? give her a context πobj_idβ the ASO object ID. your object's government name, if you will πͺͺreturn_reg_cβ copy the ASO object value into thisreg_cβ¦ but like, only after a packet hits a rule with this ASO object. timing is everything bestie β¨flagsβ action creation flags, and they're of typeenum mlx5hws_action_flags(yes, the enum name matters, write it down π)
β RETURN β
- pointer to
mlx5hws_actionon success π NULLotherwise π
that's literally it. no in-between, no "it depends", no vibe check. pointer or nothing.
π₯ SEE ALSO π₯
first up, the source of truth β Kernel file ./drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws.h (go read it, iykyk π).
and now the whole friend group, no one gets left out π«Ά:
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_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_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)
forty-eight cross-refs and every single one slayed. periodt π
ngl, the whole vibe is: create the action, pass the context, the ASO object ID, thereturn_reg_cto copy the ASO object value into after a packet hits a rule with this ASO object, and the flags. return the pointer, orNULL. that's the tea β
and that's the page bestie!! π source: ./drivers/net/ethernet/mellano... (yes it's truncated in the original, don't come for me π), dated October 2026, and we're out here repping mlx5hws_act...te_aso_meter(9) til the very last line. mwah ππ§π
π¦ 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