mlx5hws_tabl...default_miss(9)
π 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, passNULLto remove the current miss table. yes,NULLis 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 π§:
mlx5hws_is_supported(9),mlx5hws_context_open(9),mlx5hws_context_close(9),mlx5hws_context_set_peer(9)mlx5hws_table_create(9),mlx5hws_table_destroy(9),mlx5hws_table_get_id(9)mlx5hws_match_template_create(9),mlx5hws_match_template_destroy(9)mlx5hws_action_template_create(9),mlx5hws_action_template_destroy(9)mlx5hws_matcher_create(9),mlx5hws_matcher_destroy(9),mlx5hws_matcher_attach_at(9),mlx5hws_matcher_resize_set_target(9),mlx5hws_matcher_resize_rule_move(9)mlx5hws_rule_create(9),mlx5hws_rule_destroy(9),mlx5hws_rule_action_update(9)mlx5hws_action_get_type(9),mlx5hws_action_get_dev(9)mlx5hws_action_create_dest_drop(9),mlx5hws_action_create_default_miss(9),mlx5hws_action_create_dest_table(9),mlx5hws_action_create_dest_table_num(9),mlx5hws_action_create_dest_match_range(9),mlx5hws_action_create_flow_sampler(9),mlx5hws_action_create_dest_vport(9),mlx5hws_action_create_tag(9),mlx5hws_action_create_counter(9),mlx5hws_action_create_reformat(9),mlx5hws_action_create_modify_header(9),mlx5hws_action_create_aso_meter(9),mlx5hws_action_create_pop_vlan(9),mlx5hws_action_create_push_vlan(9),mlx5hws_action_create_dest_array(9),mlx5hws_action_create_insert_header(9),mlx5hws_action_create_remove_header(9),mlx5hws_action_create_last(9),mlx5hws_action_destroy(9)mlx5hws_send_queue_poll(9),mlx5hws_send_queue_action(9)mlx5hws_debug_dump(9)mlx5hws_bwc_matcher_create(9),mlx5hws_bwc_matcher_destroy(9),mlx5hws_bwc_rule_create(9),mlx5hws_bwc_rule_destroy(9),mlx5hws_bwc_rule_action_update(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms