Re: 2.6.18 forcedeth GSO panic on send

2006-10-26 Thread Herbert Xu
On Thu, Oct 26, 2006 at 11:17:57PM +, Denis Vlasenko wrote: > > I am using an AMD64 box with 32bit userspace / 64bit kernel. > > Kernels 2.6.18 and 2.6.18.1 semi-randomly hang when I upload stuff > over the net - for example, "svn commit", scp are affected. > 2.6.17.11 does not seem to be aff

Re: [PATCH 2.6.19-rc3 1/2] ehea: kzalloc GFP_ATOMIC fix

2006-10-26 Thread Andrew Morton
On Wed, 25 Oct 2006 13:11:42 +0200 Jan-Bernd Themann <[EMAIL PROTECTED]> wrote: > This patch fixes kzalloc parameters (GFP_ATOMIC instead of GFP_KERNEL) why? - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at h

Re: [PATCH] Rewrite e100_phys_id

2006-10-26 Thread Matthew Wilcox
On Thu, Oct 26, 2006 at 01:04:32PM -0700, Auke Kok wrote: > no objections, so I'll ACK it with the notion that I'm going to let our > labs do some more testing on it with all the latest changes to it. Thanks, Auke. Here's the equivalent patch for e1000. I don't have a convenient machine to test

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

2006-10-26 Thread Stephen Hemminger
It was a dark and stormy night when Steve first saw the netpoll beast. The beast was odd, and misshapen but not extremely ugly. "Let me take off one of your warts" he said. This wart is where you tried to make an skb list yourself. If the beast had ever run out of memory, he would have stupefied h

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

