Hello, Can anybody provide me how packet control is transferred from netif_rx to netif_receive_skb function. regards, linux.lover - : 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 ***************************************************/ - : 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