Skip to contentSkip to conversation

require packet path at device layer

DISCUSSION linux lover 2 participants 2 messages Jan 7, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 9 lines · linux lover

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 [email protected]
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

Signature · 8 lines
/***************************************************
 *Neil Horman
 *Software Engineer
 *Red Hat, Inc.
 *[email protected]
 *gpg keyid: 1024D / 0x92A74FA1
 *http://pgp.mit.edu
 ***************************************************/