| From | Subject | Date |
|---|---|---|
| Tom Quetchenbach | [PATCH 0/2] David Miller's rbtree patches for 2.6.22.6
Hello,
I've been experimenting with David Miller's red-black tree patch for
SACK processing. We're sending TCP traffic between two machines with
10Gbps cards over a 1Gbps bottleneck link and were getting very high CPU
load with large windows. With a few tweaks, this patch seems to provide
a pretty substantial improvement. David: this seems like excellent work
so far.
Here are a couple of patches against 2.6.22.6. The first one is just
David's patches tweaked for 2.6.22.6, with a couple of minor ...
| Sep 19, 9:39 pm 2007 |
| Tom Quetchenbach | [PATCH 1/2] David Miller's rbtree patches for 2.6.22.6
Patch 1: David Miller's red-black tree code, tweaked for 2.6.22.6,
with some bugfixes
-Tom
---
diff -ur linux-2.6.22.6/include/linux/skbuff.h linux-2.6.22.6-rbtree-davem-fixed/include/linux/skbuff.h
--- linux-2.6.22.6/include/linux/skbuff.h 2007-08-30 23:21:01.000000000 -0700
+++ linux-2.6.22.6-rbtree-davem-fixed/include/linux/skbuff.h 2007-09-13 18:23:16.000000000 -0700
@@ -18,6 +18,7 @@
#include <linux/compiler.h>
#include <linux/time.h>
#include <linux/cache.h>
+#inclu...
| Sep 19, 9:42 pm 2007 |
| Tom Quetchenbach | [PATCH 2/2] David Miller's rbtree patches for 2.6.22.6
Patch 2: fixes to fack_counts and enhancement of SACK fast path
-Tom
---
diff -ur linux-2.6.22.6-rbtree-davem-fixed/include/net/tcp.h linux-2.6.22.6-rbtree-tomq/include/net/tcp.h
--- linux-2.6.22.6-rbtree-davem-fixed/include/net/tcp.h 2007-09-19 17:36:07.000000000 -0700
+++ linux-2.6.22.6-rbtree-tomq/include/net/tcp.h 2007-09-19 12:22:06.000000000 -0700
@@ -1213,6 +1213,11 @@
sk->sk_send_head = tcp_write_queue_next(sk, skb);
if (sk->sk_send_head == (struct sk_buff *)&sk->sk_writ...
| Sep 19, 9:44 pm 2007 |
| Stephen Hemminger | [PATCH 2/6] sky2: ethtool speed report bug
On 100mbit versions, the driver always reports gigabit speed
available. The correct modes are already computed, then overwritten.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
--- a/drivers/net/sky2.c 2007-09-19 09:18:50.000000000 -0700
+++ b/drivers/net/sky2.c 2007-09-19 09:19:35.000000000 -0700
@@ -2841,13 +2841,6 @@ static int sky2_get_settings(struct net_
ecmd->supported = sky2_supported_modes(hw);
ecmd->phy_address = PHY_ADDR_MARV;
if (sky2_is_copper...
| Sep 19, 6:36 pm 2007 |
| Stephen Hemminger | [PATCH 3/6] sky2: reorganize chip revision features
This patch should cause no functional changes in driver behaviour.
There are (too) many revisions of the Yukon 2 chip now. Instead of
adding more conditionals based on chip revision; rerganize into a
set of feature flags so adding new versions is less problematic.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
--- a/drivers/net/sky2.c 2007-09-19 09:19:35.000000000 -0700
+++ b/drivers/net/sky2.c 2007-09-19 09:57:41.000000000 -0700
@@ -217,8 +217,7 @@ static void sky2_...
| Sep 19, 6:36 pm 2007 |
| Rick Jones | Re: [PATCH 3/6] sky2: reorganize chip revision features
Will something like SKY2_HW_NEWER_PHY age well? Won't that leave things
Might the same thing apply with SKY2_HW_NEW_LE?
rick jones
-
| Sep 19, 7:27 pm 2007 |
| Stephen Hemminger | [PATCH 4/6] sky2: fe+ chip support
Add support for newest Marvell chips.
The Yukon FE plus chip is found in some not yet released laptops.
Tested on hardware evaluation boards.
This version of the patch is for 2.6.23. It supersedes
the two previous patches that are sitting in netdev-2.6 (upstream branch).
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
--- a/drivers/net/sky2.c 2007-09-19 10:01:34.000000000 -0700
+++ b/drivers/net/sky2.c 2007-09-19 10:05:15.000000000 -0700
@@ -118,12 +118,15 @@ static ...
| Sep 19, 6:36 pm 2007 |
| Stephen Hemminger | [PATCH 1/6] sky2: fix VLAN receive processing (resend)
The length check for truncated frames was not correctly handling
the case where VLAN acceleration had already read the tag.
Also, the Yukon EX has some features that use high bit of status
as security tag.
Signed-off-by: Pierre-Yves Ritschard <pyr@spootnik.org>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
--- a/drivers/net/sky2.c 2007-09-17 16:51:53.000000000 -0700
+++ b/drivers/net/sky2.c 2007-09-17 17:03:25.000000000 -0700
@@ -2103,6 +2103,13 @@ static struct ...
| Sep 19, 6:36 pm 2007 |
| Jeff Garzik | Re: [PATCH 1/6] sky2: fix VLAN receive processing (resend)
ACK patches 1-6
applied 1-2 and 6
patch #3 failed to apply to netdev-2.6.git#upstream (which is built on
top of net-2.6.24)
-
| Sep 19, 11:47 pm 2007 |
| Stephen Hemminger | [PATCH 0/6] sky2: version 1.18 (rev2)
Patches against 2.6.23 to fix bugs and support newest FE+
chip. These patches conflict with those in netdev-2.6
upstream branch, Jeff how do you want to resolve that?
--
Stephen Hemminger <shemminger@linux-foundation.org>
-
| Sep 19, 6:36 pm 2007 |
| Stephen Hemminger | [PATCH 6/6] sky2: version 1.18
Update version number
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
--- a/drivers/net/sky2.c 2007-09-19 10:05:28.000000000 -0700
+++ b/drivers/net/sky2.c 2007-09-19 10:05:33.000000000 -0700
@@ -51,7 +51,7 @@
#include "sky2.h"
#define DRV_NAME "sky2"
-#define DRV_VERSION "1.17"
+#define DRV_VERSION "1.18"
#define PFX DRV_NAME " "
/*
--
Stephen Hemminger <shemminger@linux-foundation.org>
-
| Sep 19, 6:36 pm 2007 |
| Stephen Hemminger | [PATCH 5/6] sky2: receive FIFO checking
A driver writer from another operating system hinted that
the versions of Yukon 2 chip with rambuffer (EC and XL) have
a hardware bug that if the FIFO ever gets completely full it
will hang. Sounds like a classic ring full vs ring empty wrap around
bug.
As a workaround, use the existing watchdog timer to check for
ring full lockup.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
--- a/drivers/net/sky2.c 2007-09-19 10:05:15.000000000 -0700
+++ b/drivers/net/sky2.c 2007...
| Sep 19, 6:36 pm 2007 |
| Nagendra Tomar | [PATCH 2.6.23-rc6 Resending] NETWORKING : Edge Triggered EPO...
The tcp_check_space() function calls tcp_new_space() only if the
SOCK_NOSPACE bit is set in the socket flags. This is causing Edge Triggered
EPOLLOUT events to be missed for TCP sockets, as the ep_poll_callback()
is not called from the wakeup routine.
The SOCK_NOSPACE bit indicates the user's intent to perform writes
on that socket (set in tcp_sendmsg and tcp_poll). I believe the idea
behind the SOCK_NOSPACE check is to optimize away the tcp_new_space call
in cases when user is not intere...
| Sep 19, 6:37 pm 2007 |
| David Miller | Re: [PATCH 2.6.23-rc6 Resending] NETWORKING : Edge Triggered...
From: Nagendra Tomar <tomer_iisc@yahoo.com>
I already replied to your patch posting explaining that whatever is
not setting SOCK_NOSPACE should be fixed instead.
Please address that, thanks.
-
| Sep 19, 6:44 pm 2007 |
| Davide Libenzi | Re: [PATCH 2.6.23-rc6 Resending] NETWORKING : Edge Triggered...
You're not planning of putting the notion of a SOCK_NOSPACE bit inside a
completely device-unaware interface like epoll, I hope?
- Davide
-
| Sep 19, 7:11 pm 2007 |
| Nagendra Tomar | Re: [PATCH 2.6.23-rc6 Resending] NETWORKING : Edge Triggered...
Definitely not !
The point is that the "tcp write space available"
wakeup does not get called if SOCK_NOSPACE bit is not set. This was
fine when the wakeup was merely a wakeup (since SOCK_NOSPACE bit
indicated that someone really cared abt the wakeup). Now after the
introduction of callback'ed wakeups, we might have some work to
do inside the callback even if there is nobody interested in the wakeup
at that point of time.
In this particular case the ep_poll_callback is not getting called...
| Sep 19, 7:50 pm 2007 |
| Nagendra Tomar | Re: [PATCH 2.6.23-rc6 Resending] NETWORKING : Edge Triggered...
Dave,
I agree that setting SOCK_NOSPACE would have been a more elegant
fix. Infact I thought a lot about that before deciding on this fix.
But the point here is that the SOCK_NOSPACE bit can be set when
the sndbuf space is really less (less than sk_stream_min_wspace())
and some user action (sendmsg or poll) indicated his intent to write.
In the case mentioned none of these is true. Since user wants
to manage his tranmit buffers himself, his definition of less may
not match with wh...
| Sep 19, 6:55 pm 2007 |
| David Miller | Re: [PATCH 2.6.23-rc6 Resending] NETWORKING : Edge Triggered...
From: Nagendra Tomar <tomer_iisc@yahoo.com>
I guess this means you also noticed that you are removing
the one and only test of this bit too?
You can't remove this, it's critical for performance.
-
| Sep 19, 7:10 pm 2007 |
| Nagendra Tomar | Re: [PATCH 2.6.23-rc6 Resending] NETWORKING : Edge Triggered...
I'm sure you would have seen value in the check that's why the
check is there.
Now we have two critical points to discuss
1. How can we achieve the ET EPOLLOUT event with the SOCK_NOSPACE
check in place ?
2. How much effect will removing the check have (if we cannot
find a way to get the ET EPOLLOUT notification w/ the check
in place) ?
Regding (2), IMHO for a "fast sender" the SOCK_NOSPACE check will
almost always pass as the sender will come back to write (or poll)
before ...
| Sep 19, 7:32 pm 2007 |
| Joe Perches | net-2.6.24 - build failure
allyesconfig
CC drivers/net/wireless/p54pci.o
LD drivers/net/wireless/built-in.o
drivers/net/wireless/b43legacy/built-in.o: In function `tsf_read_file':
drivers/net/wireless/b43legacy/debugfs.c:80: multiple definition of `tsf_read_file'
drivers/net/wireless/b43/built-in.o:net-2.6.24/drivers/net/wireless/b43/debugfs.c:80: first defined here
drivers/net/wireless/b43legacy/built-in.o: In function `ucode_regs_read_file':
net-2.6.24/drivers/net/wireless/b43legacy/debugfs.c:106: multiple de...
| Sep 19, 5:53 pm 2007 |
| David Miller | Re: net-2.6.24 - build failure
From: Joe Perches <joe@perches.com>
Can one of the wireless folks fix b43legacy to not use the same
global variable and function names as the b43 driver?
Thanks.
-
| Sep 19, 6:17 pm 2007 |
| Larry Finger | Re: net-2.6.24 - build failure
David,
The patch below was sent to John Linville yesterday. Obviously, it didn't get included before he
pushed to you. With this patch, all the debugfs names become static, and avoid the namespace clash
with b43. In addition, Michael Buesch has a similar patch pending for b43.
Larry
========================================
There are additional sparse warnings in b43legacy. None of them result
in program errors, but are fixed for completeness.
Signed-off-by: Larry Finger <Larry.Finger@lw...
| Sep 19, 8:11 pm 2007 |
| David Miller | Re: net-2.6.24 - build failure
From: Larry Finger <larry.finger@lwfinger.net>
I've applied this patch and if someone sends me the b43 patch
I'll apply that one too.
Thanks Larry!
-
| Sep 19, 8:18 pm 2007 |
| John W. Linville | Please pull 'ssb-drivers' branch of wireless-2.6
Jeff, Greg, Gary, and Dave,
These patches build upon the SSB bus support added to net-2.6.24 to
support the b43 wireless driver. Since Dave has that support in his
tree, I'm asking him to merge these patches as well.
The first patch changes b44 from being a PCI (i.e. SSB-in-drag)
device to being a native SSB device. This has little effect one
way or the other for laptop/desktop/server machines. But, some
embedded devices have b44 hardware but no PCI bus (i.e. just SSB).
This patch enables the...
| Sep 19, 4:44 pm 2007 |
| Greg KH | Re: Please pull 'ssb-drivers' branch of wireless-2.6
This one needs to go through the linux-usb-devel list (not the -users
list) and get acked by David Brownell, the current OHCI maintainer.
thanks,
greg k-h
-
| Sep 19, 5:33 pm 2007 |
| David Miller | Re: Please pull 'ssb-drivers' branch of wireless-2.6
From: "John W. Linville" <linville@tuxdriver.com>
I've merged the B44 driver conversion into my tree.
I'll let Greg take in the OHCI thing. I would suggest that he
queue it up, and then once I get the net-2.6.24 tree into the
merge window (which contains the SSB stack) he can push the
OHCI change in afterwards.
-
| Sep 19, 5:25 pm 2007 |
| John W. Linville | Re: Please pull 'ssb-drivers' branch of wireless-2.6
ACK
--
John W. Linville
linville@tuxdriver.com
-
| Sep 19, 5:27 pm 2007 |
| John W. Linville | Please pull 'p54' branch of wireless-2.6
Jeff & Dave,
This patch adds the p54 driver for prism54 hardware using the "soft
MAC" firmware. It includes modules for both PCI and USB drivers.
This driver has been in Fedora (both F7 and rawhide) for some time
and has generally performed well. No doubt there are some problems
with the code, but still I think it would be better to mainline the
driver than to keep it out of stream.
Thanks,
John
---
The patch is available here:
[ message continues ] " title="http://www.kernel.org/pub/linux/kernel/people/li...">http://www.kernel.org/pub/linux/kernel/people/li... | Sep 19, 3:55 pm 2007 |
| Christoph Hellwig | Re: Please pull 'p54' branch of wireless-2.6
PLease put it into a separate subdirectory, thanks.
Also net2280.h seems rather oddly named.
-
| Sep 19, 5:04 pm 2007 |
| David Miller | Re: Please pull 'p54' branch of wireless-2.6
From: Christoph Hellwig <hch@infradead.org>
The next time I rebase I'll try to take care of this for both
this driver and the iwlwifi stuff.
-
| Sep 19, 5:12 pm 2007 |
| John W. Linville | Re: Please pull 'p54' branch of wireless-2.6
Fine by me, although I swear I remember complaints about adding separate
directories for drivers...*shrug*...
John
--
John W. Linville
linville@tuxdriver.com
-
| Sep 19, 5:26 pm 2007 |
| Jeff Garzik | Re: Please pull 'p54' branch of wireless-2.6
There were complaints about the nonsensical wireless/mac80211 directory.
But if there are enough files, a driver should definitely get its own
directory. Like life, it's a balance. If it's just one or two C files,
a directory might be overkill. If it's more, it definitely warrants a
sub-dir.
Jeff
-
| Sep 19, 6:01 pm 2007 |
| David Miller | Re: Please pull 'p54' branch of wireless-2.6
From: Jeff Garzik <jeff@garzik.org>
That's generally how I see things too.
-
| Sep 19, 6:08 pm 2007 |
| David Miller | Re: Please pull 'p54' branch of wireless-2.6
From: "John W. Linville" <linville@tuxdriver.com>
Merged to net-2.6.24, thanks John.
-
| Sep 19, 4:20 pm 2007 |
| Francois Romieu | Pull request for 'r8169-for-jeff-20070919' branch
Please pull from branch 'r8169-for-jeff-20070919' in repository
git://electric-eye.fr.zoreil.com/home/romieu/linux-2.6.git r8169-for-jeff-20070919
to get the fixes below.
Distance from 'linux-2.6.git' (a88a8eff1e6e32d3288986a9d36c6a449c032d3a)
------------------------------------------------------------------------
d78ae2dcc2acebb9a1048278f47f762c069db75c
65d916d95314566f426cc40ff0f17b754a773b0b
Diffstat
--------
drivers/net/r8169.c | 14 +++++++++++++-
1 files changed, 13 insertion...
| Sep 19, 3:56 pm 2007 |
| John W. Linville | Please pull 'z1211' branch of wireless-2.6
Jeff & Dave,
This patch adds z1211 (previously known as zd1211rw-mac80211),
a driver for Zydas ZD1211 hardware. This driver has proven very
robust -- Fedora 7 uses this driver and I don't think I have any open
bugzillas for it. Either the driver works well, or no one as using
it...given the common availability of the hardware, I have to presume
the former. :-)
This driver is mostly a port of zd1211rw to the mac80211
infrastructure. In fact, most zd1211rw patches have been mirrored
direct...
| Sep 19, 2:10 pm 2007 |
| Daniel Drake | Re: Please pull 'z1211' branch of wireless-2.6
BTW: I fairly regularly get email from F7 users complaining about
connection intermittancy and other bugs that we don't seem to have for
the softmac driver (maybe stack related issues, of which I've fixed a
couple that affected me personally, I'm a little surprised that F7
jumped so early).
I've been suggesting that such users move to zd1211rw-softmac until both
Ulrich and myself are happy and we've made the jump upstream.
Daniel
-
| Sep 19, 6:12 pm 2007 |
| Daniel Drake | Re: Please pull 'z1211' branch of wireless-2.6
I apologise for being inactive over the last few weeks, I've been moving
back from the US to the UK and then moving back to university. However I
am now just-about-settled and will be active again soon.
I would like to this until 2.6.25 until I have had time to clear up some
final issues and do more testing myself of zd1211rw-mac80211. I also
think we need to discuss the rename...
(just to clarify to others: this is the first I heard of this merge
before John posted it).
John, thanks a ...
| Sep 19, 6:08 pm 2007 |
| David Miller | Re: Please pull 'z1211' branch of wireless-2.6
From: Daniel Drake <dsd@gentoo.org>
Having "a driver" is always better for users than having "no driver".
Please I ask you not to block this merge even if you think it is too
early.
Distribution vendors are going to merge this driver into their kernel
trees anyways. And as Linus stated at the recent kernel summit, when
this happens and upstream doesn't merge the driver too, the process
has failed.
We have had huge issues with shit piling up in the wireless tree and
it has to stop soone...
| Sep 19, 6:14 pm 2007 |
| Daniel Drake | Re: Please pull 'z1211' branch of wireless-2.6
I don't understand your point. We already have this driver in mainline
Linux.
zd1211rw-mac80211 does not currently add anything to the user experience
over the existing driver, other than automatic rate adaption which is
nice but hasn't proven itself to be of much importance given that the
existing driver has lots of happy users and has never done it.
Also, this merge has been proposed in a form other than what me and
Ulrich were envisioning (at least from earlier discussions). We want to ...
| Sep 19, 6:27 pm 2007 |
| David Miller | Re: Please pull 'z1211' branch of wireless-2.6
From: Daniel Drake <dsd@gentoo.org>
Fair enough, I'll remove the Z1211 driver during my next rebase.
-
| Sep 19, 6:32 pm 2007 |
| David Miller | Re: Please pull 'z1211' branch of wireless-2.6
From: "John W. Linville" <linville@tuxdriver.com>
Agreed, merged into net-2.6.24, thanks John.
-
| Sep 19, 2:59 pm 2007 |
| Michael Buesch | Re: Please pull 'z1211' branch of wireless-2.6
John, please also note that the following patch is not merged, yet.
http://bu3sch.de/patches/wireless-dev/20070915-1740/patches/006-zd-fix-tx-status.patch
Without it ratecontrol does not work. It does neither scale the rate
up nor down. This patch fixes both.
I think it got lost in a (really unrelated to the actual bug) discussion
about whether it's required or not to report status in mac80211 drivers.
(It turned out that it _is_ required).
--
Greetings Michael.
-
| Sep 19, 3:23 pm 2007 |
| David Miller | Re: Please pull 'z1211' branch of wireless-2.6
From: Michael Buesch <mb@bu3sch.de>
I agreed with John to merge this in myself, but this patch
applied to the old driver aparently, not the new z1211 one.
Can you resend this patch against the new driver so I can
add it to net-2.6.24?
Thanks!
-
| Sep 19, 3:56 pm 2007 |
| David Miller | Re: Please pull 'z1211' branch of wireless-2.6
From: David Miller <davem@davemloft.net>
Nevermind, John showed me that if I just edit the paths
in the patch it applied cleanly.
So I did that and pushed it to net-2.6.24, thanks!
-
| Sep 19, 4:12 pm 2007 |
| David Miller | new NAPI quota synchronization issue
Ok, as has been hinted at with some postings from Krishna and others,
we still have some mutual exclusion issues in the new NAPI code.
In short, the napi->quota updates happen outside of the sections where
the code stream "owns" the napi_struct instance, so it can be modified
in parallel on multiple cpus, the n->quota can go negative, and the
quota bug checks trigger.
It just seems that gradually I'm reverting every single cleanup done
by Stephen in his original patch, first the list hand...
| Sep 19, 12:58 pm 2007 |
| David Miller | Re: new NAPI quota synchronization issue
From: David Miller <davem@davemloft.net>
Ok, here is the patch and I've checked it into net-2.6.24 as well.
There really shouldn't be any fundamental synchronization issues
in the new NAPI stuff any longer. I'm pretty sure any problems
remaining can only be caused by drivers bugs but we'll see :-)
I went over the list handling several times and it looks bulletproof.
Only the thread of control that sets the NAPI_STATE_SCHED bit
atomically will do list modifications, until the thread of co...
| Sep 19, 1:35 pm 2007 |
| Stephen Hemminger | Re: new NAPI quota synchronization issue
On Wed, 19 Sep 2007 10:35:08 -0700 (PDT)
There might be a future problem if some driver decided to change weight
often on the fly? Perhaps you need to sample it once in start of napi_schedule.
-
| Sep 19, 6:01 pm 2007 |
| David Miller | Re: new NAPI quota synchronization issue
From: Stephen Hemminger <shemminger@linux-foundation.org>
Fair enough, I checked the following into net-2.6.24
commit 3b4eed9f46e4b0405a0d8921c2319f2b7c6a6b4a
Author: David S. Miller <davem@sunset.davemloft.net>
Date: Wed Sep 19 15:09:55 2007 -0700
[NAPI]: Sample weight into a local var in case it changes.
Noted by Stephen Hemminger.
Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/core/dev.c b/net/core/dev.c
index 0b9f82e..91...
| Sep 19, 6:10 pm 2007 |
| Sean Hefty | Re: [ofa-general] [PATCH] RDMA/CMA: Implement rdma_resolve_i...
> If an application is calling rdma_resolve_ip() and a status of -ENODATA is returned from addr_resolve_local/remote(), the timeout mechanism waits until the application's timeout occurs before rechecking the address resolution status; the application will wait until it's full timeout occurs. This case is seen when the work thread call to process_req() is made before the arp packet is processed.
I don't understand the issue. process_req() is invoked whenever a
This patch looks unrelated to Steve...
| Sep 19, 12:52 pm 2007 |
| previous day | today | next day |
|---|---|---|
| September 18, 2007 | September 19, 2007 | September 20, 2007 |
| Hiten Pandya | Re: up? (emacs docbook xml ide) |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| James Bottomley | Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
