mlx5e_tc_act_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ mlx5e_tc_act_get(9) ✨

okay bestie, welcome to the Kernel API Manual πŸŽ€ β€” this is the page for mlx5e_tc_act_get(9) and honestly it's giving "small function, big responsibility" energy πŸ’…


🌸 NAME 🌸

mlx5e_tc_act_get β€” get an action parser for an action id πŸ’–

like, you hand it an action id and it hands you back the parser that knows what to do with it. match made in heaven fr fr ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

struct mlx5e_tc_act * mlx5e_tc_act_get (enum flow_action_id act_id ,
enum mlx5_flow_namespace_type ns_type );

that's the whole thing, no cap 🫢


πŸ‘‘ ARGUMENTS πŸ‘‘

two args, both lowkey essential, let's break them down:

  • act_id β€” the flow action id. yeah, the id of the action. that's the thing you're shopping for, and this function is the personal shopper πŸ›οΈ
  • ns_type β€” the flow namespace type. tells it which namespace vibe we're in πŸ’«

⭐ SEE ALSO ⭐

  • the kernel file ./drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/act.c β€” go read the source, it's right there, iykyk πŸ“–
  • mlx5e_tc_act_init_parse_state(9) β€” the sibling page, the other half of the lore 🧚

lowkey a tiny page but it's doing its job and we respect it πŸ™ˆ ✨

and that's a wrap, bestie πŸ“ this one came from ./drivers/net/ethernet/mellano... and it's dated October 2026 β€” screenshot it, cite it, slay it πŸ’…πŸ”₯ bye!!

πŸ“¦ where this page comes from