]> git.baikalelectronics.ru Git - kernel.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)
commite9dbb2cae92f18e8fedad56392374b53cc48f583
treebe62b7082637dc08f7b8ae2e94e440a8a1baff2b
parentfded8c73b3b2e09060133546cf27b61965883575
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