]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit038d2ef87572757861a177b19f9d489def2c48b8
tree04ab4306825571d353669cd2f92dfe1dd9257ec2
parentb217ea25afd8910e7ec0abb556bcb312d397c8a6
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