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


  Search this Thread
Old 04-20-2009, 02:42 AM   #1
LQ Newbie
Registered: Aug 2007
Posts: 4

Rep: Reputation: 0
Wink NAPI netif_rx

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.
Old 04-21-2009, 12:27 AM   #2
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?


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 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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:15 AM.

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