]> git.ipfire.org Git - thirdparty/linux.git/commit
IB/mlx5: Introduce flow steering matcher uapi object
authorYishai Hadas <yishaih@mellanox.com>
Mon, 23 Jul 2018 12:25:07 +0000 (15:25 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 24 Jul 2018 19:34:37 +0000 (13:34 -0600)
commitfd44e3853c0155fa82314f341f476d4793415cd2
treebe62b7082637dc08f7b8ae2e94e440a8a1baff2b
parenteda98779f7d318cf96f030bbc5b23f034b69b80a
IB/mlx5: Introduce flow steering matcher uapi object

Introduce flow steering matcher object and its create and destroy methods.

This matcher object holds some mlx5 specific driver properties that
matches the underlay device specification when an mlx5 flow steering group
is created.

It will be used in downstream patches to be part of mlx5 specific create
flow method.

Signed-off-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_std_types_flow_action.c
drivers/infiniband/hw/mlx5/Makefile
drivers/infiniband/hw/mlx5/flow.c [new file with mode: 0644]
drivers/infiniband/hw/mlx5/mlx5_ib.h
include/rdma/uverbs_ioctl.h
include/uapi/rdma/mlx5_user_ioctl_cmds.h