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>
This commit is contained in:
committed by
Jason Gunthorpe
parent
8c112a5f29
commit
f29de9eee7
@@ -243,6 +243,7 @@ enum mlx5_ib_flow_type {
|
||||
|
||||
enum mlx5_ib_create_flow_flags {
|
||||
MLX5_IB_ATTR_CREATE_FLOW_FLAGS_DEFAULT_MISS = 1 << 0,
|
||||
MLX5_IB_ATTR_CREATE_FLOW_FLAGS_DROP = 1 << 1,
|
||||
};
|
||||
|
||||
enum mlx5_ib_create_flow_attrs {
|
||||
|
||||
Reference in New Issue
Block a user