Message ID | 1453904796-17573-1-git-send-email-maorg@mellanox.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
On 1/27/2016 4:26 PM, Maor Gottlieb wrote: > Add a call to the extended version of ibv_create_flow and > ibv_destroy_flow. > > Signed-off-by: Maor Gottlieb <maorg@mellanox.com> > --- > src/mlx5.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/mlx5.c b/src/mlx5.c > index e44898a..9dff4cc 100644 > --- a/src/mlx5.c > +++ b/src/mlx5.c > @@ -584,6 +584,8 @@ static int mlx5_init_context(struct verbs_device *vdev, > verbs_set_ctx_op(v_ctx, create_srq_ex, mlx5_create_srq_ex); > verbs_set_ctx_op(v_ctx, get_srq_num, mlx5_get_srq_num); > verbs_set_ctx_op(v_ctx, query_device_ex, mlx5_query_device_ex); > + verbs_set_ctx_op(v_ctx, ibv_create_flow, ibv_cmd_create_flow); > + verbs_set_ctx_op(v_ctx, ibv_destroy_flow, ibv_cmd_destroy_flow); > > return 0; > > Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/src/mlx5.c b/src/mlx5.c index e44898a..9dff4cc 100644 --- a/src/mlx5.c +++ b/src/mlx5.c @@ -584,6 +584,8 @@ static int mlx5_init_context(struct verbs_device *vdev, verbs_set_ctx_op(v_ctx, create_srq_ex, mlx5_create_srq_ex); verbs_set_ctx_op(v_ctx, get_srq_num, mlx5_get_srq_num); verbs_set_ctx_op(v_ctx, query_device_ex, mlx5_query_device_ex); + verbs_set_ctx_op(v_ctx, ibv_create_flow, ibv_cmd_create_flow); + verbs_set_ctx_op(v_ctx, ibv_destroy_flow, ibv_cmd_destroy_flow); return 0;
Add a call to the extended version of ibv_create_flow and ibv_destroy_flow. Signed-off-by: Maor Gottlieb <maorg@mellanox.com> --- src/mlx5.c | 2 ++ 1 file changed, 2 insertions(+)