aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatan Barak <matanb@mellanox.com>2014-01-29 17:13:44 +0200
committerRoland Dreier <roland@purestorage.com>2014-05-05 11:14:05 -0700
commit1b6875d4c2cba3b751ad0b4286cf52b6a22bff97 (patch)
treea92dd3fb500b71cfa49bc115565134059807d3ad
parentdc6ef6957ed2a50b603ffe9354d030e5a871946f (diff)
downloadlibmlx4-1b6875d4c2cba3b751ad0b4286cf52b6a22bff97.tar.gz
Add receive flow steering support
The implementation uses the default commands from libibverbs. Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
-rw-r--r--src/mlx4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mlx4.c b/src/mlx4.c
index c6e4c5c..2999150 100644
--- a/src/mlx4.c
+++ b/src/mlx4.c
@@ -203,6 +203,8 @@ static int mlx4_init_context(struct verbs_device *v_device,
verbs_set_ctx_op(verbs_ctx, get_srq_num, verbs_get_srq_num);
verbs_set_ctx_op(verbs_ctx, create_qp_ex, mlx4_create_qp_ex);
verbs_set_ctx_op(verbs_ctx, open_qp, mlx4_open_qp);
+ verbs_set_ctx_op(verbs_ctx, drv_ibv_create_flow, ibv_cmd_create_flow);
+ verbs_set_ctx_op(verbs_ctx, drv_ibv_destroy_flow, ibv_cmd_destroy_flow);
return 0;