LASSERT (net->ibn_dev->ibd_mrs[0] != NULL);
if (*kiblnd_tunables.kib_map_on_demand > 0 &&
- *kiblnd_tunables.kib_map_on_demand < rd->rd_nfrags)
+ *kiblnd_tunables.kib_map_on_demand <= rd->rd_nfrags)
return NULL;
if (net->ibn_dev->ibd_nmrs == 1)
return rc;
}
-#if 1
+#ifdef HAVE_OFED_TRANSPORT_IWARP
/* XXX We can't trust this value returned by Chelsio driver, it's wrong
* and we have reported the bug, remove these in the future when Chelsio
* bug got fixed. */
/* Binding should have assigned me an IB device */
LASSERT (id->device != NULL);
+ CDEBUG(D_CONSOLE, "Listener bound to %s:%u.%u.%u.%u:%d:%s\n",
+ ifname, HIPQUAD(ip), *kiblnd_tunables.kib_service,
+ id->device->name);
pd = ib_alloc_pd(id->device);
if (IS_ERR(pd)) {