RDMA/mlx5: Add new flow action verb - packet reformat
authorMark Bloch <markb@mellanox.com>
Tue, 28 Aug 2018 11:18:53 +0000 (14:18 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 5 Sep 2018 21:23:59 +0000 (15:23 -0600)
commit08aeb97cb82483192bd8ad8e60d1b73ce1b75923
treec394ebb6ad3b2bb94dd9ac82af77660bf238d35f
parent841eefc5cb57030ad05a0c4bc285f93ffa668ad9
RDMA/mlx5: Add new flow action verb - packet reformat

For now, only add L2_TUNNEL_TO_L2 option. This will allow to perform
generic decap operation if the encapsulating protocol is L2 based, and the
inner packet is also L2 based. For example this can be used to decap VXLAN
packets.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/flow.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
include/uapi/rdma/mlx5_user_ioctl_cmds.h
include/uapi/rdma/mlx5_user_ioctl_verbs.h