All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH libmlx4] Align the Flow Steering support with libibverbs
@ 2014-05-14 13:44 Or Gerlitz
       [not found] ` <1400075090-14296-1-git-send-email-ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Or Gerlitz @ 2014-05-14 13:44 UTC (permalink / raw)
  To: roland-DgEjT+Ai2ygdnm+yROfE0A, yishaih-VPRAkNaXOzVWk0Htik3J/w
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, matanb-VPRAkNaXOzVWk0Htik3J/w,
	dledford-H+wXaHxf7aLQT0dZR+AlfA, Or Gerlitz

From: Matan Barak <matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>

Fix the implementation of receive flow steering in libmlx4 to
use the right verbs entries according to the verbs extensions scheme.

The implementation uses the default commands from libibverbs.

Signed-off-by: Matan Barak <matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Signed-off-by: Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
 src/mlx4.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mlx4.c b/src/mlx4.c
index 2999150..1ee0338 100644
--- a/src/mlx4.c
+++ b/src/mlx4.c
@@ -203,8 +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);
+	verbs_set_ctx_op(verbs_ctx, create_flow, ibv_cmd_create_flow);
+	verbs_set_ctx_op(verbs_ctx, destroy_flow, ibv_cmd_destroy_flow);
 
 	return 0;
 
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-05-15 14:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-14 13:44 [PATCH libmlx4] Align the Flow Steering support with libibverbs Or Gerlitz
     [not found] ` <1400075090-14296-1-git-send-email-ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2014-05-14 13:44   ` [PATCH libibverbs] Align Flow Steering API to the extension verbs scheme Or Gerlitz
     [not found]     ` <1400075090-14296-2-git-send-email-ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2014-05-14 16:08       ` Jason Gunthorpe
     [not found]         ` <20140514160804.GC6253-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2014-05-14 18:55           ` Christoph Lameter
     [not found]             ` <alpine.DEB.2.10.1405141354410.17596-gkYfJU5Cukgdnm+yROfE0A@public.gmane.org>
2014-05-14 18:55               ` Christoph Lameter
2014-05-15 14:30           ` Christoph Lameter
2014-05-14 15:48   ` [PATCH libmlx4] Align the Flow Steering support with libibverbs Jason Gunthorpe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.