]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Add drop flow steering rule support
authorSlava Shwartsman <slavash@mellanox.com>
Mon, 3 Apr 2017 10:13:52 +0000 (13:13 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 21 Apr 2017 16:29:31 +0000 (12:29 -0400)
commita663a2ab6e24b6a20243ffaa85d24fd2088be6f9
tree82d0f195a86a9d2d0ad0dbc61be0ffdc700417b7
parent9ea1de57dbf82126815ab4124e89499a628cf837
IB/mlx5: Add drop flow steering rule support

A drop rule is described by an action drop and no destination.
If a user specified IB_FLOW_SPEC_ACTION_DROP then set the action
to MLX5_FLOW_CONTEXT_ACTION_DROP and clear the destination.

Signed-off-by: Slava Shwartsman <slavash@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c