diff options
author | Matan Barak <matanb@mellanox.com> | 2013-11-07 14:25:16 +0100 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-01-14 23:06:50 +0100 |
commit | a37a1a428431d3e7e9f53530b5c56ff7867bd487 (patch) | |
tree | 1c50f676da6b7dcf021b64135f37d6fc150ad30b /drivers/infiniband/hw/mlx4/mlx4_ib.h | |
parent | IB/mlx4: Enable device-managed steering support for IB ports too (diff) | |
download | linux-a37a1a428431d3e7e9f53530b5c56ff7867bd487.tar.xz linux-a37a1a428431d3e7e9f53530b5c56ff7867bd487.zip |
IB/mlx4: Add mechanism to support flow steering over IB links
The mlx4 device requires adding IB flow spec to rules that apply over
infiniband link layer. This patch adds a mechanism to add such a rule.
If higher levels e.g. IP/UDP/TCP flow specs are provided, the device
requires us to add an empty wild-carded IB rule. Furthermore, the device
requires the QPN to be put in the rule.
Add here specific parsing support for IB empty rules and the ability
to self-generate missing specs based on existing ones.
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/mlx4_ib.h')
0 files changed, 0 insertions, 0 deletions