[PATCH 1/3] netpoll: use sk_buff_head for txq

2006-10-20 Thread Stephen Hemminger
This is similar in spirit to earlier patches with less changes. Get rid of DIY queue for skb's used in netpoll. Add missing code to cleanup queue on shutdown. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- netpoll.orig/net/core/netpoll.c +++ netpoll/net/core/netpoll.c @@ -37,10 +37,7

[PATCH 3/3] netpoll: retry logic cleanup

2006-10-20 Thread Stephen Hemminger
-by: Stephen Hemminger [EMAIL PROTECTED] --- netpoll.orig/include/linux/netpoll.h +++ netpoll/include/linux/netpoll.h @@ -27,7 +27,6 @@ struct netpoll { struct netpoll_info { spinlock_t poll_lock; int poll_owner; - int tries; int rx_flags; spinlock_t rx_lock

[PATCH] sky2: 88E803X transmit lockup

2006-10-20 Thread Stephen Hemminger
/100 only) are affected. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- sky2.orig/drivers/net/sky2.c2006-10-20 16:37:56.0 -0700 +++ sky2/drivers/net/sky2.c 2006-10-20 16:38:16.0 -0700 @@ -699,16 +699,10 @@ } -/* Assign Ram Buffer allocation. - * start

Re: [RFC] Ethernet Cheap Cryptography

2006-10-20 Thread Stephen Hemminger
Ethernet encrypted bridging is old stuff: http://kerneltrap.org/node/167 http://www.arnor.net/encryptingbridge/ It never got accepted, mostly for the same reasons this proposal is a dead end. - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL

[PATCH] skge, sky2, et all. gplv2 only

2006-10-22 Thread Stephen Hemminger
I don't want my code to downgraded to GPLv3 because of cut-n-pasted the comments. These files which I hold copyright on were started before it was clear what GPLv3 was going to be. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- linux-2.6.orig/drivers/net/irda/stir4200.c 2006-10-22 20:12

[PATCH 1/3] ethtool: marvell register dump

2006-10-23 Thread Stephen Hemminger
This is a consolidation of earlier marvell register decode patches to ethtool. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- marvell.c | 106 - 1 files changed, 77 insertions(+), 29 deletions(-) diff --git a/marvell.c b

[PATCH 2/3] ethtool: flie option to register dump

2006-10-23 Thread Stephen Hemminger
Add ability to take old raw dumps from a file and decode them. It is kind of limited because you still need to have same device as the raw file, but useful for maintainers to decode raw dumps. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- ethtool.8 | 13 - ethtool.c

[PATCH 3/3] ethtool: allow force hex in register dump

2006-10-23 Thread Stephen Hemminger
Sometimes the device decode logic just gets in the way so add a force hex option to register dump. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- ethtool.8 |1 + ethtool.c | 11 +++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ethtool.8 b/ethtool.8 index

[PATCH 5/5] netpoll: interface cleanup

2006-10-23 Thread Stephen Hemminger
Trivial cleanup of netpoll interface. Use constants for size, to make usage clear. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- netpoll.orig/include/linux/netpoll.h +++ netpoll/include/linux/netpoll.h @@ -12,15 +12,14 @@ #include linux/rcupdate.h #include linux/list.h -struct

[PATCH 2/5] netpoll: cleanup queued transmit

2006-10-23 Thread Stephen Hemminger
This patch changes the queued transmit path of netpoll, to use similar logic to the non-queued path. We don't want netpoll messages going into NIT and network qdisc logic. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- netpoll.orig/net/core/netpoll.c +++ netpoll/net/core/netpoll.c

[PATCH 3/5] netpoll: cleanup transmit retry logic

2006-10-23 Thread Stephen Hemminger
Change netpoll transmit logic so: * retries are per attempt not global. don't want to start drop packets just because of temporary blockage. * acquire xmit_lock correctly * if device is not available just drop * always queue if send fails, don't drop Signed-off-by: Stephen Hemminger [EMAIL

[PATCH 4/5] netpoll: move drop hook inline

2006-10-23 Thread Stephen Hemminger
Rather than have separate drop callback hook, just put the logic inline in netpoll. The code is cleaner and netconsole is the only user of netpoll. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- netpoll.orig/drivers/net/netconsole.c +++ netpoll/drivers/net/netconsole.c @@ -60,7 +60,6

[PATCH 1/5] netpoll: use sk_buff_head for txq

2006-10-23 Thread Stephen Hemminger
This is the 3rd version of the netpoll patches. The first patch switches from open-coded skb list to using a skb_buff_head. It also flushes packets from queue when device is removed from netpoll. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- netpoll.orig/net/core/netpoll.c +++ netpoll

Re: [PATCH 1/1] Fabric7 VIOC: Ethtool

2006-10-24 Thread Stephen Hemminger
On Tue, 24 Oct 2006 14:30:41 -0700 Sriram Chidambaram [EMAIL PROTECTED] wrote: Ethtool patch for Fabric7 VIOC Device Driver. Signed-off-by: Fabric7 Driver-Support [EMAIL PROTECTED] --- Makefile.am|2 +- ethtool-util.h |2 ++ ethtool.c |1 + vioc.c | 35

Re: [PATCH] bridge: correct print message typo

2006-10-24 Thread Stephen Hemminger
Randy Dunlap wrote: From: Randy Dunlap [EMAIL PROTECTED] Correct message typo/spello. Signed-off-by: Randy Dunlap [EMAIL PROTECTED] --- net/bridge/br_sysfs_br.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) --- linux-2619-rc3-pv.orig/net/bridge/br_sysfs_br.c +++

Re: Network virtualization/isolation

2006-10-25 Thread Stephen Hemminger
solution should allow both and it should build on the existing netfilter infrastructure. -- Stephen Hemminger [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo

TCP congestion graphs

2006-10-25 Thread Stephen Hemminger
. -- Stephen Hemminger [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

[RFC] tcp: setsockopt congestion control autoload

2006-10-25 Thread Stephen Hemminger
reservation is are there any bad security implications from this? Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- orig/net/ipv4/tcp_cong.c2006-10-25 13:55:34.0 -0700 +++ new/net/ipv4/tcp_cong.c 2006-10-25 13:58:39.0 -0700 @@ -153,9 +153,19 @@ rcu_read_lock

[PATCH] tcp: cubic scaling error

2006-10-25 Thread Stephen Hemminger
-fix.png Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- a/net/ipv4/tcp_cubic.c 2006-09-25 16:25:43.0 -0700 +++ b/net/ipv4/tcp_cubic.c 2006-10-25 09:17:28.0 -0700 @@ -190,7 +190,7 @@ */ /* change the unit from HZ to bictcp_HZ */ -t

