mlx5hws_acti...st_table_num(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mlx5hws_acti...st_table_num(9) β€” the Kernel API Manual, but make it cute

okay so bestie, you found the page for mlx5hws_action_create_dest_table_num in the Kernel API Manual, and ngl this one's a little superstar. it's a "direct rule goto table number" action creator, and we're gonna walk through it together 🫢


✨ NAME ✨

mlx5hws_action_create_dest_table_num β€” Create direct rule goto table number action. that's it, that's the vibe. it makes the action that says "hey, jump to this table number" πŸ’«


πŸ¦‹ SYNOPSIS πŸ¦‹

struct mlx5hws_action * mlx5hws_action_create_dest_table_num (struct
mlx5hws_context *ctx , u32 tbl_num , u32 flags );

look at her. three args, one pointer back. main character energy fr fr πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • ctx β€” The context in which the new action will be created. like, the whole world this action gets born into 🌸
  • tbl_num β€” Destination table number. the actual number of the table you're pointing at, no cap πŸ“
  • flags β€” Action creation flags (enum mlx5hws_action_flags). all your lil toggles go here ✨

πŸ’– RETURN πŸ’–

pointer to mlx5hws_action on success, NULL otherwise. so like β€” heads up, bestie β€” always vibe check that return value before you go dereferencing it 😭 null pointer deref is not the aesthetic πŸ’€


🌈 SEE ALSO 🌈

the whole friend group shows up for this one, so let's give them all their moment:

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

and the squad:

literally the entire steering department pulled up πŸ§šπŸ’œ


and that's the page!! πŸŽ€ this lil cutie comes from ./drivers/net/ethernet/mellano... and it's dated October 2026, stamped mlx5hws_acti...st_table_num(9) on both ends. go forth and goto all the tables you want, bestie β€” slay πŸ’…βœ¨

πŸ“¦ where this page comes from