mlx5hws_acti...e_dest_vport(9)
π¦ mlx5hws_action_create_dest_vport β Kernel API Manual β¨
okay so bestie, welcome to the Kernel API Manual π you're about to learn how to make a real cute direct rule thing that goes straight to a vport. yes that's a whole thing and yes it's iconic.
πΈ NAME πΈ
mlx5hws_action_create_dest_vport β Create direct rule goto vport action. literally what it says on the tin, no cap π
β¨ SYNOPSIS β¨
struct mlx5hws_action * mlx5hws_action_create_dest_vport (struct
mlx5hws_context *ctx , u16 vport_num , bool vhca_id_valid , u16 vhca_id
, u32 flags );
π ARGUMENTS π
ctxβ the context where your brand new action is gonna live. it's giving "main character setting", everything happens inside it π«Άvport_numβ the destination vport number. like, where the packets are headed, the addy fr fr.vhca_id_validβ a little bool that tells us whether thevhca_idparameter is actually valid. yes queen, consent matters πvhca_idβ the VHCA ID of the destination vport. only meaningful ifvhca_id_validsaid so.flagsβ action creation flags, and the type isenum mlx5hws_action_flags. slay.
π₯ RETURN π₯
pointer to mlx5hws_action on success, NULL otherwise. so likeβ¦ check it, bestie. don't be out here dereferencing NULL π
π SEE ALSO π
Kernel file: ./drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws.h
and all the besties in 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_get_id(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_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)
and that's the whole vibe, bestie π
this cutie came from ./drivers/net/ethernet/mellano..., dated October 2026, and it's out here answering to the name mlx5hws_acti...e_dest_vport(9). byeee, go create some iconic vport actions ππ¦
π¦ 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