aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/rdma/mlx5_user_ioctl_cmds.h
diff options
context:
space:
mode:
authorMark Bloch <markb@mellanox.com>2018-10-10 09:55:10 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-10-16 00:24:45 -0600
commitba4a41198324be2e6fbb06c270fdc8500c0e38de (patch)
tree248e948fad5e04630bdd4db1c8636fa18fff48c4 /include/uapi/rdma/mlx5_user_ioctl_cmds.h
parentRDMA/mlx5: Remove extraneous error check (diff)
downloadlinux-dev-ba4a41198324be2e6fbb06c270fdc8500c0e38de.tar.xz
linux-dev-ba4a41198324be2e6fbb06c270fdc8500c0e38de.zip
RDMA/mlx5: Add support for flow tag to raw create flow
A user can provide a hint which will be attached to the packet and written to the CQE on receive. This can be used as a way to offload operations into the HW, for example parsing a packet which is a tunneled packet, and if so, pass 0x1 as the hint. The software can use that hint to decapsulate the packet and parse only the inner headers thus saving CPU cycles. Signed-off-by: Mark Bloch <markb@mellanox.com> Reviewed-by: Yishai Hadas <yishaih@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to '')
-rw-r--r--include/uapi/rdma/mlx5_user_ioctl_cmds.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/rdma/mlx5_user_ioctl_cmds.h b/include/uapi/rdma/mlx5_user_ioctl_cmds.h
index fb4a8b17cca8..408e220034de 100644
--- a/include/uapi/rdma/mlx5_user_ioctl_cmds.h
+++ b/include/uapi/rdma/mlx5_user_ioctl_cmds.h
@@ -157,6 +157,7 @@ enum mlx5_ib_create_flow_attrs {
MLX5_IB_ATTR_CREATE_FLOW_DEST_DEVX,
MLX5_IB_ATTR_CREATE_FLOW_MATCHER,
MLX5_IB_ATTR_CREATE_FLOW_ARR_FLOW_ACTIONS,
+ MLX5_IB_ATTR_CREATE_FLOW_TAG,
};
enum mlx5_ib_destoy_flow_attrs {