OSDN Git Service

RDMA/mlx5: Add support for drop action in DV steering
authorDaria Velikovsky <daria@mellanox.com>
Mon, 4 May 2020 05:42:27 +0000 (08:42 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 13 May 2020 18:58:54 +0000 (15:58 -0300)
commitf29de9eee78253d9ae57cd58a6b21eed021742c8
tree958cd7248aa4ef9077f3d7f80827ca5494755be9
parent8c112a5f29a343f89072bed4b9fa176fea226798
RDMA/mlx5: Add support for drop action in DV steering

When drop action is used the matching packet will stop processing in
steering and will be dropped. This functionality will allow users to drop
matching packets.

Link: https://lore.kernel.org/r/20200504054227.271486-1-leon@kernel.org
Signed-off-by: Daria Velikovsky <daria@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/flow.c
include/uapi/rdma/mlx5_user_ioctl_cmds.h