]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
RDMA/cxgb4: Use correct QID in insert_recv_cqe()
authorJonathan Lallinger <jonathan@ogc.us>
Thu, 13 Oct 2011 18:56:59 +0000 (13:56 -0500)
committerRoland Dreier <roland@purestorage.com>
Fri, 14 Oct 2011 21:23:40 +0000 (14:23 -0700)
commite14d62c05c0b8eff61c6fd46b4a78fb27c8cf38b
treebc47a8d6e12ac7d3ef12aa5de600d2bd5c62ff97
parent01e7da6ba53ca4d6189a1eae45607c0331c871f2
RDMA/cxgb4: Use correct QID in insert_recv_cqe()

When creating flushed receive CQEs, set the QPID field in the t4_cqe
to the SQ QID and not the RQ QID.  Otherwise the poll code will not
find the correct QP context.

Signed-off by: Jonathan Lallinger <jonathan@ogc.us>
Signed-off by: Steve Wise <swise@ogc.us>

Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/cq.c