LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-20-2009, 02:42 AM   #1
doctor.sniff
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Rep: Reputation: 0
Wink NAPI netif_rx


Hi;
I searched about linux networking kernel, and studied an ebook about this topic.
Now, i want to add multiple cpu support to NAPI (netif_rx()).

in other hand, i wana use linux as router, and want to route any network packet to multi (4) cpu, same as this:

packet0 ----> netif_rx ----> cpu0
packet1 ----> netif_rx ----> cpu1
packet2 ----> netif_rx ----> cpu2
packet3 ----> netif_rx ----> cpu3
---------------------------------
packet4 ----> netif_rx ----> cpu0
packet5 ----> netif_rx ----> cpu1
...

Please help me to edit any file.
thanks.
 
Old 04-21-2009, 12:27 AM   #2
doctor.sniff
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Original Poster
Rep: Reputation: 0
I found netif_rx() and X_intrrupt() functions in net/core/dev.c file,
and now my question is,

How write these functions to be multi cpu support in 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
How to disable NAPI? TimeSync Linux - Networking 0 10-11-2007 03:53 AM
NAPI supported devices?? ttarbe Linux - Networking 0 09-13-2005 12:07 PM
stack droping packets (netif_rx) porous Programming 2 04-21-2005 09:16 AM
How to know whether NAPI is used or not? kanth Linux - Networking 0 02-11-2004 06:15 AM
linux 2.4.20-8smp NAPI kanth Linux - Networking 1 02-04-2004 10:06 AM

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

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