commit | 5ee21fe0eaf68fb840f442131ab7addced1a31c3 | [log] [tgz] |
---|---|---|
author | Don Wood <donald.e.wood@intel.com> | Sat Sep 05 20:36:37 2009 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Sat Sep 05 20:36:37 2009 -0700 |
tree | c2161f284345f6f993b6e467b3840676c1141169 | |
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>