mlx5hws_act...te_dest_drop(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mlx5hws_action_create_dest_drop(9) πŸ’…

okay so this is a Kernel API Manual page, bestie β€” we're in the drivers, we're in the Mellanox/mlx5 steering code, and we're about to make a rule that just… drops stuff. iconically. 🫢


✨ NAME ✨

mlx5hws_action_create_dest_drop β€” Create a direct rule drop action.

like, it builds you the "yeet this packet into the void" action. no cap. πŸ—‘οΈβœ¨


🌸 SYNOPSIS 🌸

struct mlx5hws_action * mlx5hws_action_create_dest_drop (struct
mlx5hws_context *ctx , u32 flags );

she takes a context, she takes flags, she hands you back a pointer. that's the whole vibe check. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ctx β€” The context in which the new action will be created. like, the whole world this action gets born into. your home base, your main character arena. 🏟️
  • flags β€” Action creation flags (enum mlx5hws_action_flags). the lil settings knobs, fr fr. βš™οΈ

πŸ’– RETURN πŸ’–

Pointer to mlx5hws_action on success, NULL otherwise.

so like β€” pointer means slay, NULL means it did not slay. check it, bestie, always check it. 😭


πŸ”₯ SEE ALSO πŸ”₯

Kernel file:

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

and the whole friend group, in order, no skips:

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_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)


okay that's the whole page, you ate that πŸ’…βœ¨ signing off from ./drivers/net/ethernet/mellano... β€” dated October 2026, version whatever the kernel's serving that month πŸŽ€πŸ¦‹ mwah πŸ’œ

πŸ“¦ where this page comes from