Whamcloud - gitweb
LU-10213 lnd: calculate qp max_send_wrs properly
[fs/lustre-release.git] / lnet / klnds / o2iblnd / o2iblnd.h
index cc3683a..e60a92d 100644 (file)
@@ -161,9 +161,6 @@ extern kib_tunables_t  kiblnd_tunables;
 
 /* WRs and CQEs (per connection) */
 #define IBLND_RECV_WRS(c)            IBLND_RX_MSGS(c)
-#define IBLND_SEND_WRS(c)      \
-       ((c->ibc_max_frags + 1) * kiblnd_concurrent_sends(c->ibc_version, \
-                                                         c->ibc_peer->ibp_ni))
 
 /* 2 = LNet msg + Transfer chain */
 #define IBLND_CQ_ENTRIES(c)    \