mlx5dv_create_flow_action_packet_reformat
Flow action reformat packet for mlx5 provider
- Provided by: libibverbs-dev (Version: 64.0-1ubuntu1)
- Source: rdma-core
- Report a bug
Flow action reformat packet for mlx5 provider
#include <infiniband/mlx5dv.h>
struct ibv_flow_action *
mlx5dv_create_flow_action_packet_reformat(struct ibv_context *ctx,
size_t data_sz,
void *data,
enum mlx5dv_flow_action_packet_reformat_type reformat_type,
enum mlx5dv_flow_table_type ft_type)
Create a packet reformat flow steering action. It allows adding/removing packet headers.
RDMA device context to create the action on.
The size of *data* buffer.
A buffer which contains headers in case the actions requires them.
The reformat type to be create. Use enum mlx5dv_flow_action_packet_reformat_type.
It defines the flow table type to which the packet reformat action
Upon success mlx5dv_create_flow_action_packet_reformat will return a new struct ibv_flow_action object, on error NULL will be returned and errno will be set.