diff options
author | Hadar Hen Zion <hadarh@mellanox.com> | 2013-08-14 10:58:31 (GMT) |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-08-28 16:53:56 (GMT) |
commit | f77c0162a339400ad16f657603fdc3bf11654fd3 (patch) | |
tree | cf7bd72a5ac499549a697e305fc0cec46be79a6f /drivers/infiniband/core/uverbs_cmd.c | |
parent | 436f2ad05a0b65b1467ddf51bc68171c381bf844 (diff) | |
download | linux-fsl-qoriq-f77c0162a339400ad16f657603fdc3bf11654fd3.tar.xz |
IB/mlx4: Add receive flow steering support
Implement ib_create_flow() and ib_destroy_flow().
Translate the verbs structures provided by the user to HW structures
and call the MLX4_QP_FLOW_STEERING_ATTACH/DETACH firmware commands.
On the ATTACH command completion, the firmware provides a 64-bit
registration ID, which is placed into struct mlx4_ib_flow that wraps
the instance of struct ib_flow which is retuned to caller. Later,
this reg ID is used for detaching that flow from the firmware.
Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/core/uverbs_cmd.c')
0 files changed, 0 insertions, 0 deletions