1mlx5dv_create_flow_action_modify_headmelrx(53d)v_create_flow_action_modify_header(3)
2
3
4

NAME

6       mlx5dv_create_flow_action_modify_header - Flow action modify header for
7       mlx5 provider
8

SYNOPSIS

10              #include <infiniband/mlx5dv.h>
11
12              struct ibv_flow_action *
13              mlx5dv_create_flow_action_modify_header(struct ibv_context *ctx,
14                                  size_t actions_sz,
15                                  uint64_t actions[],
16                                  enum mlx5dv_flow_table_type ft_type)
17

DESCRIPTION

19       Create a modify header flow steering action, it allows mutating a pack‐
20       et header.
21

ARGUMENTS

23       ctx    RDMA device context to create the action on.
24
25       actions_sz
26              The size of actions buffer in bytes.
27
28       actions
29              A  buffer  which contains modify actions provided in device spec
30              format (i.e. be64).
31
32       ft_type
33              Defines the flow table type to which the  modify  header  action
34              will be attached.
35
36              MLX5DV_FLOW_TABLE_TYPE_NIC_RX: RX FLOW TABLE
37
38              MLX5DV_FLOW_TABLE_TYPE_NIC_TX: TX FLOW TABLE
39

RETURN VALUE

41       Upon  success mlx5dv_create_flow_action_modify_header will return a new
42       struct ibv_flow_action object, on error NULL will be returned and errno
43       will be set.
44

SEE ALSO

46       ibv_create_flow(3), ibv_create_flow_action(3)
47
48
49
50                                    mlx5dv_create_flow_action_modify_header(3)
Impressum