Re: TCP congestion graphs

2006-10-25 Thread Stephen Hemminger
On Wed, 25 Oct 2006 18:34:17 -0400 Injong Rhee [EMAIL PROTECTED] wrote: Not sure why the slow start for cubic is slower than the others. We will check on this. I think it is because cubic initializes with a ssthresh of 100, and others leave ssthresh uninitialized until the first loss. This

Re: [RFC] tcp: setsockopt congestion control autoload

2006-10-26 Thread Stephen Hemminger
Evgeniy Polyakov wrote: On Wed, Oct 25, 2006 at 11:08:43AM -0700, Stephen Hemminger ([EMAIL PROTECTED]) wrote: If user asks for a congestion control type with setsockopt() then it may be available as a module not included in the kernel already. It should be autoloaded if needed

Re: [RFC] tcp: setsockopt congestion control autoload

2006-10-26 Thread Stephen Hemminger
On Thu, 26 Oct 2006 18:57:13 +0400 Evgeniy Polyakov [EMAIL PROTECTED] wrote: On Thu, Oct 26, 2006 at 07:34:57AM -0700, Stephen Hemminger ([EMAIL PROTECTED]) wrote: Evgeniy Polyakov wrote: On Wed, Oct 25, 2006 at 11:08:43AM -0700, Stephen Hemminger ([EMAIL PROTECTED]) wrote

Re: Network virtualization/isolation

2006-10-26 Thread Stephen Hemminger
On Thu, 26 Oct 2006 11:44:55 +0200 Daniel Lezcano [EMAIL PROTECTED] wrote: Stephen Hemminger wrote: On Wed, 25 Oct 2006 17:51:28 +0200 Daniel Lezcano [EMAIL PROTECTED] wrote: Hi Stephen, currently the work to make the container enablement into the kernel is doing good progress

Re: TCP congestion graphs

2006-10-26 Thread Stephen Hemminger
On Thu, 26 Oct 2006 20:50:19 +0200 Hagen Paul Pfeifer [EMAIL PROTECTED] wrote: Hi Stephen, is your rt-patch to netem public available? Best regards HGN The tools are in the tcp directory http://developer.osdl.org/shemminger/tcp/netem-2.6.18-rt.patch -- Stephen Hemminger [EMAIL

Re: [IPROUTE] manpage for lnstat

