mlx5hws_table_get_id(9)
β¨ mlx5hws_table_get_id β get the ID of a flow table π
okay bestie, so you're deep in the mlx5hws steering world (that's the kernel API manual, section 9, for anyone keeping track π) and you've got yourself a flow table and you're likeβ¦ "what's her ID tho?" β that's literally this function, and it's so simple it's iconic π
πΈ NAME πΈ
mlx5hws_table_get_id β get the ID of the flow table. that's it. that's the whole vibe. π¦
β¨ SYNOPSIS β¨
u32 mlx5hws_table_get_id(struct mlx5hws_table *tbl);
she takes a table, she gives you back a u32. main character energy, zero drama π
π«Ά ARGUMENTS π«Ά
tblβ the table you want the ID of. that's the one. hand her over π
π RETURN π
the ID of the table. that's the whole payoff, no cap πβ¨
π¦ SEE ALSO π¦
so the actual source of truth lives in the kernel file right here β go look, iykyk:
./drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws.h
and here's the whole friend group, everyone's invited to the group chat ππ
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_set_default_miss(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)
ngl bestie, this header is the blueprint β if you're lost, start at mlx5hws_is_supported(9) and work your way down the pipeline like the icon you are π
okay and for the sign-off credits moment π¬ β this page is from the kernel API manual, entry mlx5hws_table_get_id(9), sourced from ./drivers/net/ethernet/mellano... and dated October 2026. slay. periodt. go get those table IDs, 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