LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-08-2010, 03:30 PM   #1
vahu002
LQ Newbie
 
Registered: Jul 2009
Posts: 7

Rep: Reputation: 0
Exclamation LINUX packet receiving process


Hi All,

Using ethtool, we can set the rx-usecs parameter, which is defined as "Maximum number of microseconds to delay an RX interrupt after receiving a packet". My understanding of a NAPI enabled driver is as follows:

A NAPI enabled device driver disables further interrupts from the NIC after the reception of the first packet and goes into poll mode. The poll method checks if all the packets have been processed, and if so it enables interrupts.

If this is correct, can someone please help me understand where the parameter rx-usecs comes into play.

Another confusion that I have is regarding the freeing of rx descriptors. I have read that to avoid packet multiple packet copies the sk_buf for a packet remains the same till it is copied to user space. So does that mean that the rx descriptor is freed only after the protocol processing is completed?

Thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to process nor IP protocol packet in linux advanxiang Linux - Networking 5 08-07-2007 03:25 AM
packet receiving munna_dude Linux - Networking 1 03-18-2007 04:05 PM
Packet Filter to redirect a packet to a user level process akawale Linux - Networking 3 09-01-2006 12:06 PM
raw packet sending & receiving sjcoder Programming 7 01-11-2006 04:07 AM
Wireless and Ethereal, only receiving "other" packet types agoln Linux - Wireless Networking 0 11-07-2005 02:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration