I'd like to know if there are situations where netif_rx() is not safe to use. For example, is it safe to call from a timer or from dev->poll()? Regards, Rask Ingemann Lambertsen
from dev->poll()? It could work, but that's abusing the napi design. netif_rx() is for non-napi drivers. If a dev has a ->poll() method, it should use netif_receive_skb(). Jason
Hi. I'd like to know if there are situations where netif_rx() is not safe to use. For example, is it safe to call from a timer or from dev->poll()? Regards, Rask Ingemann Lambertsen
from dev->poll()? It could work, but that's abusing the napi design. netif_rx() is for non-napi drivers. If a dev has a ->poll() method, it should use netif_receive_skb(). Jason