Re: [take15 1/4] kevent: Core files.

2006-09-05 Thread Evgeniy Polyakov
On Tue, Sep 05, 2006 at 03:28:17PM +0200, Arnd Bergmann ([EMAIL PROTECTED]) wrote: > On Monday 04 September 2006 12:14, Evgeniy Polyakov wrote: > > > +asmlinkage long sys_kevent_get_events(int ctl_fd, unsigned int min_nr, > > unsigned int max_nr, __u64 timeout, void __user *buf, > >

Re: [take15 4/4] kevent: Timer notifications.

2006-09-05 Thread Evgeniy Polyakov
On Tue, Sep 05, 2006 at 03:39:57PM +0200, Arnd Bergmann ([EMAIL PROTECTED]) wrote: > On Monday 04 September 2006 12:14, Evgeniy Polyakov wrote: > > Timer notifications can be used for fine grained per-process time > > management, since interval timers are very inconvenient to use, > > and they a

Sendmsg receiving EPERM

2006-09-05 Thread Tim Yardley
I have an interesting situation in which a box is "heavily" loaded with network traffic on a bridged interface. The card in question is the silicom intel 2 port pci-x bypass card. The driver is pretty much just a modified e1000 driver. I am using a slightly older version of the driver (5.6.11 I

Sendmsg receiving EPERM

2006-09-05 Thread Tim Yardley
I have an interesting situation in which a box is "heavily" loaded with network traffic on a bridged interface. The card in question is the silicom intel 2 port pci-x bypass card (http://silicom-usa.com/pgx.php?p2=207). The driver is available at http://silicom-usa.com/files/PxGxBP_Linux.zip an

Heavy network loading...

2006-09-05 Thread Tim Yardley
I have an interesting situation in which a box is "heavily" loaded with network traffic on a bridged interface. The card in question is the silicom intel 2 port pci-x bypass card (http://silicom-usa.com/pgx.php?p2=207). The driver is available at http://silicom-usa.com/files/PxGxBP_Linux.zip and

sendmsg receiving EPERM

2006-09-05 Thread Tim Yardley
I have an interesting situation in which a box is "heavily" loaded with network traffic on a bridged interface. The card in question is the silicom intel 2 port pci-x bypass card (http://silicom-usa.com/pgx.php?p2=207). The driver is available at http://silicom-usa.com/files/PxGxBP_Linux.zip and

Re: ProxyARP and IPSec

2006-09-05 Thread Stephen J. Bevan
Alexey Kuznetsov writes: > Probably, you are not aware that "standard IPsec tunnel device", > if it is created: > > 1. Probably, will not accept fragmented frames, because IPsec cannot >handle them IPsec can handle them, though not particularly smoothly if the IPsec tunnel is only suppos

[PATCH] myri10ge: update the firmware download URL in Kconfig

2006-09-05 Thread Brice Goglin
Jeff, Could you please push the following patch to Linus before 2.6.18? It updates the firmware download URL in Kconfig to match the header in drivers/net/myri10ge/myri10ge.c. Thanks! Brice Goglin From: Brice Goglin <[EMAIL PROTECTED]> [PATCH] myri10ge: update the firmware download URL in Kco

Re: [PATCH] FRV: do_gettimeofday() should no longer use tickadj

2006-09-05 Thread john stultz
On Tue, 2006-09-05 at 16:35 +0100, David Howells wrote: > Stop do_gettimeofday() on FRV from using tickadj, and model it after ARM > instead. > > This patch also provides a placeholder macro for getting hardware timer data > to > be filled in when such is available. >From this patch it looks lik

[RFT] sky2 vs iptables

2006-09-05 Thread Daniel Drake
Hi, There's a strange sky2 bug on the Gentoo bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=136508 sky2 seems to work OK, but breaks as soon as the iptables ruleset is loaded. Nothing can be pinged, etc. Can someone try and reproduce this? The iptables rule script has been uploaded here:

Re: e1000 Detected Tx Unit Hang

2006-09-05 Thread Paul Aviles
I haven't done the NAPI yet. These are identical systems altogether, maybe the CPU is a different stepping at the most, but that is all. The "16: 70540 0 IO-APIC-level uhci_hcd:usb4, eth0" is the same in every GS12 I have. No overclocking and same BIOS. Tyan released ver 1.8 ab

roaming support for d80211 stack

2006-09-05 Thread Mohamed Abbas
Hi Are there any one working on roaming support for d80211 stack? Thanks Mohamed - 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: [2.6 patch] net/sctp/: cleanups

2006-09-05 Thread Sridhar Samudrala
On Tue, 2006-09-05 at 23:57 +0200, Adrian Bunk wrote: > This patch contains the following cleanups: > - make the following needlessly global function static: > - socket.c: sctp_apply_peer_addr_params() > - add proper prototypes for the several global functions in > include/net/sctp/sctp.h > >

Re: [IPSEC]: searching SAD without assumming L3 details

2006-09-05 Thread Herbert Xu
On Sat, Sep 02, 2006 at 09:43:02AM -0400, jamal wrote: > > Allow for searching the SAD from external data path points without > assumming L3 details. The only customer of this exposure currently > is pktgen. Any reason why xfrm_state_find can't be used? It doesn't look right to add generic code th

[RFT 4/5] sky2: big endian fix

2006-09-05 Thread shemminger
Revised version of Ben's patch to fix big endian support. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- sky2.orig/drivers/net/sky2.c2006-09-05 13:39:34.0 -0700 +++ sky2/drivers/net/sky2.c 2006-09-05 13:57:44.0 -0700 @@ -809,7 +809,7 @@ struct sky2_rx

[RFT 1/5] sky2: more device ids (resend)

2006-09-05 Thread shemminger
Some more Marvell device id's, these are from the latest SysKonnect driver version. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- drivers/net/sky2.c |3 +++ 1 file changed, 3 insertions(+) --- sky2.orig/drivers/net/sky2.c2006-09-01 14:49:49.0 -0700 +++ sky2/drive

[RFT 2/5] sky2: accept flow control

2006-09-05 Thread shemminger
Don't program the GMAC to reject flow control packets. This maybe the cause of some of the receive hangs. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- sky2.orig/drivers/net/sky2.h2006-09-05 15:17:38.0 -0700 +++ sky2/drivers/net/sky2.h 2006-09-05 15:18:00.0

[RFT 0/5] sky2 experimental patches

2006-09-05 Thread shemminger
These patches (against 2.6.18-rc6) may solve some of the mystery hangs and other open problems. Still seeking confirmation. -- 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 inf

[RFT 3/5] sky2: handle forced settings

2006-09-05 Thread shemminger
Handle cases where pause parameters are forced. Need to program the GMAC before starting the PHY, not after. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- sky2.orig/drivers/net/sky2.c2006-09-05 12:10:18.0 -0700 +++ sky2/drivers/net/sky2.c 2006-09-05 13:32:59.000

[RFT 5/5] sky2: fix fiber support

2006-09-05 Thread shemminger
Fix support for fiber based devices. Needed to keep track of PMD type to add workaround in setup. Add support for gigabit half duplex fiber. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- drivers/net/sky2.c | 81 - drivers/net/sky2

Re: [PATCH][RFC] Re: high latency with TCP connections

2006-09-05 Thread Alexey Kuznetsov
Hello! > Is this really necessary? No, of course. We lived for ages without this, would live for another age. > I thought that the problems with ABC were in > trying to apply byte-based heuristics from the RFC(s) to a > packet-oritented cwnd in the stack? It was just t

Re: sky2 problem on powerpc

2006-09-05 Thread Benjamin Herrenschmidt
On Tue, 2006-09-05 at 14:36 -0700, Stephen Hemminger wrote: > This is the reduced version of your patch, plus I got rid of the union > in tx_le, it is a nuisance. Thanks. I'll give it a go later today. The remaining nit is the inconsitent swapping of the vlan tag which is manipulated at BE at time

Re: sky2: hw checksum failures

2006-09-05 Thread Benjamin Herrenschmidt
> Agreed. Actually the checksum value is same hi/lo because there are > two checksum units and we ask for the same offset on both. Ok, that explains the (HLEN << 16) | HLEN thing when configuring it... At this point, best is I dig into the actual values and see what's up. I'll let you know (I don

[2.6 patch] net/sctp/: cleanups

2006-09-05 Thread Adrian Bunk
This patch contains the following cleanups: - make the following needlessly global function static: - socket.c: sctp_apply_peer_addr_params() - add proper prototypes for the several global functions in include/net/sctp/sctp.h Note that this fixes wrong prototypes for the following functions: -

Re: sky2 problem on powerpc

2006-09-05 Thread Stephen Hemminger
This is the reduced version of your patch, plus I got rid of the union in tx_le, it is a nuisance. --- sky2.orig/drivers/net/sky2.c2006-09-05 13:39:34.0 -0700 +++ sky2/drivers/net/sky2.c 2006-09-05 13:57:44.0 -0700 @@ -809,7 +809,7 @@ struct sky2_rx_le *le;

Re: sky2: hw checksum failures

2006-09-05 Thread Stephen Hemminger
On Wed, 06 Sep 2006 07:12:43 +1000 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > > > Which means that if it worked on x86 with le16_to_cpu, it should work on > > > powerpc... The main difference here however is that you called > > > le16_to_cpu (which is basically a nop) on a 32 bits fiel

Re: sky2: hw checksum failures

2006-09-05 Thread Benjamin Herrenschmidt
> > Which means that if it worked on x86 with le16_to_cpu, it should work on > > powerpc... The main difference here however is that you called > > le16_to_cpu (which is basically a nop) on a 32 bits field, while I > > called le32_to_cpu() on it. But both should lead to the same ... (x86 > > will

Re: sky2 problem on powerpc

2006-09-05 Thread Benjamin Herrenschmidt
On Mon, 2006-09-04 at 21:15 -0700, Stephen Hemminger wrote: > On Tue, 05 Sep 2006 13:47:52 +1000 > Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > > > > > It may not need any swapping, it is hard to tell what the hardware > > > will do without experimentation. > > > > Yes... did you have a

[PATCH 1/2] tcp-lp: bug fix for oops in 2.6.18-rc6

2006-09-05 Thread Wong Edison
Folks: we do watch over you and your postings, if you get rejects do send UNABRIDGED messages to <[EMAIL PROTECTED]>, however we do look into the FREEZER (as the reject message does refer to) several times a day to find possible mis-rejects. Yours, <[EMAIL PROTECTED]> Signed-o

Re: [RFC] A change in periodic work scheduling in bcm43xx

2006-09-05 Thread Michael Buesch
On Tuesday 05 September 2006 19:58, Larry Finger wrote: > Michael, > > Based on user reports and my own experiences, the current problems with > NETDEV WATCHDOG tx timeouts, > and the device just falling over do not happen when periodic work is not > preemptible. These problems > seem to affec

[PATCH 1/2] tcp-lp: bug fix for oops in 2.6.18-rc6

2006-09-05 Thread Edison
Sorry that the patch submited yesterday still contain a small bug. This version have already been test for hours with BT connections. The oops is now difficult to reproduce. Signed-off-by: Wong Hoi Sing Edison <[EMAIL PROTECTED]> --- diff -urpN linux-2.6.18-rc6/net/ipv4/tcp_lp.c linux/net/ipv4/t

[PATCH 2/2] tcp-lp: update information to MAINTAINERS

2006-09-05 Thread Edison
Signed-off-by: Wong Hoi Sing Edison <[EMAIL PROTECTED]> --- diff -urpN linux-2.6.18-rc6/MAINTAINERS linux/MAINTAINERS --- linux-2.6.18-rc6/MAINTAINERS2006-09-06 04:12:11.0 +0800 +++ linux/MAINTAINERS 2006-09-06 04:19:08.0 +0800 @@ -2818,6 +2818,14 @@ M: [EMAIL PROT

[PATCH 2/2] tcp-lp: update information to MAINTAINERS

2006-09-05 Thread Wong Edison
Signed-off-by: Wong Hoi Sing Edison <[EMAIL PROTECTED]> --- diff -urpN linux-2.6.18-rc6/MAINTAINERS linux/MAINTAINERS --- linux-2.6.18-rc6/MAINTAINERS2006-09-06 04:12:11.0 +0800 +++ linux/MAINTAINERS 2006-09-06 04:19:08.0 +0800 @@ -2818,6 +2818,14 @@ M: [EMAIL PRO

[PATCH 1/2] tcp-lp: bug fix for oops in 2.6.18-rc6

2006-09-05 Thread Wong Edison
Sorry that the patch submited yesterday still contain a small bug. This version have already been test for hours with BT connections. The oops is now difficult to reproduce. Signed-off-by: Wong Hoi Sing Edison <[EMAIL PROTECTED]> --- diff -urpN linux-2.6.18-rc6/net/ipv4/tcp_lp.c linux/net/ipv4/

Re: [2.6.19 PATCH 1/7] ehea: interface to network stack

2006-09-05 Thread Francois Romieu
Thomas Klein <[EMAIL PROTECTED]> : [...] > Somehow I don't get your point concerning the usage of 'k'. We need another > iterator as the for loops using 'k' use 'i' as their terminating condition. Something like the code below perhaps (with more local variables maybe): static int ehea_reg_interru

[patch] d80211: fix multiple device ap support

2006-09-05 Thread David Kimdon
Another fix to the interpretation of dev_alloc_name() return value. dev_alloc_name() returns the number of the unit assigned or a negative errno code. Signed-off-by: David Kimdon <[EMAIL PROTECTED]> Index: linux-2.6.16/net/d80211/ieee80211_iface.c =

Re: [RFC] network namespaces

2006-09-05 Thread Eric W. Biederman
Herbert Poetzl <[EMAIL PROTECTED]> writes: > On Tue, Sep 05, 2006 at 08:45:39AM -0600, Eric W. Biederman wrote: >> Daniel Lezcano <[EMAIL PROTECTED]> writes: >> >> For HPC if you are interested in migration you need a separate IP >> per container. If you can take you IP address with you migration

[RFC] A change in periodic work scheduling in bcm43xx

2006-09-05 Thread Larry Finger
Michael, Based on user reports and my own experiences, the current problems with NETDEV WATCHDOG tx timeouts, and the device just falling over do not happen when periodic work is not preemptible. These problems seem to affect BCM4306 rev 2 & 3 chips. Since I changed BADNESS_LIMIT to 20 to disab

Re: [PATCH][RFC] Re: high latency with TCP connections

2006-09-05 Thread Rick Jones
Alexey Kuznetsov wrote: Hello! Some people reported that this program runs in 9.997 sec when run on FreeBSD. Try enclosed patch. I have no idea why 9.997 sec is so magic, but I get exactly this number on my notebook. :-) Alexey = This patch enables sending ACKs each 2d re

Re: [RFC] network namespaces

2006-09-05 Thread Eric W. Biederman
> This family of containers are used too for HPC (high performance computing) > and > for distributed checkpoint/restart. The cluster runs hundred of jobs, spawning > them on different hosts inside an application container. Usually the jobs > communicates with broadcast and multicast. > Applicati

Re: [PATCH 2.6.18] WE-21 support (core API)

2006-09-05 Thread Jean Tourrilhes
On Mon, Sep 04, 2006 at 10:35:09AM +0200, Johannes Berg wrote: > Uh, please don't strip me from the CC list :) > > > WE-netlink is optional. And WE-ioctl could be made optional > > (still on the todo list). You can also disable WE-event and WE-iwspy > > for further footprint reduction. > > Th

[PATCH] bridge: random extra bytes on STP TCN packet

2006-09-05 Thread Stephen Hemminger
We seem to send 3 extra bytes in a TCN, which will be whatever happens to be on the stack. Thanks to [EMAIL PROTECTED] for seeing. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> diff -Naur a/net/bridge/br_stp_bpdu.c b/net/bridge/br_stp_bpdu.c --- a/net/bridge/br_stp_bpdu.c 2006-09-03 23:40

Re: [RFC] network namespaces

2006-09-05 Thread Herbert Poetzl
On Tue, Sep 05, 2006 at 08:45:39AM -0600, Eric W. Biederman wrote: > Daniel Lezcano <[EMAIL PROTECTED]> writes: > > >>>2. People expressed concerns that complete separation of namespaces > >>> may introduce an undesired overhead in certain usage scenarios. > >>> The overhead comes from packets

Re: sky2 problem on powerpc

2006-09-05 Thread Stephen Hemminger
On Tue, 05 Sep 2006 13:47:52 +1000 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > > It may not need any swapping, it is hard to tell what the hardware > > will do without experimentation. > > Yes... did you have a chance to test the vlan stuff on LE machines > (x86) ? did it work with the

Re: e1000 Detected Tx Unit Hang

2006-09-05 Thread Jesse Brandeburg
On 9/3/06, Paul Aviles <[EMAIL PROTECTED]> wrote: Hey Jesse, thanks for your reply. Here is the stuff on /procs. The weird no problem, part is that I have several other identical systems and only one is affected. Today I moved the hard drive to another similar system and I am not seeing the pr

Re: [RFC] network namespaces

2006-09-05 Thread Kirill Korotaev
Yes, performance is probably one issue. My concerns was for layer 2 / layer 3 virtualization. I agree a layer 2 isolation/virtualization is the best for the "system container". But there is another family of container called "application container", it is not a system which is run inside a cont

[PATCH] NOMMU: Make lib/ioremap.c conditional

2006-09-05 Thread David Howells
Make lib/ioremap.c conditional on !CONFIG_MMU. It plays with PTEs which don't exist under NOMMU conditions. Signed-Off-By: David Howells <[EMAIL PROTECTED]> --- warthog>diffstat -p1 nommu-ioremap-2618rc5mm1.diff lib/Makefile |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -urp

[PATCH] NOMMU: Move the fallback arch_vma_name() to a sensible place

2006-09-05 Thread David Howells
Move the fallback arch_vma_name() to a sensible place (kernel/signal.c). Currently it's in fs/proc/task_mmu.c, a file that is dependent on both CONFIG_PROC_FS and CONFIG_MMU being enabled, but it's used from kernel/signal.c from where it is called unconditionally. Signed-Off-By: David Howells <[

Re: [RFC] network namespaces

2006-09-05 Thread Daniel Lezcano
For HPC if you are interested in migration you need a separate IP per container. If you can take you IP address with you migration of networking state is simple. If you can't take your IP address with you a network container is nearly pointless from a migration perspective. Eric, please, I kno

[PATCH] FRV: do_gettimeofday() should no longer use tickadj

2006-09-05 Thread David Howells
Stop do_gettimeofday() on FRV from using tickadj, and model it after ARM instead. This patch also provides a placeholder macro for getting hardware timer data to be filled in when such is available. Signed-Off-By: David Howells <[EMAIL PROTECTED]> --- warthog>diffstat -p1 frv-tickadj-2618rc5mm1.

[PATCH] NOMMU: Provide page_mkclean() for NOMMU

2006-09-05 Thread David Howells
Provide a page_mkclean() implementation for NOMMU. This doesn't do anything except return successfully as there are no PTEs for it to play with. This is only relevant to the -mm kernels. Signed-Off-By: David Howells <[EMAIL PROTECTED]> --- warthog>diffstat -p1 nommu-page_mkclean-2618rc5mm1.diff

[PATCH] FRV: Fix {dis,en}able_irq_lockdep_irqrestore compile error

2006-09-05 Thread David Howells
Fix the lack of certain non-LOCKDEP stub functions in linux/interrupt.h and also provide FRV with LOCKDEP variants. This is to be applied to -mm kernel since not all of the functions added exist in the main kernel. Signed-Off-By: David Howells <[EMAIL PROTECTED]> --- warthog>diffstat -p1 frv-irq

[REVISED] [PATCH] ethtool v4: add autoneg advertise feature

2006-09-05 Thread Jeff Kirsher
adds the ability to change the advertised speed and duplex for a network interface. Previously, a network interface was only able to advertise all supported speed's and duplex's, or one individual speed and duplex. The feature allows the user to choose which supported speed's and duplex's to

Re: [2.6.19 PATCH 1/7] ehea: interface to network stack

2006-09-05 Thread Thomas Klein
Hi Francois, thanks for your review and your comments. See below our answers. Regards Thomas Francois Romieu wrote: >> +cb2 = kzalloc(H_CB_ALIGNMENT, GFP_KERNEL); >> +if (!cb2) { >> +ehea_error("no mem for cb2"); >> +goto kzalloc_failed; > > It's better when t

Re: sky2: hw checksum failures

2006-09-05 Thread Stephen Hemminger
Benjamin Herrenschmidt wrote: On Mon, 2006-09-04 at 20:56 -0700, Stephen Hemminger wrote: On Tue, 05 Sep 2006 13:42:38 +1000 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: On Mon, 2006-09-04 at 20:34 -0700, Stephen Hemminger wrote: Unneeded byte swap was occurring. --- linu

Re: [RFC] network namespaces

2006-09-05 Thread Eric W. Biederman
Daniel Lezcano <[EMAIL PROTECTED]> writes: >>>2. People expressed concerns that complete separation of namespaces >>> may introduce an undesired overhead in certain usage scenarios. >>> The overhead comes from packets traversing input path, then output path, >>> then input path again in the

Re: [take15 4/4] kevent: Timer notifications.

2006-09-05 Thread Arnd Bergmann
On Monday 04 September 2006 12:14, Evgeniy Polyakov wrote: > Timer notifications can be used for fine grained per-process time > management, since interval timers are very inconvenient to use, > and they are limited. I guess this must have been discussed before, but why is this not using high-re

Re: [RFC] network namespaces

2006-09-05 Thread Daniel Lezcano
Hi all, This complete separation of namespaces is very useful for at least two purposes: - allowing users to create and manage by their own various tunnels and VPNs, and - enabling easier and more straightforward live migration of groups of processes with their environment.

Re: [take15 1/4] kevent: Core files.

2006-09-05 Thread Arnd Bergmann
On Monday 04 September 2006 12:14, Evgeniy Polyakov wrote: > +asmlinkage long sys_kevent_get_events(int ctl_fd, unsigned int min_nr, > unsigned int max_nr, __u64 timeout, void __user *buf, > unsigned flags) > +asmlinkage long sys_kevent_ctl(int fd, unsigned int cmd, un

2.6.18-rc5-mm1: {dis,en}able_irq_lockdep_irqrestore compile error

2006-09-05 Thread Adrian Bunk
lockdep-core-add-enable-disable_irq_irqsave-irqrestore-apis.patch causes the following compile error on frv: <-- snip --> ... LD .tmp_vmlinux1 drivers/built-in.o: In function `ei_start_xmit': 8390.c:(.text+0x241c8): undefined reference to `disable_irq_nosync_lockdep_irqsave' 8390.c:(.t

Re: ProxyARP and IPSec

2006-09-05 Thread Alexey Kuznetsov
Hello! > >1. Probably, will not accept fragmented frames, because IPsec cannot > > handle them ... > I'm clearly failing to understand where, exactly, the problems lie. I > would appreciate any pointers and/or clue transfusion... I said "probably". Look into old rfc2401, search for word "fra

Fw: AIM7 fails with 2.6.18-rc5-mm1

2006-09-05 Thread Andrew Morton
We think this is a net bug. Begin forwarded message: Date: Mon, 4 Sep 2006 17:02:22 -0700 (PDT) From: Christoph Lameter <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: linux-kernel@vger.kernel.org Subject: AIM7 fails with 2.6.18-rc5-mm1 On an 8p Altix. 6 GB Ram AIM Multiuser Benchmark - Suite