RDMA/mlx5: Add flow actions support to raw create flow
authorMark Bloch <markb@mellanox.com>
Thu, 6 Sep 2018 14:27:06 +0000 (17:27 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 11 Sep 2018 15:28:07 +0000 (09:28 -0600)
commitfa76d24ee0aa24fff3fa9ba71fc2179fb88fef6a
treeb50891da0faa10d9e9baaf6785d977890b1e862d
parentb823dd6d86ce6576d229c865895d0ee5285d0363
RDMA/mlx5: Add flow actions support to raw create flow

Support attaching flow actions to a flow rule via raw create flow.
For now only NIC RX path is supported. This change requires to export
flow resources management functions so we can maintain proper bookkeeping
of flow actions.

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>
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/hw/mlx5/flow.c
include/rdma/uverbs_std_types.h
include/uapi/rdma/mlx5_user_ioctl_cmds.h