2006-10-26 Thread Stephen Hemminger
On Thu, 26 Oct 2006 22:41:26 +0200 Michael Prokop [EMAIL PROTECTED] wrote: -mika- [lnstat.1 text/plain (2087 bytes)] Added, but I took the liberty of moving it to section 8 (lnstat.8) because that is where the other iproute2 commands are. -- Stephen Hemminger [EMAIL PROTECTED

[PATCH 3/8] netpoll per device txq

2006-10-26 Thread Stephen Hemminger
When the netpoll beast got really busy, it tended to clog things, so it stored them for later. But the beast was putting all it's skb's in one basket. This was bad because maybe some pipes were clogged and others were not. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- include/linux

[PATCH 6/8] netpoll retry cleanup

2006-10-26 Thread Stephen Hemminger
The netpoll beast was still not happy. If the beast got clogged pipes, it tended to stare blankly off in space for a long time. The problem couldn't be completely fixed because the beast talked with irq's disabled. But it could be made less painful and shorter. Signed-off-by: Stephen Hemminger

[PATCH 8/8] netpoll header cleanup

2006-10-26 Thread Stephen Hemminger
As Steve left netpoll beast, hopefully not to return soon. He noticed that the header was messy. He straightened it up and polished it a little, then waved goodbye. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- include/linux/netpoll.h |7 +++ 1 file changed, 3 insertions(+), 4

[PATCH 4/8] netpoll setup error handling

2006-10-26 Thread Stephen Hemminger
The beast was not always healthy. When it was sick, it tended to be laconic and not tell anyone the real problem. A few small changes had it telling the world about its problems, if they really wanted to hear. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- drivers/net/netconsole.c |7

[PATCH 7/8] netpoll queue cleanup

2006-10-26 Thread Stephen Hemminger
everything tidy. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- drivers/net/netconsole.c |1 - include/linux/netpoll.h |4 ++-- net/core/netpoll.c | 23 +++ 3 files changed, 5 insertions(+), 23 deletions(-) --- linux-2.6.orig/drivers/net/netconsole.c

[PATCH 5/8] netpoll deferred transmit path

2006-10-26 Thread Stephen Hemminger
at least change to using the same tone all the time. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- net/core/netpoll.c | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) --- linux-2.6.orig/net/core/netpoll.c +++ linux-2.6/net/core/netpoll.c @@ -55,9 +55,25 @@ static

[PATCH 2/8] netpoll info leak

2006-10-26 Thread Stephen Hemminger
clean and wouldn't attract fleas. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- include/linux/netpoll.h |1 + net/core/netpoll.c | 25 +++-- 2 files changed, 20 insertions(+), 6 deletions(-) --- linux-2.6.orig/include/linux/netpoll.h +++ linux-2.6/include

[PATCH 0/8] netpoll: A Halloween horror mystery

2006-10-26 Thread Stephen Hemminger
It was dull and cloudy day in Portland when Steve first went hunting for suspend bugs in the sky2 driver. The hunt was motivated by a certain mini owned by penguin, but he could never get the license number. Anyway, he stumbled down some blind alleys and met the: NETPOLL BEAST It wasn't

Re: [PATCH] Check if user has CAP_NET_ADMIN to change congestion control algorithm

2006-10-26 Thread Stephen Hemminger
On Fri, 27 Oct 2006 01:52:56 +0200 Hagen Paul Pfeifer [EMAIL PROTECTED] wrote: Check if user has CAP_NET_ADMIN capability to change congestion control algorithm. Under normal circumstances a application programmer doesn't have enough information to choose the right algorithm (expect he is

Re: [PATCH 1/8] netpoll: skb private pool management

2006-10-26 Thread Stephen Hemminger
himself unnecessarily. The first try was painful, so he tried again till the bleeding stopped. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- net/core/netpoll.c | 53 + 1 file changed, 21 insertions(+), 32 deletions(-) --- netpoll.orig

Re: [PATCH] Check if user has CAP_NET_ADMIN to change congestion control algorithm

2006-10-27 Thread Stephen Hemminger
On Fri, 27 Oct 2006 12:43:11 +0200 Hagen Paul Pfeifer [EMAIL PROTECTED] wrote: * David Miller | 2006-10-26 17:02:21 [-0700]: Your email client turned the tabs into spaces in the patch making it useless. Sorry my mistake! I am en route and I paste the patch into my editor, who eat all

Re: [PATCH] Check if user has CAP_NET_ADMIN to change congestion control algorithm

2006-10-27 Thread Stephen Hemminger
Hagen Paul Pfeifer wrote: * Stephen Hemminger | 2006-10-27 07:41:02 [-0700]: Please no, it makes the socket option useless. Technical no, in the sense of usability for everybody yes. You are right Stephen, as a programmer I understand you complete! But on the other side: We know

[PATCH] sky2: not experimental

2006-10-27 Thread Stephen Hemminger
The sky2 driver is no longer in experimental state. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- sky2.orig/drivers/net/Kconfig 2006-10-27 10:16:44.0 -0700 +++ sky2/drivers/net/Kconfig2006-10-27 10:20:20.0 -0700 @@ -2112,7 +2112,7 @@ config SKY2

