summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/nes/nes.h
diff options
context:
space:
mode:
authorDon Wood <donald.e.wood@intel.com>2009-09-05 20:36:37 -0700
committerRoland Dreier <rolandd@cisco.com>2009-09-05 20:36:37 -0700
commit5ee21fe0eaf68fb840f442131ab7addced1a31c3 (patch)
treec2161f284345f6f993b6e467b3840676c1141169 /drivers/infiniband/hw/nes/nes.h
parentba0c5d9a8975cf740a4a4b8c579cc4b325f8b852 (diff)
RDMA/nes: Clean out CQ completions when QP is destroyed
When a QP is destroyed, unprocessed CQ entries could still reference the QP. This change zeroes the context value at QP destroy time. By skipping over cqe's with a zero context, poll_cq no longer processes a cqe for a destroyed QP. Signed-off-by: Don Wood <donald.e.wood@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes.h')
0 files changed, 0 insertions, 0 deletions