mlx5hws_bwc_rule_destroy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mlx5hws_bwc_rule_destroy ✨

okay bestie, so this is a page straight out of the Kernel API Manual (yes, the kernel, we're being fancy today πŸŽ€) and it's all about one tiny little function that's lowkey iconic: mlx5hws_bwc_rule_destroy. Buckle up, it's short but it ate. πŸ’–


🌸 NAME 🌸

mlx5hws_bwc_rule_destroy β€” literally the function that destroys a BWC direct rule. that's the whole vibe. no cap. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int mlx5hws_bwc_rule_destroy (struct mlx5hws_bwc_rule *bwc_rule );

like, it takes exactly one thing and gives you back an int. minimalist queen. πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • bwc_rule β€” the rule you're about to destroy. it's a struct mlx5hws_bwc_rule *, and yeah, that's the one getting the goodbye treatment 🫢

⭐ RETURN ⭐

  • zero on success ✨ (slay, that's the good ending)
  • non zero otherwise 😭 (something went sideways, not the vibe)

🌈 SEE ALSO 🌈

bestie the friend group is HUGE, here's everyone in the group chat πŸ’œ

🧚 Kernel file

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

πŸ’« the whole squad (in order, fr fr)


ok that's the entire page, it's giving "short and sweet and knows exactly what it is" πŸ’€ no warnings, no bugs section, no drama. just destroy the rule and go. πŸ“

kisses bestie, this page came from the kernel source at ./drivers/net/ethernet/mellano... and it's dated October 2026 β€” and yes, this whole thing is mlx5hws_bwc_rule_destroy(9) forever and always. πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from