[PATCH] tcp: don't allow unfair congestion control to be built without warning

2006-10-27 Thread Stephen Hemminger
My proposed method restricting TCP choices to fair algorithms. This a net wide, not system wide issue, it should not be done by kernel policy choice (capability), but by a build choice. --- sky2.orig/net/ipv4/Kconfig 2006-10-27 10:10:47.0 -0700 +++ sky2/net/ipv4/Kconfig 2006-10-27

Re: [IPROUTE] manpage for rtmon

2006-10-27 Thread Stephen Hemminger
On Fri, 27 Oct 2006 19:22:11 +0200 Michael Prokop [EMAIL PROTECTED] wrote: User-Agent: mutt-ng devel-r316 (Debian) Hello, added. -- Stephen Hemminger [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More

[PATCH] tcp: setsockopt congestion control autoload

2006-10-27 Thread Stephen Hemminger
is change with sysctl, but not when application requests via sysctl. Add a similar additional check to the sysctl path as well. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- net/ipv4/tcp_cong.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) --- a/net/ipv4/tcp_cong.c

Re: [openib-general] [PATCH 1/5] NetEffect 10Gb RNIC Userspace Library: userspace config generation

2006-10-27 Thread Stephen Hemminger
it up it doesn't hurt anyone else, so I'm happy to let you write it however you want. - R. I prefer a pointer to the project download source. Seeing the userspace stuff helps answer questions where the administration process is confusing (or could/should be done differently). -- Stephen

Re: [PATCH] tcp: don't allow unfair congestion control to be built without warning

2006-10-27 Thread Stephen Hemminger
On Fri, 27 Oct 2006 14:17:49 -0700 (PDT) David Miller [EMAIL PROTECTED] wrote: From: Stephen Hemminger [EMAIL PROTECTED] Date: Fri, 27 Oct 2006 10:30:16 -0700 My proposed method restricting TCP choices to fair algorithms. This a net wide, not system wide issue, it should not be done

Re: [PATCH] tcp: don't allow unfair congestion control to be built without warning

2006-10-27 Thread Stephen Hemminger
On Fri, 27 Oct 2006 14:37:01 -0700 (PDT) David Miller [EMAIL PROTECTED] wrote: From: Stephen Hemminger [EMAIL PROTECTED] Date: Fri, 27 Oct 2006 14:24:02 -0700 Only some (very few) have any bad consequences. So the typical distribution should be able to switch with most available

Re: [PATCH] tcp: don't allow unfair congestion control to be built without warning

2006-10-27 Thread Stephen Hemminger
On Fri, 27 Oct 2006 15:12:38 -0700 (PDT) David Miller [EMAIL PROTECTED] wrote: From: Stephen Hemminger [EMAIL PROTECTED] Date: Fri, 27 Oct 2006 14:59:13 -0700 On Fri, 27 Oct 2006 14:37:01 -0700 (PDT) David Miller [EMAIL PROTECTED] wrote: From: Stephen Hemminger [EMAIL PROTECTED

Re: [PATCH] tcp: don't allow unfair congestion control to be built without warning

2006-10-27 Thread Stephen Hemminger
How about another way of controlling this via sysctl. First, add code to for read only: /proc/sys/net/ipv4/tcp_available_congestion_control (or shorter name) this will show all things compiled in (even if not loaded yet). Similar to

[RFC] tcp: available congetsion control

2006-10-27 Thread Stephen Hemminger
Nice way to see what congestion control modules are loaded. It does impose a soft limit of 32 possibilities. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- include/linux/sysctl.h |1 + include/net/tcp.h |3 +++ net/ipv4/sysctl_net_ipv4.c | 25

Re: Bridge it's MAC address question

2006-10-30 Thread Stephen Hemminger
On Mon, 30 Oct 2006 15:27:14 +0300 Dmitry Mishin [EMAIL PROTECTED] wrote: Hi, Could somebody explain, why bridge uses minimal MAC of the attached devices? It makes this address instable, variable during bridge life-cycle, which is not good for DHCP. For example, I want to attach multiple

TCP congestion graphs (2.6.19-rc4)

2006-10-31 Thread Stephen Hemminger
I reran the tests, this time using my DSL line to home (80ms 1Mbit/sec). http://developer.osdl.org/shemminger/tcp/2.6.19-rc4/dsl The only obvious problem is Vegas looks broken. - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED]

Re: Thousands of interfaces

2006-10-31 Thread Stephen Hemminger
a very large number of IP-IP tunnels? Would upgrading to a 2.6 kernel be of use? 2.4 has a several N^2 searches for interfaces (and is in deep freeze by now). 2.6 had several changes to handle 1000's of interfaces. -- Stephen Hemminger [EMAIL PROTECTED] - To unsubscribe from this list: send

[PATCH 0/5] TCP related patches

2006-10-31 Thread Stephen Hemminger
This is a set of TCP related patches for 2.6.20 (or sooner). The first one is a bug fix, for the case when SYSCTL isn't configured and might be better done sooner. -- Stephen Hemminger [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message

[PATCH 2/5] tcp: add tcp_available_congestion_control sysctl

2006-10-31 Thread Stephen Hemminger
Create /proc/sys/net/ipv4/tcp_available_congestion_control that reflects currently available TCP choices. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- Documentation/networking/ip-sysctl.txt |6 ++ include/linux/sysctl.h |2 ++ include/net/tcp.h

[PATCH 4/5] tcp: allow autoloading of congestion control via setsockopt

2006-10-31 Thread Stephen Hemminger
If user has permision to load modules, then autoload then attempt autoload of TCP congestion module. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- net/ipv4/tcp_cong.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) --- tcp.orig/net/ipv4/tcp_cong.c2006-10

