net/mlx5: add header reformat HW steering action
authorSuanming Mou <suanmingm@nvidia.com>
Thu, 24 Feb 2022 13:40:51 +0000 (15:40 +0200)
committerRaslan Darawsheh <rasland@nvidia.com>
Thu, 24 Feb 2022 21:10:23 +0000 (22:10 +0100)
commitfe3620aabacd504a2b6c807bd0abe18cc1a2da12
tree2d757a1b594def8626358896392b5455a78cbe9b
parent7ab3962d2d2b827a2d0533697161fe7916b276e8
net/mlx5: add header reformat HW steering action

HW steering header reformat action can work under bulk mode. In
this case, when create the table, bulk size of header reformat
actions will be allocated in low level. Afterwards, when create
flow, just simply specify the action index in the bulk and the
encapsulation data to the action will be enough.

Signed-off-by: Suanming Mou <suanmingm@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow.h
drivers/net/mlx5/mlx5_flow_dv.c
drivers/net/mlx5/mlx5_flow_hw.c