IB/mlx5: Add implementation for create and destroy action_xfrm
authorAviad Yehezkel <aviadye@mellanox.com>
Wed, 28 Mar 2018 06:27:50 +0000 (09:27 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 4 Apr 2018 18:06:26 +0000 (12:06 -0600)
commitc6475a0bca30fc2f9e5e4c48935f08973c2780ef
treee09aa7ad24cfd4fadbb13ccfddb18217f35a6ef5
parent56ab0b38b80e5771920e163cc9bd52504b03f539
IB/mlx5: Add implementation for create and destroy action_xfrm

Adding implementation in mlx5 driver to create and destroy action_xfrm
object. This merely call the accel layer.

A user may pass MLX5_IB_XFRM_FLAGS_REQUIRE_METADATA flag which states
that [s]he expects a metadata header to be added to the payload. This
header represents information regarding the transformation's state.

Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Aviad Yehezkel <aviadye@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
include/uapi/rdma/mlx5_user_ioctl_cmds.h [new file with mode: 0644]
include/uapi/rdma/mlx5_user_ioctl_verbs.h [new file with mode: 0644]