2006-10-26 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Thu, 26 Oct 2006 18:04:02 -0700 > On Thu, 26 Oct 2006 17:12:47 -0700 (PDT) > David Miller <[EMAIL PROTECTED]> wrote: > > > From: Stephen Hemminger <[EMAIL PROTECTED]> > > Date: Thu, 26 Oct 2006 15:46:49 -0700 > > > > > @@ -188,19 +186,14 @@ void

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 (exp

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

2006-10-26 Thread Stephen Hemminger
On Thu, 26 Oct 2006 17:12:47 -0700 (PDT) David Miller <[EMAIL PROTECTED]> wrote: > From: Stephen Hemminger <[EMAIL PROTECTED]> > Date: Thu, 26 Oct 2006 15:46:49 -0700 > > > @@ -188,19 +186,14 @@ void netpoll_poll(struct netpoll *np) > > static void refill_skbs(void) > > { > > struct sk_buff

[PATCH 5/5] NetEffect 10Gb RNIC Userspace Library: openfabrics verbs interface c file

2006-10-26 Thread Glenn Grundstrom
Userspace driver patch 5 of 5. Signed-off-by: Glenn Grundstrom <[EMAIL PROTECTED]> == diff -ruNp old/src/userspace/libnes/src/nes_uverbs.c new/src/userspace/libnes/src/nes_uverbs.c --- old/src/userspace/libnes/src/nes_uverbs.c 1969-12-31 18:0

[PATCH 4/5] NetEffect 10Gb RNIC Userspace Library: userspace main c file

2006-10-26 Thread Glenn Grundstrom
Userspace driver patch 4 of 5. Signed-off-by: Glenn Grundstrom <[EMAIL PROTECTED]> == diff -ruNp old/src/userspace/libnes/src/nes_umain.c new/src/userspace/libnes/src/nes_umain.c --- old/src/userspace/libnes/src/nes_umain.c1969-12-31 18:00:

[PATCH 3/5] NetEffect 10Gb RNIC Userspace Library: userspace header files

2006-10-26 Thread Glenn Grundstrom
Userspace driver patch 3 of 5. Signed-off-by: Glenn Grundstrom <[EMAIL PROTECTED]> == diff -ruNp old/src/userspace/libnes/src/nes-abi.h new/src/userspace/libnes/src/nes-abi.h --- old/src/userspace/libnes/src/nes-abi.h 1969-12-31 18:00:00.0

[PATCH 2/5] NetEffect 10Gb RNIC Userspace Library: makefile generation

2006-10-26 Thread Glenn Grundstrom
Kernel driver patch 2 of 5. Signed-off-by: Glenn Grundstrom <[EMAIL PROTECTED]> == diff -ruNp old/src/userspace/libnes/libnes.spec.in new/src/userspace/libnes/libnes.spec.in --- old/src/userspace/libnes/libnes.spec.in 1969-12-31 18:00:00.00

Re: [PATCH 4 of 9] NetEffect 10Gb RNIC Driver: kernel driver header files

2006-10-26 Thread Roland Dreier
> I fear this is exactly the kind of stuff that we didn't want > to see start going into the kernel, and we've resisted the > TCP/IP stack offload stuff in the infiniband layer exactly > for this reason. We're definitely not going to merge a second TCP stack in any form. - R. - To unsubscrib

[PATCH 9/9] NetEffect 10Gb RNIC Driver: openfabrics verbs header file

2006-10-26 Thread Glenn Grundstrom
Kernel driver patch 9 of 9. Signed-off-by: Glenn Grundstrom <[EMAIL PROTECTED]> == diff -ruNp old/drivers/infiniband/hw/nes/nes_verbs.h new/drivers/infiniband/hw/nes/nes_verbs.h --- old/drivers/infiniband/hw/nes/nes_verbs.h 1969-12-31 18:00:0

ethernet mac filter configuration

2006-10-26 Thread netdev
Probably dumb Q/wrong place, but... What, if any, user space command is available/recommended for adding/deleting MAC addresses and masks to hardware based ARC/CAM/MAC address filter memory on chip. I've done a driver for a new 10/100 MAC/PHY combo (currently running on ARM) that has on chip me

Re: [Bugme-new] [Bug 7421] New: Oops, EIP is at atalk_sendmsg

2006-10-26 Thread David Miller
From: Andrew Morton <[EMAIL PROTECTED]> Date: Thu, 26 Oct 2006 09:44:38 -0700 > > Oct 26 10:01:07 localhost kernel: EIP is at atalk_sendmsg+0x15b/0x4e4 > > [appletalk] > > Oct 26 10:01:07 localhost kernel: eax: ebx: 002f ecx: > > \ > > edx: >

[PATCH 7/9] NetEffect 10Gb RNIC Driver: utility routines c file

2006-10-26 Thread Glenn Grundstrom
Kernel driver patch 7 of 9. Signed-off-by: Glenn Grundstrom <[EMAIL PROTECTED]> == diff -ruNp old/drivers/infiniband/hw/nes/nes_utils.c new/drivers/infiniband/hw/nes/nes_utils.c --- old/drivers/infiniband/hw/nes/nes_utils.c 1969-12-31 18:00:0

Re: [PATCH 1/9] NetEffect 10Gb RNIC Driver: kernel Kconfig and makefiles

2006-10-26 Thread Roland Dreier
David> What is this thing? Good question. I haven't gotten a straight answer yet, which is why I called it "mysterious". - R. - 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/majo

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

2006-10-26 Thread Ian McDonald
On 10/27/06, David Miller <[EMAIL PROTECTED]> wrote: From: "Ian McDonald" <[EMAIL PROTECTED]> Date: Fri, 27 Oct 2006 12:59:30 +1300 > I don't agree with this at all. I would love Firefox, BitTorrent etc > to implement usage of TCP-LP for example so they use "unused" > bandwidth only. > > With th

Re: [PATCH 2/9] NetEffect 10Gb RNIC Driver: main kernel driver c file

2006-10-26 Thread Roland Dreier
> +static int nes_device_event(struct notifier_block *notifier, unsigned > long event, void *ptr); > +static int nes_inetaddr_event(struct notifier_block *notifier, unsigned > long event, void *ptr); > +static void nes_print_macaddr(struct net_device *netdev); > +static irqreturn_t nes_interr

Re: [KJ] [Patch] kmemdup() cleanup in net/

2006-10-26 Thread David Miller
From: Eric Sesterhenn <[EMAIL PROTECTED]> Date: Thu, 26 Oct 2006 22:49:31 +0200 > arg, i thought i compile tested everything, please use this > version. > > Signed-off-by: Eric Sesterhenn <[EMAIL PROTECTED]> Definitely post-2.6.19 material, please resubmit when 2.6.20 merging opens up, thanks. -

Re: [PATCH 4 of 9] NetEffect 10Gb RNIC Driver: kernel driver header files

2006-10-26 Thread David Miller
From: "Glenn Grundstrom" <[EMAIL PROTECTED]> Date: Thu, 26 Oct 2006 19:14:19 -0500 > It is part of our connection manager and assists with connection setup > and teardown only. I fear this is exactly the kind of stuff that we didn't want to see start going into the kernel, and we've resisted the

[PATCH 6/9] NetEffect 10Gb RNIC Driver: kernel network interface c file

2006-10-26 Thread Glenn Grundstrom
Kernel driver patch 6 of 9. Signed-off-by: Glenn Grundstrom <[EMAIL PROTECTED]> == diff -ruNp old/drivers/infiniband/hw/nes/nes_nic.c new/drivers/infiniband/hw/nes/nes_nic.c --- old/drivers/infiniband/hw/nes/nes_nic.c 1969-12-31 18:00:00.00

Re: [PATCH] sealevel: uses arp_broken_ops

2006-10-26 Thread David Miller
From: Randy Dunlap <[EMAIL PROTECTED]> Date: Thu, 26 Oct 2006 14:08:08 -0700 > Sealevel uses arp_broken_ops so it needs to depend on INET. > > Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> Applied, thanks Randy. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of

RE: [PATCH 4 of 9] NetEffect 10Gb RNIC Driver: kernel driver header files

2006-10-26 Thread Glenn Grundstrom
It is part of our connection manager and assists with connection setup and teardown only. Glenn. -Original Message- From: David Miller [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 7:10 PM To: Glenn Grundstrom; Glenn Grundstrom Cc: openib-general@openib.org; netdev@vger.kern

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

2006-10-26 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Thu, 26 Oct 2006 15:46:49 -0700 > @@ -188,19 +186,14 @@ void netpoll_poll(struct netpoll *np) > static void refill_skbs(void) > { > struct sk_buff *skb; > - unsigned long flags; > > - spin_lock_irqsave(&skb_list_lock, flags); > -

Re: [PATCH 4 of 9] NetEffect 10Gb RNIC Driver: kernel driver header files

2006-10-26 Thread David Miller
From: "Glenn Grundstrom" <[EMAIL PROTECTED]> Date: Thu, 26 Oct 2006 19:06:23 -0500 > +#include "nes_tcpip/include/nes_sockets.h" I want to know what in the world this nes_tcpip thing is? - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECT

[PATCH 5/9] NetEffect 10Gb RNIC Driver: hardware interface c file

2006-10-26 Thread Glenn Grundstrom
Kernel driver patch 5 of 9. Signed-off-by: Glenn Grundstrom <[EMAIL PROTECTED]> == diff -ruNp old/drivers/infiniband/hw/nes/nes_hw.c new/drivers/infiniband/hw/nes/nes_hw.c --- old/drivers/infiniband/hw/nes/nes_hw.c 1969-12-31 18:00:00.

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

2006-10-26 Thread David Miller
From: "Ian McDonald" <[EMAIL PROTECTED]> Date: Fri, 27 Oct 2006 12:59:30 +1300 > I don't agree with this at all. I would love Firefox, BitTorrent etc > to implement usage of TCP-LP for example so they use "unused" > bandwidth only. > > With this change applications can't do this. > > If we are g

[PATCH 4 of 9] NetEffect 10Gb RNIC Driver: kernel driver header files

2006-10-26 Thread Glenn Grundstrom
Kernel driver patch 4 of 9. Signed-off-by: Glenn Grundstrom <[EMAIL PROTECTED]> == diff -ruNp old/drivers/infiniband/hw/nes/nes_context.h new/drivers/infiniband/hw/nes/nes_context.h --- old/drivers/infiniband/hw/nes/nes_context.h 1969-12-31 18:

Re: [PATCH 1/9] NetEffect 10Gb RNIC Driver: kernel Kconfig and makefiles

2006-10-26 Thread David Miller
From: Roland Dreier <[EMAIL PROTECTED]> Date: Thu, 26 Oct 2006 16:58:41 -0700 > > -Idrivers/infiniband/hw/nes/nes_tcpip/include > > I guess this is the mysterious TCP stack module. What is this thing? - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message t

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

2006-10-26 Thread David Miller
This is driving me crazy... Your email client turned the tabs into spaces in the patch making it useless. I want to ask why it is so hard for people to submit patches that are not corrupted? :-/ I type in this kind of email response at least 2 or 3 times every single day that I review patches.

[PATCH 3/9] NetEffect 10Gb RNIC Driver: openfabrics connection manager c file

2006-10-26 Thread Glenn Grundstrom
Kernel driver patch 3 of 9. Signed-off-by: Glenn Grundstrom <[EMAIL PROTECTED]> == diff -ruNp old/drivers/infiniband/hw/nes/nes_cm.c new/drivers/infiniband/hw/nes/nes_cm.c --- old/drivers/infiniband/hw/nes/nes_cm.c 1969-12-31 18:00:00.

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

2006-10-26 Thread Ian McDonald
On 10/27/06, 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 the pchar/pathchar main

Re: [PATCH 1/9] NetEffect 10Gb RNIC Driver: kernel Kconfig and makefiles

2006-10-26 Thread Roland Dreier
> +source "drivers/infiniband/hw/nes/Kconfig" > + > source "drivers/infiniband/hw/cxgb3/Kconfig" This patch seems to be against some non-standard tree, since cxgb3 isn't upstream yet. And if cxgb3 were already upstream, it might be polite to add yourself after it rather than before ;) > +co

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

2006-10-26 Thread Hagen Paul Pfeifer
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 the pchar/pathchar maintainer). At 99.9% only the local host administrator has the k

[PATCH 2/9] NetEffect 10Gb RNIC Driver: main kernel driver c file

2006-10-26 Thread Glenn Grundstrom
Kernel driver patch 2 of 9. Signed-off-by: Glenn Grundstrom <[EMAIL PROTECTED]> == diff -ruNp old/drivers/infiniband/hw/nes/nes.c new/drivers/infiniband/hw/nes/nes.c --- old/drivers/infiniband/hw/nes/nes.c 1969-12-31 18:00:00.0 -0600 ++

[PATCH 1/9] NetEffect 10Gb RNIC Driver: kernel Kconfig and makefiles

2006-10-26 Thread Glenn Grundstrom
The following set of patches contain the source code for the NetEffect NE010 iWarp adapter running under the OpenFabrics Alliance software stack. This is a repost. Signed-off-by: Glenn Grundstrom <[EMAIL PROTECTED]> == diff -ruNp old/drivers/i

2.6.18 forcedeth GSO panic on send

2006-10-26 Thread Denis Vlasenko
Hello, I am using an AMD64 box with 32bit userspace / 64bit kernel. Kernels 2.6.18 and 2.6.18.1 semi-randomly hang when I upload stuff over the net - for example, "svn commit", scp are affected. 2.6.17.11 does not seem to be affected. Unfortunately even 60-line screen is not big enough to catch

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

2006-10-26 Thread Stephen Hemminger
It was a dark and stormy night when Steve first saw the netpoll beast. The beast was odd, and misshapen but not extremely ugly. "Let me take off one of your warts" he said. This wart is where you tried to make an skb list yourself. If the beast had ever run out of memory, he would have stupefied h

[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 t

[PATCH 5/8] netpoll deferred transmit path

2006-10-26 Thread Stephen Hemminger
When the netpoll beast got busy, he tended to babble. Instead of talking out of his large mouth as normal, he tended to try to snort out other orifices. This lead to words (skbs) ending up in odd places (like NIT) that he did not intend. The normal way of talking wouldn't work, but he could at lea

[PATCH 2/8] netpoll info leak

2006-10-26 Thread Stephen Hemminger
After looking harder, Steve noticed that the netpoll beast leaked a little every time it shutdown for a nap. Not a big leak, but a nuisance kind of thing. He took out his refcount duct tape and patched the leak. It was overkill since there was already other locking in that area, but it looked clea

[PATCH 7/8] netpoll queue cleanup

2006-10-26 Thread Stephen Hemminger
The beast had a long and not very happy history. At one point, a friend (netdump) had asked that he open up a little. Well, the friend was long gone now, and the beast had this dangling piece hanging (netpoll_queue). It wasn't hard to stitch the netpoll_queue back in where it belonged and make eve

[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 |

[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 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 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/net

Re: [RFC] tcp: setsockopt congestion control autoload

2006-10-26 Thread John Heffner
Hagen Paul Pfeifer wrote: * John Heffner | 2006-10-26 13:29:26 [-0400]: My reservation in doing this would be that as an administrator, I may want to choose exactly what congestion control is available any any given time. The different congestion control algorithms are not necessarily fair t

Re: [PATCH] s2io: add PCI error recovery support

2006-10-26 Thread Linas Vepstas
Hi. On Thu, Oct 26, 2006 at 05:56:34AM -0400, Ananda Raju wrote: > Hi, > Can you try attached patch. The attached patch is simple. We set card > state as down in error_detecct() so that all entry points return error > and don't proceed further. > > In slot_reset() we do s2io_card_down() will res

Re: [RFC] tcp: setsockopt congestion control autoload

2006-10-26 Thread Hagen Paul Pfeifer
* John Heffner | 2006-10-26 13:29:26 [-0400]: >My reservation in doing this would be that as an administrator, I may >want to choose exactly what congestion control is available any any >given time. The different congestion control algorithms are not >necessarily fair to each other. ACK, comp

Re: Network virtualization/isolation

2006-10-26 Thread Daniel Lezcano
Stephen Hemminger wrote: On Thu, 26 Oct 2006 11:44:55 +0200 Daniel Lezcano <[EMAIL PROTECTED]> wrote: [ ... ] Assuming you are talking about pseudo-virtualized environments, there are several different discussions. Yes, exact, I forgot to mention that. 1. How should the namespace be isol

Re: [RFC] [PATCH 0/3] Add Regulatory Domain support to d80211

2006-10-26 Thread Johannes Berg
On Thu, 2006-10-26 at 11:33 -0400, Dan Williams wrote: > The one blocker I can think of here is startup scripts on various > distributions. Most of those are shell, and they usually rely on > iwconfig quite heavily. Getting those converted to wpa_supplicant > wouldn't be a trivial amount of work

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]> - To

RE: [RFC] [PATCH 0/3] Add Regulatory Domain support to d80211

2006-10-26 Thread Johannes Berg
On Thu, 2006-10-26 at 14:41 -0700, Simon Barber wrote: > Getting people to use wpa_supplicant almost exclusivly as the interface > for wireless will improve a lot of things. One thing that might help > here is to do some work on the wpa_cli - to make it easier for the > startup scripts to do what t

RE: [RFC] [PATCH 0/3] Add Regulatory Domain support to d80211

2006-10-26 Thread Simon Barber
Getting people to use wpa_supplicant almost exclusivly as the interface for wireless will improve a lot of things. One thing that might help here is to do some work on the wpa_cli - to make it easier for the startup scripts to do what they need, and also to make the command syntax easier for comman

[PATCH] sealevel: uses arp_broken_ops

2006-10-26 Thread Randy Dunlap
On Wed, 25 Oct 2006 18:03:13 +0200 Toralf Förster wrote: > WARNING: "arp_broken_ops" [drivers/net/wan/sealevel.ko] undefined! > make[1]: *** [__modpost] Error 1 > make: *** [modules] Error 2 > > Here's the config: ... > # CONFIG_INET is not set > CONFIG_SEALEVEL_4021=m --- From: Randy Dunlap <[E

Re: [IPROUTE] manpage for lnstat

2006-10-26 Thread Harald Welte
On Thu, Oct 26, 2006 at 10:41:26PM +0200, Michael Prokop wrote: > Hello, > > I wrote a manpage for lnstat, would be great if it could be applied > to the next release. Stephen: Please include it into your next release, looks fine to me. > @Harald, I'm following your 'If somebody wants to do a ma

Re: [RFC] tcp: setsockopt congestion control autoload

2006-10-26 Thread David Miller
From: John Heffner <[EMAIL PROTECTED]> Date: Thu, 26 Oct 2006 13:29:26 -0400 > My reservation in doing this would be that as an administrator, I may > want to choose exactly what congestion control is available any any > given time. The different congestion control algorithms are not > necessa

Re: [RFC] tcp: setsockopt congestion control autoload

2006-10-26 Thread David Miller
From: Evgeniy Polyakov <[EMAIL PROTECTED]> Date: Thu, 26 Oct 2006 18:57:13 +0400 > It just calls /sbin/modprobe, which in turn runs tons of scripts in > /etc/hotplug, modprobe and other places... > In the paranoid case we should not allow any user to load kernel > modules, even known ones. Should

[PATCH] myri10ge: ServerWorks HT2000 PCI id is already defined in pci_ids.h

2006-10-26 Thread Brice Goglin
[PATCH] myri10ge: ServerWorks HT2000 PCI id is already defined in pci_ids.h No need to keep defining PCI_DEVICE_ID_SERVERWORKS_HT2000_PCIE in the driver code since it is now defined in pci_ids.h. Signed-off-by: Brice Goglin <[EMAIL PROTECTED]> --- drivers/net/myri10ge/myri10ge.c |1 - 1 file

Re: [KJ] [Patch] kmemdup() cleanup in net/

2006-10-26 Thread Eric Sesterhenn
arg, i thought i compile tested everything, please use this version. Signed-off-by: Eric Sesterhenn <[EMAIL PROTECTED]> --- linux-2.6.19-rc3-git1/net/atm/lec.c.orig2006-10-26 20:21:48.0 +0200 +++ linux-2.6.19-rc3-git1/net/atm/lec.c 2006-10-26 20:23:28.0 +0200 @@ -1321,11 +132

[IPROUTE] manpage for lnstat

2006-10-26 Thread Michael Prokop
Hello, I wrote a manpage for lnstat, would be great if it could be applied to the next release. @Harald, I'm following your 'If somebody wants to do a manpage, feel free to send me a patch :)' of lnstat's README. :) regards, -mika- .TH LNSTAT 1 .SH NAME lnstat \- unified linux network statistics

Re: [Bugme-new] [Bug 7421] New: Oops, EIP is at atalk_sendmsg

2006-10-26 Thread Krzysztof Oledzki
On Thu, 26 Oct 2006, Andrew Morton wrote: On Thu, 26 Oct 2006 04:08:36 -0700 [EMAIL PROTECTED] wrote: http://bugzilla.kernel.org/show_bug.cgi?id=7421 Summary: Oops, EIP is at atalk_sendmsg Kernel Version: 2.6.18.1 Status: NEW Severity: normal

Re: [PATCH] Rewrite e100_phys_id

2006-10-26 Thread Auke Kok
Jeff Garzik wrote: On Thu, Oct 26, 2006 at 01:11:55PM -0600, Matthew Wilcox wrote: The motivator for this was to fix the sparse warning: drivers/net/e100.c:2418:48: warning: cast truncates bits from constant value (83126e978d4fdf becomes 978d4fdf) drivers/net/e100.c:2419:37: warning: cast trunc

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

Re: [PATCH] Rewrite e100_phys_id

2006-10-26 Thread Jeff Garzik
On Thu, Oct 26, 2006 at 01:11:55PM -0600, Matthew Wilcox wrote: > > The motivator for this was to fix the sparse warning: > > drivers/net/e100.c:2418:48: warning: cast truncates bits from constant > value (83126e978d4fdf becomes 978d4fdf) > drivers/net/e100.c:2419:37: warning: cast truncates bits

[PATCH] Rewrite e100_phys_id

2006-10-26 Thread Matthew Wilcox
The motivator for this was to fix the sparse warning: drivers/net/e100.c:2418:48: warning: cast truncates bits from constant value (83126e978d4fdf becomes 978d4fdf) drivers/net/e100.c:2419:37: warning: cast truncates bits from constant value (83126e978d4fdf becomes 978d4fdf) Initially, I tried a

Please pull bcm43xx-d80211 features and bugfixes

2006-10-26 Thread Michael Buesch
Hi John, Please pull latest bcm43xx-d80211 features and bugfixes. git pull http://bu3sch.de/git/wireless-dev.git for-linville This will introduce hardware encryption for everything but TKIP on v4 firmware. For v3 firmware or TKIP it will transparently fall back to software encryption. It also fi

[Patch] kmemdup() cleanup in net/

2006-10-26 Thread Eric Sesterhenn
hi, replace open coded kmemdup() to save some screen space, and allow inlining/not inlining to be triggered by gcc. Signed-off-by: Eric Sesterhenn <[EMAIL PROTECTED]> --- linux-2.6.19-rc3-git1/net/atm/lec.c.orig2006-10-26 20:21:48.0 +0200 +++ linux-2.6.19-rc3-git1/net/atm/lec.c 2006

Re: TCP congestion graphs

2006-10-26 Thread Hagen Paul Pfeifer
Hi Stephen, is your rt-patch to netem public available? Best regards HGN -- Signed and/or encrypted mails preferd. Key-Id = 0x98350C22 Fingerprint = 490F 557B 6C48 6D7E 5706 2EA2 4A22 8D45 9835 0C22 Key available under: www.jauu.net/download/gnupg_key - To unsubscribe from this list: send

Re: [RFC] tcp: setsockopt congestion control autoload

2006-10-26 Thread John Heffner
My reservation in doing this would be that as an administrator, I may want to choose exactly what congestion control is available any any given time. The different congestion control algorithms are not necessarily fair to each other. If the modules are autoloaded, I could still enforce this b

[SOFTMAC] - level of verbosity

2006-10-26 Thread neologix
Hi. I'd just like to know whether it is be possible to reduce the verbosity level of softmac. My wireless is working fine, but my logs are polluted by: /* LOG */ printk: 20 messages suppressed. SoftMAC: Received deauthentication packet from 00:0a:79:52:84:6c, but that network is unknown. SoftMAC:

Re: [RFC] tcp: setsockopt congestion control autoload

2006-10-26 Thread Patrick McHardy
Stephen Hemminger wrote: > No capability check needed. Any additional paranoia belongs in /sbin/modprobe. > > There seems to be lots of existing usage where a user can cause a module > to be loaded (see bin_fmt, xtables, etc). x_tables is restricted to CAP_NET_ADMIN, but in net/ alone we have __

Re: [Bugme-new] [Bug 7421] New: Oops, EIP is at atalk_sendmsg

2006-10-26 Thread Andrew Morton
On Thu, 26 Oct 2006 04:08:36 -0700 [EMAIL PROTECTED] wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=7421 > >Summary: Oops, EIP is at atalk_sendmsg > Kernel Version: 2.6.18.1 > Status: NEW > Severity: normal > Owner: [EMAIL PROTECTED] >

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 >

Re: [PATCH 2/2] usbnet: use MII hooks only if CONFIG_MII is enabled

2006-10-26 Thread Randy.Dunlap
Adrian Bunk wrote: On Wed, Oct 25, 2006 at 04:58:58PM -0700, Randy Dunlap wrote: ... Build tested with CONFIG_MII=y, m, n. ... --- linux-2619-rc3-pv.orig/drivers/usb/net/usbnet.c +++ linux-2619-rc3-pv/drivers/usb/net/usbnet.c @@ -47,6 +47,12 @@ #define DRIVER_VERSION "22-Aug-2005" +#if def

Re: [PATCH 2/2] usbnet: use MII hooks only if CONFIG_MII is enabled

2006-10-26 Thread Adrian Bunk
On Wed, Oct 25, 2006 at 04:58:58PM -0700, Randy Dunlap wrote: >... > Build tested with CONFIG_MII=y, m, n. >... > --- linux-2619-rc3-pv.orig/drivers/usb/net/usbnet.c > +++ linux-2619-rc3-pv/drivers/usb/net/usbnet.c > @@ -47,6 +47,12 @@ > > #define DRIVER_VERSION "22-Aug-2005" > >

Re: [RFC] [PATCH 0/3] Add Regulatory Domain support to d80211

2006-10-26 Thread Dan Williams
On Thu, 2006-10-26 at 11:04 -0400, Luis R. Rodriguez wrote: > On 10/26/06, Dan Williams <[EMAIL PROTECTED]> wrote: > > While wpa_supplicant is certainly the main client for stuff directly > > related to setting up a connection, there are quite a few other users of > > general WE calls to pull infor

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: [Announce] Netchannels ported to the latest git tree. Gigabit benchmark. Complete rout.

2006-10-26 Thread Evgeniy Polyakov
On Thu, Oct 26, 2006 at 03:44:37PM +0200, bert hubert ([EMAIL PROTECTED]) wrote: > On Thu, Oct 26, 2006 at 02:51:51PM +0400, Evgeniy Polyakov wrote: > > > Benchmark uses 128 bytes sending/receiving per syscall (no latency > > checks, only throughput. > > Receiving CPU usage is 3 times less (90% so

Re: [RFC] [PATCH 0/3] Add Regulatory Domain support to d80211

2006-10-26 Thread Luis R. Rodriguez
On 10/26/06, Dan Williams <[EMAIL PROTECTED]> wrote: While wpa_supplicant is certainly the main client for stuff directly related to setting up a connection, there are quite a few other users of general WE calls to pull information out of the card, or to receive scan events. How about we just d

Re: [RFC] tcp: setsockopt congestion control autoload

2006-10-26 Thread Evgeniy Polyakov
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: > > > >>If user asks for a congestion control type with setsockopt() then it > >>may be a

Re: [RFC] [PATCH 0/3] Add Regulatory Domain support to d80211

2006-10-26 Thread Johannes Berg
On Thu, 2006-10-26 at 10:35 -0400, Dan Williams wrote: > > - I'd like to see a header cleanup, it's necessary. Part of the problem > >here is all the sub-ioctl WE foo. Clean that up by moving them into > >cfg80211 as required, there's basically one user, wpa_supplicant (and > >maybe h

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. This is do

Re: [RFC] [PATCH 0/3] Add Regulatory Domain support to d80211

2006-10-26 Thread Dan Williams
On Thu, 2006-10-26 at 00:00 +0200, Johannes Berg wrote: > On Wed, 2006-10-25 at 13:43 -0400, Luis R. Rodriguez wrote: > > > I guess my hope was that d80211 would just be more than a softmac > > implementation. When I hear wireless stack I don't think "softmac > > implementation", I think a robust

Re: watchdog timeout panic in e1000 driver

2006-10-26 Thread Auke Kok
Kenzo Iwami wrote: Hi, Thank you for your comment. Anyway as I said in the same e-mail, we're working on reducing the lock timeout to a reasonable time. This will unfortunately take some time, as we need to change some major components in the driver to make sure this doesn't happen. How abou

Re: [PATCH 2.6.19-rc3 2/2] ehea: 64K page support fix

2006-10-26 Thread Jan-Bernd Themann
Hi, that is right, I'll send a new patch Thanks, Jan-Bernd On Wednesday 25 October 2006 18:21, Anton Blanchard wrote: > > Hi, > > > +#ifdef CONFIG_PPC_64K_PAGES > > + /* To support 64k pages we must round to 64k page boundary */ > > + epas->kernel.addr = > > + ioremap((paddr_kern

Re: [Announce] Netchannels ported to the latest git tree. Gigabit benchmark. Complete rout.

2006-10-26 Thread bert hubert
On Thu, Oct 26, 2006 at 02:51:51PM +0400, Evgeniy Polyakov wrote: > Benchmark uses 128 bytes sending/receiving per syscall (no latency > checks, only throughput. > Receiving CPU usage is 3 times less (90% socket code vs. 30% > Sending CPU usage is 5 times less (upto 50% vs. upto 10%). Wow. I curr

[patch 3/5] net: fix uaccess handling

2006-10-26 Thread Heiko Carstens
Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> --- net/ipv4/raw.c | 17 +++-- net/ipv6/raw.c | 17 +++-- net/netlink/af_netlink.c |5 +++-- 3 files changed, 25 insertions(+), 14 deletions(-) Index: linux-2.6/net/ipv4/raw.c ===

[Announce] Netchannels ported to the latest git tree. Gigabit benchmark. Complete rout.

2006-10-26 Thread Evgeniy Polyakov
On Fri, Oct 20, 2006 at 01:53:05PM +0400, Evgeniy Polyakov ([EMAIL PROTECTED]) wrote: > Netchannel [1] is pure bridge between low-level hardware and user, without any > special protocol processing involved between them. > Users are not limited to userspace only - I will use this netchannel > infra

Re: watchdog timeout panic in e1000 driver

2006-10-26 Thread Kenzo Iwami
Hi, Thank you for your comment. >>> Anyway as I said in the same e-mail, we're working on reducing the lock >>> timeout to a >>> reasonable time. This will unfortunately take some time, as we need to >>> change some major >>> components in the driver to make sure this doesn't happen. >> >> Ho

RE: [PATCH] s2io: add PCI error recovery support

2006-10-26 Thread Ananda Raju
Hi, Can you try attached patch. The attached patch is simple. We set card state as down in error_detecct() so that all entry points return error and don't proceed further. In slot_reset() we do s2io_card_down() will reset adapter. In io_resume() we bringup the driver. Ananda -Original Me

Re: Network virtualization/isolation

2006-10-26 Thread Daniel Lezcano
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. The ipc, pid, utsname and filesystem system ressources are isolated/virtualized relyi