commit | d2fa9b26e181d1e3c3df06a57fa13b04afee0e16 | [log] [tgz] |
---|---|---|
author | Faisal Latif <faisal.latif@intel.com> | Wed Dec 09 15:54:28 2009 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Dec 09 15:54:28 2009 -0800 |
tree | dfac5f80c0a1b0e1ef38a1a6580b7faaf5f1f348 | |
parent | fd000e12a564bdeaec5e5a438d341d9132409f26 [diff] |
RDMA/nes: Free kmap() resources We fail when creating many qps as kmap() fails for sq_vbase. Fix this by doing kunmap() as soon as we are done with sq_vbase. We do kunmap() in one of the locations below: (1) nes_destroy_qp() (2) nes_accept() (3) nes_connect_event We keep a flag to avoid multiple calls to kunmap(). Signed-off-by: Faisal Latif <faisal.latif@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>