RDMA/uverbs: Add generic function to fill in flow action object
authorMark Bloch <markb@mellanox.com>
Tue, 28 Aug 2018 11:18:52 +0000 (14:18 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 5 Sep 2018 21:23:59 +0000 (15:23 -0600)
commit841eefc5cb57030ad05a0c4bc285f93ffa668ad9
tree9a5a4891a03844f0c9ce533e720bafef0c7c4003
parentb4749bf25652689d8e33827460266b78bb2ec42c
RDMA/uverbs: Add generic function to fill in flow action object

Refactor the initialization of a flow action object to a common function.

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