Re: [PATCH V4 for-next 1/5] IB/core: Add RSS and TSS QP groups

2013-04-10 Thread Or Gerlitz
Or Gerlitz wrote: Hefty, Sean wrote: >> I have no issue with RSS/TSS. But the 'qp group' interface to using this >> seems >> kludgy. > lets try to be more specific > >> On a node, this is multiple send/receive queues grouped together to form a >> larger >> construct. On the wire, this is a s

Re: [PATCHv2] rdma: add a new IB_ACCESS_GIFT flag

2013-04-10 Thread Michael R. Hines
On 04/10/2013 11:05 AM, Michael S. Tsirkin wrote: On Wed, Apr 10, 2013 at 11:48:24AM -0400, Michael R. Hines wrote: There's a very nice, simple client/server RDMA application on the internet you can use to test your patch. http://thegeekinthecorner.wordpress.com/2010/09/28/ rdma-read-and-write-

Re: [PATCHv2] rdma: add a new IB_ACCESS_GIFT flag

2013-04-10 Thread Michael S. Tsirkin
On Wed, Apr 10, 2013 at 11:48:24AM -0400, Michael R. Hines wrote: > > There's a very nice, simple client/server RDMA application on the > internet you can use to test your patch. > > http://thegeekinthecorner.wordpress.com/2010/09/28/ > rdma-read-and-write-with-ib-verbs/ > > This guy provides th

[PATCH for-next 2/3] net/mlx4_core: Implement srq object lookup from srqn

2013-04-10 Thread Or Gerlitz
From: Shlomo Pongratz Expose a new API mlx4_srq_lookup to retrive a SRQ based on its number. This API is needed in the mlx4_ib driver CQ polling logic, when a work completion is associated with a XRC TGT QP. Since a target QP may redirect to more than one XRC SRQ, the srq field in the QP has no u

[PATCH for-next 1/3] IB/core: Verify that QP handler is valid before dispatching events

2013-04-10 Thread Or Gerlitz
From: Shlomo Pongratz For QPs of type IB_QPT_XRC_TGT the IB core assigns a common event handler __ib_shared_qp_event_handler, and the optionally supplied event handler is stored. When the common handler is called it iterates on all opened QPs and calles the original handlers without checking if t

[PATCH for-next 0/3] Fixes to the mlx4 kernel XRC implementaion

2013-04-10 Thread Or Gerlitz
From: Shlomo Pongratz Hi Roland, Sean, everyone! This patch series fixes the following two issues Shlomo stepped on while experimenting with the kernel XRC code: 1. Calling an uninitalized XRC TGT QP event handler. QP envent handler is optional, the current code calls the event handelr for XRC

[PATCH for-next 3/3] IB/mlx4: Fetch XRC SRQ in the CQ polling code

2013-04-10 Thread Or Gerlitz
From: Shlomo Pongratz An XRC target QP may redirect to more than one XRC SRQ. This means that for work completions associated with a XRC TGT QP, the srq field in the QP has no usage and the real XRC SRQ need to be retrived using the information from the XRCETH placed into the CQE, do that. Signe

[PATCH opensm] osm_sa_mad_ctrl.c: Drop incoming SA queries when shutting down

2013-04-10 Thread Hal Rosenstock
Signed-off-by: Hal Rosenstock --- diff --git a/opensm/osm_sa_mad_ctrl.c b/opensm/osm_sa_mad_ctrl.c index 86c8fda..902803e 100644 --- a/opensm/osm_sa_mad_ctrl.c +++ b/opensm/osm_sa_mad_ctrl.c @@ -54,6 +54,7 @@ #include #include #include +#include /f* opensm: SA/sa_mad_ctrl_disp_done_