Re: [PATCH libmlx5] Add support for create/destroy flow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
---
  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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux