NAME | SYNOPSIS | DESCRIPTION | ARGUMENTS | RETURN VALUE | SEE ALSO | COLOPHON |
|
|
mlx5dv_create_...n_modify_header(3) mlx5dv_create_...n_modify_header(3)
mlx5dv_create_flow_action_modify_header - Flow action modify header for mlx5 provider
#include <infiniband/mlx5dv.h> struct ibv_flow_action * mlx5dv_create_flow_action_modify_header(struct ibv_context *ctx, size_t actions_sz, uint64_t actions[], enum mlx5dv_flow_table_type ft_type)
Create a modify header flow steering action, it allows mutating a packet header.
ctx RDMA device context to create the action on. actions_sz The size of actions buffer in bytes. actions A buffer which contains modify actions provided in device spec format (i.e. be64). ft_type Defines the flow table type to which the modify header action will be attached. MLX5DV_FLOW_TABLE_TYPE_NIC_RX: RX FLOW TABLE MLX5DV_FLOW_TABLE_TYPE_NIC_TX: TX FLOW TABLE
Upon success mlx5dv_create_flow_action_modify_header will return a new struct ibv_flow_action object, on error NULL will be returned and errno will be set.
ibv_create_flow(3), ibv_create_flow_action(3)
This page is part of the rdma-core (RDMA Core Userspace Libraries
and Daemons) project. Information about the project can be found
at ⟨https://github.com/linux-rdma/rdma-core⟩. If you have a bug
report for this manual page, send it to
linux-rdma@vger.kernel.org. This page was obtained from the
project's upstream Git repository
⟨https://github.com/linux-rdma/rdma-core.git⟩ on 2025-08-11. (At
that time, the date of the most recent commit that was found in
the repository was 2025-08-04.) If you discover any rendering
problems in this HTML version of the page, or you believe there is
a better or more up-to-date source for the page, or you have
corrections or improvements to the information in this COLOPHON
(which is not part of the original manual page), send a mail to
man-pages@man7.org
mlx5dv_create_...n_modify_header(3)