]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx4: Fetch XRC SRQ in the CQ polling code
authorShlomo Pongratz <shlomop@mellanox.com>
Wed, 10 Apr 2013 14:26:48 +0000 (14:26 +0000)
committerRoland Dreier <roland@purestorage.com>
Wed, 17 Apr 2013 05:42:55 +0000 (22:42 -0700)
commit41ed97c1b2107f21a228a6872886a022825ee238
treeec55b8daa06842bad14fdb048d1fbdb1032070f4
parent3325b3caa55b24e6d34cbc2781f9b7f6c4426b1a
IB/mlx4: Fetch XRC SRQ in the CQ polling code

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.

Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx4/cq.c