]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Add flow steering support
authorMaor Gottlieb <maorg@mellanox.com>
Mon, 11 Jan 2016 08:26:07 +0000 (10:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Jan 2016 22:48:53 +0000 (17:48 -0500)
commit176d0c248140b536053dcf22d75a5d6ec30d7016
tree04ab4306825571d353669cd2f92dfe1dd9257ec2
parentb71e91b3da543c1152ee5df79d6d5eed0b26c78f
IB/mlx5: Add flow steering support

Adding flow steering support by creating a flow-table per
priority (if rules exist in the priority). mlx5_ib uses
autogrouping and thus only creates the required destinations.

Also includes adding of these flow steering utilities

1. Parsing verbs flow attributes hardware steering specs.

2. Check if flow is multicast - this is required in order to decide
to which flow table will we add the steering rule.

3. Set outer headers in flow match criteria to zeros.

Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
include/linux/mlx5/fs.h