mlx5hws_acti...default_miss(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ mlx5hws_action_create_default_miss β€” the Kernel API Manual tea ✨

okay so bestie, this is a page from the Kernel API Manual (the mlx5hws_acti...default_miss(9) one, yes the name is a whole mouthful, we don't gatekeep) and it's literally about creating a direct rule default miss action πŸŽ€


πŸ’– NAME πŸ’–

mlx5hws_action_create_default_miss β€” create a direct rule default miss action. The defaults are RX: Drop, TX: Wire. no cap, that's the whole vibe πŸ¦‹


🌸 SYNOPSIS 🌸

struct mlx5hws_action * mlx5hws_action_create_default_miss (struct
       mlx5hws_context *ctx , u32 flags );

like, you hand it a context and some flags and it gives you back an action pointer, slay πŸ’…


🧚 ARGUMENTS 🧚

  • ctx β€” the context in which the new action will be created. it's giving "where the magic happens" ✨
  • flags β€” action creation flags (enum mlx5hws_action_flags). yes bestie, the enum, use it πŸŽ€

⭐ RETURN ⭐

Pointer to mlx5hws_action on success, NULL otherwise. so like… check it, okay? don't be out here dereferencing NULL, that's not the main character energy we want πŸ˜­πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, fr fr β€” and also the kernel file itself:

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


and that's the whole page bestie, go build something iconic πŸ’œ

source file: ./drivers/net/ethernet/mellano... · dated October 2026 · manual mlx5hws_acti...default_miss(9) 🫢

periodt. 🌈

πŸ“¦ where this page comes from