[ofa-general] ipoib question

Eli Cohen eli at mellanox.co.il
Sun Jul 22 23:32:19 PDT 2007


Roland,

can you explain why you add 1 to the size of the CQ in
ipoib_transport_dev_init()?

 
	priv->mr = ib_get_dma_mr(priv->pd, IB_ACCESS_LOCAL_WRITE);
	if (IS_ERR(priv->mr)) {
		printk(KERN_WARNING "%s: ib_get_dma_mr failed\n", ca->name);
		goto out_free_pd;
	}

	size = ipoib_sendq_size + ipoib_recvq_size + 1;
	ret = ipoib_cm_dev_init(dev);




More information about the general mailing list