login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
1
Re: [PATCH 25/26] atl1: add NAPI support
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Joonwoo Park
Subject:
Re: [PATCH 25/26] atl1: add NAPI support
Date: Monday, December 31, 2007 - 11:09 pm
2008/1/1,
jacliburn@bellsouth.net
<jacliburn@bellsouth.net>:
quoted text
> From: Jay Cliburn <jacliburn@bellsouth.net> > > Add support for NAPI, styled after the e1000 NAPI implementation. That we > follow the e1000 for NAPI shouldn't come as much of a surprise, since the > entire atl1 driver is based heavily upon it. > > Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net> > --- > drivers/net/Kconfig | 14 ++++ > drivers/net/atlx/atl1.c | 151 +++++++++++++++++++++++++++++++++++++++++++++-- > drivers/net/atlx/atl1.h | 20 ++++++ > drivers/net/atlx/atlx.h | 7 ++- > 4 files changed, 186 insertions(+), 6 deletions(-) > > + if ((!tx_cleaned && (work_done == 0)) || > + !netif_running(poll_dev)) { > +quit_polling: > + netif_rx_complete(poll_dev, napi); > + > + if (!test_bit(__ATL1_DOWN, &adapter->flags)) > + atlx_irq_enable(adapter); > + }
Hi Jay, if buget == work_done is true, you should not call netif_rx_complete. Searching recent netdev mailbox would be help. Thanks. Joonwoo --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 00/26] atl1: divide and modernize
, jacliburn
, (Mon Dec 31, 6:59 pm)
[PATCH 01/26] atl1: relocate atl1 driver to /drivers/net/atlx
, jacliburn
, (Mon Dec 31, 6:59 pm)
[PATCH 02/26] atl1: move common functions to atlx files
, jacliburn
, (Mon Dec 31, 6:59 pm)
[PATCH 03/26] atl1: fix broken TSO
, jacliburn
, (Mon Dec 31, 6:59 pm)
[PATCH 04/26] atl1: add ethtool register dump
, jacliburn
, (Mon Dec 31, 6:59 pm)
[PATCH 05/26] atl1: print debug info if rrd error
, jacliburn
, (Mon Dec 31, 6:59 pm)
[PATCH 06/26] atl1: update initialization parameters
, jacliburn
, (Mon Dec 31, 6:59 pm)
[PATCH 07/26] atl1: clarify max rx frame size
, jacliburn
, (Mon Dec 31, 6:59 pm)
[PATCH 09/26] atl1: refactor tx processing
, jacliburn
, (Mon Dec 31, 6:59 pm)
[PATCH 11/26] atl1: refactor initialization and startup
, jacliburn
, (Mon Dec 31, 6:59 pm)
[PATCH 12/26] atl1: refactor atl1_probe
, jacliburn
, (Mon Dec 31, 6:59 pm)
[PATCH 13/26] atl1: refactor interrupt handling
, jacliburn
, (Mon Dec 31, 6:59 pm)
[PATCH 14/26] atl1: move stray defines to header file
, jacliburn
, (Mon Dec 31, 6:59 pm)
[PATCH 15/26] atl1: tidy up ring management
, jacliburn
, (Mon Dec 31, 6:59 pm)
[PATCH 16/26] atl1: modernize check link function
, jacliburn
, (Mon Dec 31, 6:59 pm)
[PATCH 17/26] atl1: update phy config function
, jacliburn
, (Mon Dec 31, 6:59 pm)
[PATCH 18/26] atl1: make function static
, jacliburn
, (Mon Dec 31, 6:59 pm)
[PATCH 19/26] atl1: modernize down/up functions
, jacliburn
, (Mon Dec 31, 6:59 pm)
[PATCH 20/26] atl1: update change mtu
, jacliburn
, (Mon Dec 31, 6:59 pm)
[PATCH 21/26] atl1: update atl1_close
, jacliburn
, (Mon Dec 31, 6:59 pm)
[PATCH 22/26] atl1: update netpoll
, jacliburn
, (Mon Dec 31, 7:00 pm)
[PATCH 23/26] atl1: update shutdown and remove functions
, jacliburn
, (Mon Dec 31, 7:00 pm)
[PATCH 24/26] atl1: update wake-on-lan
, jacliburn
, (Mon Dec 31, 7:00 pm)
[PATCH 25/26] atl1: add NAPI support
, jacliburn
, (Mon Dec 31, 7:00 pm)
Re: [PATCH 25/26] atl1: add NAPI support
, Joonwoo Park
, (Mon Dec 31, 11:09 pm)
Re: [PATCH 25/26] [REVISED] atl1: add NAPI support
, Jay Cliburn
, (Tue Jan 1, 11:15 am)
RE: [PATCH 25/26] [REVISED] atl1: add NAPI support
, Joonwoo Park
, (Tue Jan 1, 7:56 pm)
Re: [PATCH 25/26] [REVISED] atl1: add NAPI support
, David Miller
, (Tue Jan 1, 8:07 pm)
Re: [PATCH 04/26] atl1: add ethtool register dump
, Jeff Garzik
, (Tue Jan 22, 2:54 am)
Re: [PATCH 05/26] atl1: print debug info if rrd error
, Jeff Garzik
, (Tue Jan 22, 2:55 am)
Re: [PATCH 06/26] atl1: update initialization parameters
, Jeff Garzik
, (Tue Jan 22, 2:56 am)
Re: [PATCH 09/26] atl1: refactor tx processing
, Jeff Garzik
, (Tue Jan 22, 2:58 am)
Re: [PATCH 13/26] atl1: refactor interrupt handling
, Jeff Garzik
, (Tue Jan 22, 2:59 am)
Re: [PATCH 19/26] atl1: modernize down/up functions
, Jeff Garzik
, (Tue Jan 22, 3:01 am)
Re: [PATCH 09/26] atl1: refactor tx processing
, Jay Cliburn
, (Tue Jan 22, 5:31 pm)
Re: [PATCH 06/26] atl1: update initialization parameters
, Jay Cliburn
, (Tue Jan 22, 7:13 pm)
Re: [PATCH 06/26] atl1: update initialization parameters
, Jeff Garzik
, (Tue Jan 22, 7:19 pm)
Re: [PATCH 06/26] atl1: update initialization parameters
, Chris Snook
, (Tue Jan 22, 7:30 pm)
Re: [PATCH 09/26] atl1: refactor tx processing
, Jay Cliburn
, (Thu Jan 24, 6:00 pm)
Re: [PATCH 09/26] atl1: refactor tx processing
, Chris Snook
, (Thu Jan 24, 6:08 pm)
Re: [PATCH 09/26] atl1: refactor tx processing
, Jeff Garzik
, (Thu Jan 24, 8:01 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Fortier,Vincent [Montreal]
2.6.21.5 june 30th to july 1st date hang?
Jeff Dike
[ PATCH 2/6 ] UML - Formatting fixes around os_{read_write}_file callers
Liam Girdwood
[PATCH 07/13] regulator: regulator test harness
Oleg Nesterov
Re: Getting the new RxRPC patches upstream
Stefan Seyfried
Re: 2.6.19-rc5: grub is much slower resuming from suspend-to-disk than in 2.6.18
linux-netdev
:
Arnaud Ebalard
Re: [REGRESSION,BISECTED] MIPv6 support broken by f4f914b58019f0
Jan Engelhardt
Re: [PATCH iptables] extension: add xt_cpu match
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Sebastian Andrzej Siewior
[PATCH 8/8] net/emergency: remove locking from reycling pool if emergncy pools are...
David Miller
Re: [PATCH] qlcnic: dont assume NET_IP_ALIGN is 2
git
:
Jakub Narebski
Re: git on MacOSX and files with decomposed utf-8 file names
Brandon Casey
Re: Thunderbird and patches (was Re: [PATCH v2] Enable setting attach as the def...
Christian Couder
[PATCH 1/3] rev-parse: add test script for "--verify"
Ramkumar Ramachandra
Re: [GSoC update] git-remote-svn: The final one
Junio C Hamano
Re: git-rm isn't the inverse action of git-add
openbsd-misc
:
Joachim Schipper
Re: UVC Webcams
Florin Andrei
SOLVED [was: firewall is very slow, something's wrong]
Todd Alan Smith
Re: Microsoft gets the Most Secure Operating Systems award
Neal Hogan
Re: Need Advice: Thinkpad T60 or T61?
Sam Fourman Jr.
Re: Real men don't attack straw men
git-commits-head
:
Linux Kernel Mailing List
ACPI: Disable ARB_DISABLE on platforms where it is not needed
Linux Kernel Mailing List
m68knommu: add read_barrier_depends() and irqs_disabled_flags()
Linux Kernel Mailing List
[MTD] Add mtd panic_write function pointer
Linux Kernel Mailing List
[ARM] pxa: remove duplicate select statements from Kconfig
Linux Kernel Mailing List
mlx4_core: Don't read reserved fields in mlx4_QUERY_ADAPTER()
Colocation donated by:
Syndicate