netdev
[Top] [All Lists]

Re: require packet path at device layer

To: linux lover <linux.lover2004@xxxxxxxxx>
Subject: Re: require packet path at device layer
From: Neil Horman <nhorman@xxxxxxxxxx>
Date: Fri, 07 Jan 2005 08:05:51 -0500
Cc: linux-net@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <72c6e3790501070020755ffacf@mail.gmail.com>
References: <72c6e3790501070020755ffacf@mail.gmail.com>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0; hi, Mom) Gecko/20020604 Netscape/7.01
linux lover wrote:
Hello,
    Can anybody provide me how packet control is transferred from
netif_rx to netif_receive_skb function.
regards,
linux.lover
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Believe its done directly in netif_rx, which calls:
netif_rx_schedule(&queue->blog_dev)
The poll routine for blog_dev which gets set in net_dev_init is called process_backlog, which takes packets queued from netif_rx and calls netif_receive_skb with them


HTH
Neil

--
/***************************************************
 *Neil Horman
 *Software Engineer
 *Red Hat, Inc.
 *nhorman@xxxxxxxxxx
 *gpg keyid: 1024D / 0x92A74FA1
 *http://pgp.mit.edu
 ***************************************************/

<Prev in Thread] Current Thread [Next in Thread>