[PATCH 1/5] tcp: set default congestion control when no sysctl

2006-10-31 Thread Stephen Hemminger
The setting of the default congestion control was buried in the sysctl code so it would not be done properly if SYSCTL was not enabled. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- net/ipv4/sysctl_net_ipv4.c |7 --- net/ipv4/tcp_cong.c|8 2 files changed

[PATCH 5/5] ip-sysctl.txt alphabetize

2006-10-31 Thread Stephen Hemminger
Rearrange TCP entries in alpha order. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- tcp.orig/Documentation/networking/ip-sysctl.txt 2006-10-31 14:59:20.0 -0800 +++ tcp/Documentation/networking/ip-sysctl.txt 2006-10-31 15:01:06.0 -0800 @@ -101,6 +101,11 @@ TCP

[PATCH 3/5] tcp: restrict congestion control choices

2006-10-31 Thread Stephen Hemminger
/tcp_available_congestion_control \ /proc/sys/net/ipv4/tcp_allowed_congestion_control Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- Documentation/networking/ip-sysctl.txt |6 +++ include/net/tcp.h |3 + net/ipv4/sysctl_net_ipv4.c | 52

Re: TCP congestion graphs (2.6.19-rc4)

2006-10-31 Thread Stephen Hemminger
On Tue, 31 Oct 2006 15:25:16 -0800 Xiaoliang (David) Wei [EMAIL PROTECTED] wrote: On 10/31/06, Stephen Hemminger [EMAIL PROTECTED] wrote: I reran the tests, this time using my DSL line to home (80ms 1Mbit/sec). http://developer.osdl.org/shemminger/tcp/2.6.19-rc4/dsl The only

Re: TCP congestion graphs (2.6.19-rc4)

2006-10-31 Thread Stephen Hemminger
On Wed, 1 Nov 2006 08:25:00 +0300 Evgeniy Polyakov [EMAIL PROTECTED] wrote: On Tue, Oct 31, 2006 at 05:30:28PM -0800, David Miller ([EMAIL PROTECTED]) wrote: BTW, Stephen, can you give a short HOWTO on how you generate those graphs, given a tcpdump trace? Thanks a lot. That would be

[PATCH 2.4] bridge netfilter deadlock

2006-11-01 Thread Stephen Hemminger
the first hello timer tick do that. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- linux-2.4.33.3.orig/net/bridge/br_stp.c 2006-10-30 12:46:59.0 -0800 +++ linux-2.4.33.3/net/bridge/br_stp.c 2006-10-30 12:53:59.0 -0800 @@ -140,8 +140,8 @@ br-forward_delay = br

Crash in ip_conntrack on shutdown

2006-11-01 Thread Stephen Hemminger
My desktop machine (Fedora Core 6) crashed on during shutdown when running latest 2.6.19-rc4 kernel. Machine is UP Amd64. It looks like a null dereference in ip_conntrack. See screenshot. http://picasaweb.google.com/stephen.hemminger/LinuxCrashes/photo#4992593950061821970 - To unsubscribe

Re: Crash in ip_conntrack on shutdown

2006-11-01 Thread Stephen Hemminger
On Wed, 1 Nov 2006 18:48:56 -0800 Stephen Hemminger [EMAIL PROTECTED] wrote: On Wed, 01 Nov 2006 17:49:31 -0800 (PST) David Miller [EMAIL PROTECTED] wrote: From: Stephen Hemminger [EMAIL PROTECTED] Date: Wed, 01 Nov 2006 16:56:35 -0800 My desktop machine (Fedora Core 6) crashed

