mlx5hws_matcher_attach_at(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– mlx5hws_matcher_attach_at πŸ’–

okay so bestie, welcome to the Kernel API Manual, section 9 β€” this is the page for mlx5hws_matcher_attach_at(9) and honestly it's a little one, but it's a mighty one. it does exactly one thing and it does it slayfully 🫢


✨ NAME ✨

mlx5hws_matcher_attach_at β€” attach a new action template to a direct rule matcher. that's it. that's the whole gig πŸ’…


🌸 SYNOPSIS 🌸

int mlx5hws_matcher_attach_at (struct mlx5hws_matcher *matcher , struct
mlx5hws_action_template *at );

like, look at her. returns an int, takes two pointers, no drama, no cap πŸ’€


πŸŽ€ ARGUMENTS πŸŽ€

  • matcher β€” the matcher you're attaching the action template to. she's the main character here, the one getting the glow-up πŸ‘‘
  • at β€” the action template being attached to the matcher. she's the accessory that makes the whole fit work ✨

πŸ¦‹ RETURN πŸ¦‹

Zero on success, non-zero otherwise. so like β€” 0 is the good ending, anything else means something went sideways and you should go check 😭


πŸ”₯ SEE ALSO πŸ”₯

the kernel file lives here, and yes you will be reading it:

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

and now the whole friend group, because this function literally refuses to be seen without her entourage πŸ˜ŒπŸ’œ

ngl that's a long see-also list for a two-argument function, but she's connected, she knows people, iykyk πŸ’…

and that's the whole page, bestie!! πŸ§šβ€β™€οΈ

cute lil sign-off before you go: this one's sourced from the kernel tree at ./drivers/net/ethernet/mellano... β€” yeah it's literally clipped mid-word like that in the source, don't come for me πŸ™ˆ β€” and it's dated October 2026, still stamped mlx5hws_matcher_attach_at(9) at the bottom because she never forgets her name β­πŸ“

πŸ“¦ where this page comes from