Thread (17 messages) 17 messages, 4 authors, 2007-07-24

Re: [PATCH 3/3] Virtio draft IV: the net driver

From: David Miller <davem@davemloft.net>
Date: 2007-07-11 20:44:47

From: Christian Borntraeger <redacted>
Date: Wed, 11 Jul 2007 12:45:40 +0200
Am Mittwoch, 4. Juli 2007 schrieb Rusty Russell:
quoted
+static void receive_skb(struct net_device *dev, struct sk_buff *skb,
[...]
quoted
+	netif_rx(skb);
In the NAPI case, we should use netif_receive_skb, no?
NAPI doesn't make sense for virtual devices, my Sun LDOM nework
driver won't use NAPI either.

It's also too cumbersome to use NAPI with the way virtualized
network drivers work (multiple ports, each with an interrupt
source, not just one) until the NAPI split patches are ported
and applied upstream and that won't be for a while.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help