]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit94e442a9403b709eef2289d9512f422022cfd681
tree8f34a8742e67c62d60e67cae31ecf7d3c277be33
parent69638676d80d292bad664eb1fe175bfbf34b3618
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