mlx5hws_act...te_push_vlan(9)
π mlx5hws_act...te_push_vlan(9) β from the Kernel API Manual, bestie π
Okay so picture this: you're deep in the kernel, you've got a context, you've got flags, and what you really want is a direct rule push vlan action. That's literally this page. Welcome to the group chat β¨
β¨ NAME β¨
mlx5hws_action_create_push_vlan β Create direct rule push vlan action. That's it, that's the vibe π¦
πΈ SYNOPSIS πΈ
struct mlx5hws_action * mlx5hws_action_create_push_vlan (struct
mlx5hws_context *ctx , u32 flags );
Look at that signature, it's giving main character energy π
π ARGUMENTS π
ctxβ The context in which the new action will be created. Your whole situation lives in here, so pass it with love π«Άflagsβ Action creation flags, a.k.a.enum mlx5hws_action_flags. All the little knobs and toggles, iykyk π₯
β RETURN β
pointer to mlx5hws_action on success, NULL otherwise. So likeβ¦ check it. Fr fr, check it before you dereference it ππ
π¦ SEE ALSO π¦
Kernel file:
./drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws.h
And the whole squad, no cap, every single one of them π:
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_aso_meter(9)mlx5hws_action_create_pop_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)
Like, that's the entire friend group and they all ate π π
Sign-off time, bestie π§π This lil masterpiece is living in ./drivers/net/ethernet/mellano..., dated October 2026, and it's page mlx5hws_act...te_push_vlan(9) of the Kernel API Manual. Obsessed. Periodt. πβ¨
π¦ 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