OSDN Git Service

RDMA/mlx5: Add support in steering default miss
authorMaor Gottlieb <maorg@mellanox.com>
Mon, 4 May 2020 05:30:12 +0000 (08:30 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 13 May 2020 18:55:41 +0000 (15:55 -0300)
commit8c112a5f29a343f89072bed4b9fa176fea226798
tree8f34a8742e67c62d60e67cae31ecf7d3c277be33
parentb9019507aa6e3e6a039573eb6743b38bf846771b
RDMA/mlx5: Add support in steering default miss

User can configure default miss rule in order to skip matching in the user
domain and forward the packet to the kernel steering domain.  When user
requests a default miss rule, we add steering rule to forward the traffic
to the next namespace.

Link: https://lore.kernel.org/r/20200504053012.270689-5-leon@kernel.org
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Mark Zhang <markz@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/flow.c
drivers/infiniband/hw/mlx5/main.c
include/uapi/rdma/mlx5_user_ioctl_cmds.h