netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* require packet path at device layer
@ 2005-01-07  8:20 linux lover
  2005-01-07 13:05 ` Neil Horman
  0 siblings, 1 reply; 2+ messages in thread
From: linux lover @ 2005-01-07  8:20 UTC (permalink / raw)
  To: linux-net; +Cc: netdev

Hello,
    Can anybody provide me how packet control is transferred from
netif_rx to netif_receive_skb function.
regards,
linux.lover

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: require packet path at device layer
  2005-01-07  8:20 require packet path at device layer linux lover
@ 2005-01-07 13:05 ` Neil Horman
  0 siblings, 0 replies; 2+ messages in thread
From: Neil Horman @ 2005-01-07 13:05 UTC (permalink / raw)
  To: linux lover; +Cc: linux-net, netdev

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@vger.kernel.org
> 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@redhat.com
  *gpg keyid: 1024D / 0x92A74FA1
  *http://pgp.mit.edu
  ***************************************************/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-07 13:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-07  8:20 require packet path at device layer linux lover
2005-01-07 13:05 ` Neil Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).