All of lore.kernel.org
 help / color / mirror / Atom feed
From: Neil Horman <nhorman@redhat.com>
To: linux lover <linux.lover2004@gmail.com>
Cc: linux-net@vger.kernel.org, netdev@oss.sgi.com
Subject: Re: require packet path at device layer
Date: Fri, 07 Jan 2005 08:05:51 -0500	[thread overview]
Message-ID: <41DE892F.5030206@redhat.com> (raw)
In-Reply-To: <72c6e3790501070020755ffacf@mail.gmail.com>

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
  ***************************************************/

      reply	other threads:[~2005-01-07 13:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-07  8:20 require packet path at device layer linux lover
2005-01-07 13:05 ` Neil Horman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41DE892F.5030206@redhat.com \
    --to=nhorman@redhat.com \
    --cc=linux-net@vger.kernel.org \
    --cc=linux.lover2004@gmail.com \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.