> Quoting Roland Dreier <[EMAIL PROTECTED]>:
> Subject: Re: [PATCHv4] IPoIB CM Experimental support
>
> Also, I haven't really looked yet, but how does the connected mode
> patch interact with the NAPI patches?
The latest version uses prov->cq for all RX packets, so
it's trivial to merge it with NAPI if we want: the relevant part
of the patch is:
static void ipoib_ib_handle_wc(struct net_device *dev, struct ib_wc *wc)
{
- if (wc->wr_id & IPOIB_OP_RECV)
+ if (wc->wr_id & IPOIB_CM_OP_SRQ)
+ ipoib_cm_handle_rx_wc(dev, wc);
+ else if (wc->wr_id & IPOIB_OP_RECV)
ipoib_ib_handle_rx_wc(dev, wc);
else
ipoib_ib_handle_tx_wc(dev, wc);
I haven't tested this combination yet.
--
MST
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general