mlx5hws_act...emove_header(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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's enum 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 🧚:

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