From: Roland Dreier <[EMAIL PROTECTED]>
Date: Sat, 28 Jul 2007 08:21:58 -0700

>  > Another area of consternation are drivers that were using
>  > netif_rx_reschedule(), as that interface was removed because it
>  > doesn't fit well with the caller managing the dev->quota et al.  I
>  > left race conditions in the drivers that were using that interface,
>  > but they should still basically work nonetheless.
> 
> ...but this is a problem for IPoIB.  The underlying IB stuff only
> allows us to register what is essentially a one-shot edge-triggered
> interrupt.  So there is a race between calling netif_rx_complete() and
> calling ib_req_notify_cq() (which enables the interrupt), since the
> interrupt might never happen if a packet arrives between the two calls.

You will see further along in the thread that we have found
a locking sequence by which this issue can be resolved.

Please read the full thread and the most recent patch before
coming to conclusions :-)
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to