diff options
author | Don Wood <donald.e.wood@intel.com> | 2009-09-05 20:36:37 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-09-05 20:36:37 -0700 |
commit | 5ee21fe0eaf68fb840f442131ab7addced1a31c3 (patch) | |
tree | c2161f284345f6f993b6e467b3840676c1141169 /drivers/net/declance.c | |
parent | ba0c5d9a8975cf740a4a4b8c579cc4b325f8b852 (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/net/declance.c')
0 files changed, 0 insertions, 0 deletions