mlx5hws_rule_action_update(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mlx5hws_rule_action_update β€” the Kernel API Manual, but make it make sense ✨

okay so bestie, welcome to the mlx5hws_rule_action_update(9) page πŸ’– this is a Kernel API Manual entry, and honestly? it's a glow-up moment for a rule you already made. let's get into it πŸŽ€


✨ NAME ✨

mlx5hws_rule_action_update β€” enqueue update actions on an existing rule, periodt πŸ”₯


πŸ¦‹ SYNOPSIS πŸ¦‹

int mlx5hws_rule_action_update (struct mlx5hws_rule *rule , u8 at_idx ,
struct mlx5hws_rule_action rule_actions[] , struct mlx5hws_rule_attr
*attr );

like, that's the whole signature, no cap πŸ’…


🌸 ARGUMENTS 🌸

  • rule β€” a valid rule handle to update. it has to be valid, bestie, this is not the moment to be handing over a fake one 😭
  • at_idx β€” the action template index you're updating the actions with. it's u8, it's cute, it's the where 🎯
  • rule_actions β€” the rule actions to be executed on match. this is the main character array fr fr πŸ‘‘
  • attr β€” the rule update attributes. the vibes, the metadata, the struct mlx5hws_rule_attr of it all 🫢

⭐ RETURN ⭐

Zero on successful enqueue, non-zero otherwise. that's it. zero = slay, not-zero = not slay πŸ’€


🧚 SEE ALSO 🧚

so here's the full friend group, iykyk 🌈

Kernel file ./drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws.h

and all these iconic friends:


okay and one lil sign-off πŸŽ€ this page came from ./drivers/net/ethernet/mellano... (yes it's truncated in the source, don't come for me πŸ™ˆ) and it's dated October 2026. stay hydrated, keep your rule handles valid, mwah πŸ’œ

πŸ“¦ where this page comes from