mlx5hws_act...emove_header(9)
π mlx5hws_action_create_remove_header β Kernel API Manual, but make it make sense
okay so bestie, welcome to the glow-up edition of the Kernel API Manual page for mlx5hws_act...emove_header(9). buckle up, we're making a remove-header action and it's gonna be gorgeous β¨
π NAME
mlx5hws_action_create_remove_header β literally makes a remove header action. that's the whole vibe. π
πΈ SYNOPSIS
struct mlx5hws_action * mlx5hws_action_create_remove_header (struct
mlx5hws_context *ctx , struct mlx5hws_action_remove_header_attr *attr ,
u32 flags );
look at her. three args, one pointer back, zero drama (on success). π¦
β¨ ARGUMENTS
ctxβ the context where your brand-new action is gonna live. it's giving "where the magic happens". you gotta hand her over, no cap. π«Άattrβ the attributes that specifie the remove header type, plus either the PRM start anchor and the PRM end anchor, or the PRM start anchor and the remove size in bytes. so basically: tell it what to remove and where it starts and stops. pick your flavor, either anchors or size, iykyk. π₯flagsβ the action creation flags. that'senum mlx5hws_action_flags, bestie, go look it up, it's right there. π
π RETURN
a pointer to mlx5hws_action on success β iconic, we love a win π
β and NULL otherwise. yeah. NULL. the sad path. we don't talk about her. π
β SEE ALSO
first up, the kernel file herself, main character energy:
./drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws.h
and now the whole group chat, everybody's here, no one got left on read π§:
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_push_vlan(9)mlx5hws_action_create_dest_array(9)mlx5hws_action_create_insert_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 whole friend group. read them. love them. π
and that's the page, bestie!! shipped from ./drivers/net/ethernet/mellano..., dated October 2026 β same header, same footer, just with way better vibes now. 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