mlx5hws_tabl...default_miss(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mlx5hws_tabl...default_miss(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual entry for mlx5hws_tabl...default_miss(9) β€” yes that's the abbreviated name up in the corner, she's long, she's gorgeous, we move. this is the page where we set up your whole "what happens when nothing matches" situation, and honestly it's giving main character energy πŸŽ€


✨ NAME ✨

mlx5hws_table_set_default_miss β€” sets the default miss table for a mlx5hws_table by using another mlx5hws_table. like, no cap: any traffic that all the table matchers miss gets forwarded straight to the miss table. it's the fallback bestie, the "if nobody claims you, go here" plan πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int mlx5hws_table_set_default_miss (struct mlx5hws_table *tbl , struct
mlx5hws_table *miss_tbl );

literally that's the whole call. two pointers, one int coming back. slay ✨


🌸 ARGUMENTS 🌸

  • tbl β€” the source table, a.k.a. the one you're configuring. she's the one getting the new miss behaviour 🫢
  • miss_tbl β€” the target (miss) table πŸ’… or, plot twist, pass NULL to remove the current miss table. yes, NULL is the "never mind, undo it" option, iconic.

πŸ’€ RETURN πŸ’€

  • zero on success πŸŽ‰
  • non zero otherwise 😭 (so like, vibe check your return value, fr fr)
no lying: the page says "zero on success non zero otherwise" and that's the whole deal β€” don't invent extra error codes, i'm not gonna gaslight you like that πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

okay the Kernel file first, because she's the source of truth:

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

and now the whole squad, in order, exactly as listed β€” no one left behind 🧚:

like, that's the entire group chat right there. iykyk πŸ’œ


and that's the page!! 🌈 before you go β€” the source lives at ./drivers/net/ethernet/mellano... and this drop is dated October 2026, so like, mark your calendars bestie πŸŽ€βœ¨πŸ’–

πŸ“¦ where this page comes from