LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 04-12-2010, 05:50 AM   #1
sarvesh
LQ Newbie
 
Registered: Apr 2010
Posts: 4

Rep: Reputation: 0
query ..napi and non-napi compatibilty in tg3 ethernet driver for kernel 2.6.28


hi folks,
I have ubuntu with kernel 2.6.28.2. My question is regarding napi and non-napi compatibility for my tg3 ehternet driver. I tried to drill down myself and so put logs in net_dev_init(), dev_cpu_callback() and netif_rx(). Also, I put logs in my ethernet driver tg3 in tg3_init_one(),tg3_open() and so on.
I am able to see netif_rx() logs( in /var/log/messages) when system boots, but when I do rmmod tg3.ko and then insmod tgs.ko, then I see logs for the ethernet driver tg3 i.e. tg3_init_one and so on..
How does polling and interrupt takes place and what about the role of netpoll_rx() in netif_rx() function??

Thanx in advance
 
Old 04-14-2010, 07:19 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
You should have better understanding after reading NAPI document.
http://www.linuxfoundation.org/colla...etworking/napi
 
  


Reply



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
query ..napi and non-napi compatibilty in tg3 ethernet driver for kernel 2.6.28 sarvesh Linux - Networking 0 04-08-2010 11:32 PM
NAPI netif_rx doctor.sniff Linux - Networking 1 04-21-2009 12:27 AM
How to disable NAPI? TimeSync Linux - Networking 0 10-11-2007 03:53 AM
NAPI in linux with kernel 2.6 for device polling wangjinyi Linux - Networking 0 09-22-2005 02:36 AM
How to know whether NAPI is used or not? kanth Linux - Networking 0 02-11-2004 06:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:21 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