Re: TCP congestion graphs (2.6.19-rc4)

2006-11-02 Thread Stephen Hemminger
On Wed, 01 Nov 2006 21:44:18 -0800 (PST) David Miller [EMAIL PROTECTED] wrote: From: Stephen Hemminger [EMAIL PROTECTED] Date: Tue, 31 Oct 2006 21:58:48 -0800 Some basic stuff is on the parent page http://developer.osdl.org/shemminger/tcp Are you using tcptrace to generate those

Re: [patch] d80211: use pfifo_qdisc_ops rather thand80211-specific qdisc

2006-11-02 Thread Stephen Hemminger
explicitly represents that by assigning a wiphy index, but there's no need for it to be a netdev. johannes -- Stephen Hemminger [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: [patch] d80211: use pfifo_qdisc_ops rather than d80211-specific qdisc

2006-11-02 Thread Stephen Hemminger
have Ethernet (and wireless) devices show up as eth%d. For the master device, choose something else (mac%d ?). -- Stephen Hemminger [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Wake On Lan device semantics

2006-11-03 Thread Stephen Hemminger
if it is down. Maybe if the kernel fully supported dormant, maybe, but when device is down it shouldn't impact the system. -- Stephen Hemminger [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: Wake On Lan device semantics

2006-11-03 Thread Stephen Hemminger
On Fri, 03 Nov 2006 15:44:13 -0800 Auke Kok [EMAIL PROTECTED] wrote: Stephen Hemminger wrote: It doesn't seem like a good idea for a network device to wake the system if it is down. before suspend existed this was the only useful case for WoL. Why does it not seem a good idea to wake

Re: Wake On Lan device semantics

2006-11-03 Thread Stephen Hemminger
On Fri, 03 Nov 2006 15:44:13 -0800 Auke Kok [EMAIL PROTECTED] wrote: Stephen Hemminger wrote: It doesn't seem like a good idea for a network device to wake the system if it is down. before suspend existed this was the only useful case for WoL. Why does it not seem a good idea to wake

Re: Wake On Lan device semantics

2006-11-03 Thread Stephen Hemminger
harder. The semantic needs to be WOL is okay if driver is loaded and device is up or down. But the default for WOL should be disabled until enabled by ethtool (or parameter). -- Stephen Hemminger [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body

Re: Wake On Lan device semantics

2006-11-03 Thread Stephen Hemminger
On Fri, 03 Nov 2006 17:36:45 -0800 Auke Kok [EMAIL PROTECTED] wrote: Stephen Hemminger wrote: On Fri, 03 Nov 2006 15:44:13 -0800 Auke Kok [EMAIL PROTECTED] wrote: Stephen Hemminger wrote: It doesn't seem like a good idea for a network device to wake the system if it is down

Re: [sungem] proposal for a new locking strategy

2006-11-05 Thread Stephen Hemminger
On Sun, 5 Nov 2006 14:17:38 +0100 Eric Lemoine [EMAIL PROTECTED] wrote: On 11/5/06, Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Sun, 2006-11-05 at 14:00 +0100, Eric Lemoine wrote: Hi! Some (long) time ago benh wrote a blaming comment in sungem.c about that driver's locking

Re: [sungem] proposal for a new locking strategy

2006-11-05 Thread Stephen Hemminger
On Sun, 5 Nov 2006 18:28:33 +0100 Eric Lemoine [EMAIL PROTECTED] wrote: You could also just use net_tx_lock() now. You mean netif_tx_lock()? Thanks for letting me know about that function. Yes, I may need it. tg3 and bnx2 use it to wake up the transmit queue: if

Re: [sungem] proposal for a new locking strategy

2006-11-05 Thread Stephen Hemminger
On Sun, 5 Nov 2006 18:52:45 +0100 Eric Lemoine [EMAIL PROTECTED] wrote: On 11/5/06, Stephen Hemminger [EMAIL PROTECTED] wrote: On Sun, 5 Nov 2006 18:28:33 +0100 Eric Lemoine [EMAIL PROTECTED] wrote: You could also just use net_tx_lock() now. You mean netif_tx_lock()? Thanks

Re: ZONE_NORMAL memory exhausted by 4000 TCP sockets

2006-11-06 Thread Stephen Hemminger
Eric Dumazet wrote: Zhao Xiaoming a écrit : Dears, I'm running a linux box with kernel version 2.6.16. The hardware has 2 Woodcrest Xeon CPUs (2 cores each) and 4G RAM. The NIC cards is Intel 82571 on PCI-e bus. The box is acting as ethernet bridge between 2 Gigabit Ethernets. By

Re: [PATCH 2.6.19-rc4-git10][PKT_SCHED] sch_htb: INIT_HLIST_NODE after hlist_del()

2006-11-06 Thread Stephen Hemminger
)) + if (!hlist_unhashed(cl-hlist)) { hlist_del(cl-hlist); + INIT_HLIST_NODE(cl-hlist); + } if (cl-prio_activity) htb_deactivate(q, cl); -- Stephen Hemminger [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe

Re: [sungem] proposal for a new locking strategy

2006-11-06 Thread Stephen Hemminger
On Sun, 5 Nov 2006 21:11:34 +0100 Eric Lemoine [EMAIL PROTECTED] wrote: On 11/5/06, Stephen Hemminger [EMAIL PROTECTED] wrote: On Sun, 5 Nov 2006 18:52:45 +0100 Eric Lemoine [EMAIL PROTECTED] wrote: On 11/5/06, Stephen Hemminger [EMAIL PROTECTED] wrote: On Sun, 5 Nov 2006 18:28:33

Re: SKGE backport to 2.4 : success

2006-11-06 Thread Stephen Hemminger
use NAPI, because of issues with not wanting to change netdevice.h. For a good 2.4 version, I would make a version that was closer to 2.6 code (using NAPI). I did the backport because one of the equipment donors gave a VPN box whose base OS is RHEL based on 2.4. -- Stephen Hemminger [EMAIL

Re: [sungem] proposal for a new locking strategy

2006-11-06 Thread Stephen Hemminger
On Mon, 6 Nov 2006 21:55:20 +0100 Eric Lemoine [EMAIL PROTECTED] wrote: On 11/6/06, Stephen Hemminger [EMAIL PROTECTED] wrote: On Sun, 5 Nov 2006 21:11:34 +0100 Eric Lemoine [EMAIL PROTECTED] wrote: On 11/5/06, Stephen Hemminger [EMAIL PROTECTED] wrote: On Sun, 5 Nov 2006 18:52:45

Re: TCP stack sometimes loses ACKs ... or something

2006-11-06 Thread Stephen Hemminger
Neil Brown wrote: I upgraded my notebook from 2.6.16 to 2.6.18 recently and noticed that I couldn't talk to my VOIP device (which has a WEB interface). Watching traffic I see the three-way-handshake working perfectly, and then the first data packet is sent (a partial HTTP request: GET /

Re: [PATCH 4/4] skge: version 1.9

2006-11-07 Thread Stephen Hemminger
link checking are you using. It could be that bonding MII checking is confused. -- Stephen Hemminger [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 2.6.19-rc4-git10][PKT_SCHED] sch_htb: INIT_HLIST_NODE after hlist_del()

2006-11-07 Thread Stephen Hemminger
On Tue, 7 Nov 2006 07:49:43 +0100 Jarek Poplawski [EMAIL PROTECTED] wrote: On Mon, Nov 06, 2006 at 09:44:49AM -0800, Stephen Hemminger wrote: On Mon, 6 Nov 2006 12:33:53 +0100 Jarek Poplawski [EMAIL PROTECTED] wrote: After hlist_del() next and pprev pointers are not NULL so

Re: [PATCH 4/4] skge: version 1.9

2006-11-07 Thread Stephen Hemminger
On Tue, 07 Nov 2006 13:58:31 -0500 Michael Stone [EMAIL PROTECTED] wrote: On Tue, Nov 07, 2006 at 09:51:04AM -0800, Stephen Hemminger wrote: Which form of bonding link checking are you using. It could be that bonding MII checking is confused. I'm not specifying anything, just ifenslave

Fw: 2.6.19-rc1: Volanomark slowdown

2006-11-07 Thread Stephen Hemminger
unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ -- Stephen Hemminger [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body

General network driver suspend/resume (was e1000 carrier related)

2006-11-08 Thread Stephen Hemminger
with dual port etc. -- Stephen Hemminger [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: New laptop - problems with linux

2006-11-08 Thread Stephen Hemminger
On Wed, 08 Nov 2006 14:39:53 -0500 Stephen Clark [EMAIL PROTECTED] wrote: Francois Romieu wrote: Stephen Clark [EMAIL PROTECTED] : [...] No it is not loaded - i did a modprobe on it and it loaded but still no ethx device. Send complete 'dmesg' and 'lspci -vvx' (please Cc:

Re: 2.6.19-rc1: Volanomark slowdown

2006-11-08 Thread Stephen Hemminger
, there are no dropped packets. Optimizing for loopback is perversion; perversion can be fun but it gets to be a obsession then it's sick. -- Stephen Hemminger [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: 2.6.19-rc1: Volanomark slowdown

2006-11-08 Thread Stephen Hemminger
ack timer cause extra ack's when at lower loads the response happened quick enough that the ACK was piggybacked. -- Stephen Hemminger [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: [IPROUTE2] Add support for inverted selectors

2006-11-09 Thread Stephen Hemminger
added - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] mark non-compiling ISA network drivers i386 only

2006-11-09 Thread Stephen Hemminger
On Thu, 9 Nov 2006 19:40:21 +0100 (MET) Olaf Hering [EMAIL PROTECTED] wrote: Provide drivers for the old toys only on i386 isa_bus_to_virt is defined only on i386, mips and arm isa_virt_to_bus is used for floppy.ko Why not mark all of ISA as i386, mips, arm only? - To unsubscribe from this

Re: Generic Netlink HOW-TO based on Jamal's original doc

2006-11-10 Thread Stephen Hemminger
Paul Moore wrote: A couple of months ago I promised Jamal and Thomas I would post some comments to Jamal's original genetlink how-to. However, as I started to work on the document the diff from the original started to get a little ridiculous so instead of posting a patch against Jamal's

Re: [PATCH 1/3] [NET]: Supporting UDP-Lite (RFC 3828) in Linux

2006-11-10 Thread Stephen Hemminger
network code). Should it be made configurable? -- Stephen Hemminger [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [IPROUTE2] Add rule notification support to ip monitor

2006-11-10 Thread Stephen Hemminger
applied thanks - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Questions regarding network drivers

2006-11-10 Thread Stephen Hemminger
On Fri, 10 Nov 2006 09:34:33 -0800 (PST) Jonathan Day [EMAIL PROTECTED] wrote: --- Evgeniy Polyakov [EMAIL PROTECTED] wrote: On Thu, Nov 09, 2006 at 07:06:00PM -0800, Jonathan Day ([EMAIL PROTECTED]) wrote: Hi, I've got an interesting problem to contend with and need some

Re: [PATCH] Spidernet - remove ETH_ZLEN check in earlier patch

2006-11-10 Thread Stephen Hemminger
? The padding is important for the Ethernet spec, and for security reasons (random memory leakage). -- Stephen Hemminger [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo

[PATCH] spidernet: fix transmit routine.

2006-11-10 Thread Stephen Hemminger
Try this patch instead (I don't have the hardware to even build). Fix spider_net transmit routine: 1. use skb_padto properly 2. don't return -ENOMEM. Only valid returns from device transmit routine are NETDEV_TX_OK, BUSY, LOCKED Signed-off-by: Stephen Hemminger [EMAIL PROTECTED

Re: [PATCH] spidernet: fix transmit routine.

2006-11-10 Thread Stephen Hemminger
On Fri, 10 Nov 2006 13:10:25 -0600 James K Lewis [EMAIL PROTECTED] wrote: Stephen, I had already tried that previously, the fail still occurred. Note that the skb_pad (or skb_padto) never actually fails. There is just something about calling it that causes the hang. Note too that I

Re: [RFT] mv643xxx_eth_start_xmit oops

2006-11-10 Thread Stephen Hemminger
on failure. -- Stephen Hemminger [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RFT] mv643xxx_eth_start_xmit oops

2006-11-10 Thread Stephen Hemminger
On Fri, 10 Nov 2006 22:30:43 +0100 Francois Romieu [EMAIL PROTECTED] wrote: Stephen Hemminger [EMAIL PROTECTED] : [...] skb_linearize is documented to free skb on failure. __skb_linearize - __pskb_pull_tail - pskb_expand_head [...] data = kmalloc(size + sizeof(struct

Re: [PATCH 1/3] [NET]: Supporting UDP-Lite (RFC 3828) in Linux

2006-11-10 Thread Stephen Hemminger
On Fri, 10 Nov 2006 14:38:46 -0800 (PST) David Miller [EMAIL PROTECTED] wrote: From: Stephen Hemminger [EMAIL PROTECTED] Date: Fri, 10 Nov 2006 09:37:15 -0800 On Fri, 10 Nov 2006 16:09:20 + Gerrit Renker [EMAIL PROTECTED] wrote: [NET/IPv4]: Support for the UDP-Lite protocol (RFC

netpoll patches.

2006-11-14 Thread Stephen Hemminger
The following changes since commit 5d1be92267c04a86232969710e32b6f99bb4ec12: Peter Zijlstra: [SCTP]: Cleanup of the sctp state table code. are found in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/netpoll-2.6.20 Stephen Hemminger: netpoll

[RFC] netdev do down on suspend and up on resume

2006-11-15 Thread Stephen Hemminger
This is a demo only. IMHO the network device code should take care of bringing down network devices and restoring them on resume. Some distro's do this with scripts and many devices do it themselves in the suspend code. But doing it in the main netdevice code is best, and means that many network

<    5   6   7   8   9   10   11   12   13   14   >