Re: [PATCH 5/5 2.6.21] L2TP: Add PPPoL2TP in-kernel documentation

2007-04-30 Thread Bill Fink
On Mon, 30 Apr 2007, James Chapman wrote: > Signed-off-by: James Chapman <[EMAIL PROTECTED]> > > Index: linux-2.6.21/Documentation/networking/l2tp.txt > === > --- /dev/null > +++ linux-2.6.21/Documentation/networking/l2tp.txt > @@ -0

Re: [ofa-general] Re: IPoIB forwarding

2007-04-30 Thread Bill Fink
On Mon, 30 Apr 2007, Rick Jones wrote: > > What version of the myri10ge driver is this? With the 1.2.0 version > > that comes with the 2.6.20.7 kernel, there is no myri10ge_lro module > > parameter. > > > > [EMAIL PROTECTED] ~]# modinfo myri10ge | grep -i lro > > [EMAIL PROTECTED] ~]# > > > >

Re: udp hash change and ipv6

2007-04-30 Thread David Miller
From: YOSHIFUJI Hideaki / 吉藤英明 <[EMAIL PROTECTED]> Date: Tue, 01 May 2007 13:07:17 +0900 (JST) > Because I do not have enough time before depature to Lima > via LAX, I cannot send a full fix for this, but anyway... > > In net-2.6, __udp_lib_get_port() touches inet_sk(sk)->rcv_saddr, > which will

ehea.c compile error

2007-04-30 Thread Stephen Rothwell
Linus current tree: /home/sfr/kernels/linus/drivers/net/ehea/ehea_main.c: In function 'ehea_hash_skb': /home/sfr/kernels/linus/drivers/net/ehea/ehea_main.c:1806: error: 'struct sk_buff' has no member named 'nh' /home/sfr/kernels/linus/drivers/net/ehea/ehea_main.c:1807: error: 'struct sk_buff' h

[PATCH 2/2] Rename get_property to of_get_property: drivers

2007-04-30 Thread Stephen Rothwell
These are all the remaining instances of get_property. Simple rename of get_property to of_get_property. Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- drivers/ata/sata_svw.c |2 +- drivers/char/agp/uninorth-agp.c|2 +- drivers/char/briq_panel.c

[PATCH 1/2] get_property returns const

2007-04-30 Thread Stephen Rothwell
This is the last place that needs changing since get_property was changed to return "const void *". Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- drivers/net/ehea/ehea_main.c | 13 ++--- 1 files changed, 6 insertions(+), 7 deletions(-) -- Cheers, Stephen Rothwell

udp hash change and ipv6

2007-04-30 Thread YOSHIFUJI Hideaki / 吉藤英明
Dave, Because I do not have enough time before depature to Lima via LAX, I cannot send a full fix for this, but anyway... In net-2.6, __udp_lib_get_port() touches inet_sk(sk)->rcv_saddr, which will break ipv6, I think. We probably need to add a extra function pointer to check is sk has wildcard

[PATCH] IPV6 : get rid of __HAVE_ARCH_ADDR_SET

2007-04-30 Thread Eric Dumazet
__HAVE_ARCH_ADDR_SET seems unused these days, just get rid of it. Signed-off-by: Eric Dumazet <[EMAIL PROTECTED]> diff --git a/include/net/ipv6.h b/include/net/ipv6.h index f70afef..2ce3941 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h @@ -328,7 +328,6 @@ static inline void ipv6_addr_p

Re: Natsemi DP83815 driver spaming

2007-04-30 Thread Andrew Morton
On Mon, 30 Apr 2007 22:58:47 +0200 Rafał Bilski <[EMAIL PROTECTED]> wrote: > Hello, > > I have Wyse 3360SE terminal running Linux 2.6.21-rc7. Everything > works great with one small exception. Natsemi DP83815 driver is > filling log with: > > ezri user.info kernel: eth0: DSPCFG accepted after 0

Re: [Bugme-new] [Bug 8405] New: pppd does stops compresion with "Lost compression sync"

2007-04-30 Thread Andrew Morton
On Tue, 1 May 2007 05:20:10 +0200 Stefan Wenk <[EMAIL PROTECTED]> wrote: > > What is more interesting is that the pppd server log is logging errors. > > There are LCP EchoReq and EchoRep. Later a LCP ProtoRej messages occurs and > > then the connection is broken. I have attached a pppdump file of

Re: [Bugme-new] [Bug 8405] New: pppd does stops compresion with "Lost compression sync"

2007-04-30 Thread Stefan Wenk
On Monday 30 April 2007 21:12, Stefan Wenk wrote: > On Monday 30 April 2007 15:31, Richard Purdie wrote: > > On Mon, 2007-04-30 at 14:08 +0200, Stefan Wenk wrote: > > > On Sunday 29 April 2007 23:20, Andrew Morton wrote: > > > > (switch to email - please retain all ccs) > > > > > > > > On Sun, 29 A

[PATCH] zd1211rw-mac80211: Add ID for ZyXEL AG-225H v2

2007-04-30 Thread Daniel Drake
Tested by davo on IRC zd1211b chip 0586:3413 v4810 full 00-13-49 AL7230B_RF pa0 - Signed-off-by: Daniel Drake <[EMAIL PROTECTED]> --- drivers/net/wireless/mac80211/zd1211rw/zd_usb.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/mac80211/zd1211rw

[PATCH] zd1211rw-mac80211: Add ID for Sitecom WL-117

2007-04-30 Thread Daniel Drake
From: Matthew Davidson <[EMAIL PROTECTED]> This is another "driverless" device which first presents itself as a USB CDROM drive. A separate patch has been submitted to make usb-storage ignore that device, so that zd1211rw can eject it. zd1211 chip 0df6:9075 v4916 full 00-0c-f6 AL2230_RF pa0

[PATCH] zd1211rw-mac80211: Added new USB id for Planex GW-US54ZGL

2007-04-30 Thread Daniel Drake
From: Ulrich Kunitz <[EMAIL PROTECTED]> Alan Tam asked for inclusion of this device into the tree. Signed-off-by: Ulrich Kunitz <[EMAIL PROTECTED]> Signed-off-by: Daniel Drake <[EMAIL PROTECTED]> --- drivers/net/wireless/mac80211/zd1211rw/zd_usb.c |1 + 1 files changed, 1 insertions(+), 0 d

[PATCH] zd1211rw-mac80211: limit URB buffering in tx path

2007-04-30 Thread Daniel Drake
From: Ulrich Kunitz <[EMAIL PROTECTED]> The old code allowed unlimited buffing of tx frames in URBs submitted for transfer to the device. This patch stops the ieee80211_hw queue(s) if to many URBs are ready for submit to the device. Actually the ZD1211 device supports currently only one queue. Si

[PATCH] zd1211rw-mac80211: remove static table from zd_mac.h

2007-04-30 Thread Daniel Drake
From: Ulrich Kunitz <[EMAIL PROTECTED]> The header zd_mac.h did contain static declaration of tables, which are only used in zd_mac.c. These tables have been moved into the C file itself. Signed-off-by: Ulrich Kunitz <[EMAIL PROTECTED]> Signed-off-by: Daniel Drake <[EMAIL PROTECTED]> --- drivers

[PATCH] zd1211rw-mac80211: fixed freeing skbs in interrupt context

2007-04-30 Thread Daniel Drake
From: Ulrich Kunitz <[EMAIL PROTECTED]> Some of the kfree_skb() calls could happen in irq context. Changed all calls to dev_kfree_skb() in non-irq context and to dev_kfree_skb_any() where an irq context might happen. Signed-off-by: Ulrich Kunitz <[EMAIL PROTECTED]> Signed-off-by: Daniel Drake <[E

Re: [irda-users] [BUG] 2.6.20.1-rt8 irnet + pppd recursive spinlock...

2007-04-30 Thread Samuel Ortiz
On Mon, Apr 30, 2007 at 03:24:05PM +0200, Guennadi Liakhovetski wrote: > On Tue, 10 Apr 2007, Samuel Ortiz wrote: > > > Hi Guennadi, > > > > The patch below schedules irnet_flow_indication() asynchronously. Could > > you please give it a try (it builds, but I couldn't test it...) ? : > > Ok, you

Re: [PATCH 2.6.22 5/5] iw_cxgb3: Update required firmware revision to 4.0.0.

2007-04-30 Thread Roland Dreier
Thanks, I applied all 5, with the FW version change rolled up into #4/5. - 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.21 known regressions (v2) (for -stable team)

2007-04-30 Thread Håkan Lindqvist
On Mon, 2007-04-30 at 14:30 -0700, Stephen Hemminger wrote: > > Subject: 2.6.21: sky2 "hw csum failure" problem > > References : http://lkml.org/lkml/2007/4/28/105 > > Submitter : Håkan Lindqvist <[EMAIL PROTECTED]> > > Status : unknown > > > > This is not a "regression" it is a bug, tha

Re: 2.6.21 known regressions (v2) (for -stable team)

2007-04-30 Thread Stephen Hemminger
> Subject: 2.6.21: sky2 "hw csum failure" problem > References : http://lkml.org/lkml/2007/4/28/105 > Submitter : Håkan Lindqvist <[EMAIL PROTECTED]> > Status : unknown > This is not a "regression" it is a bug, that has shown up for some users for quite a while, see: http://bugzilla.ke

[PATCH] sky2: re-enable 88E8056 for most motherboards

2007-04-30 Thread Stephen Hemminger
This fixes the regression in 2.6.21 for users with 88e8056 on motherboard. Allow all but the Gigabyte motherboard has some unresolved bus problems. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- drivers/net/sky2.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(

Re: [ofa-general] Re: IPoIB forwarding

2007-04-30 Thread Rick Jones
Only the 1.2.0 version of the external driver makes LRO incompatible with forwarding. The problem should be fixed in version 1.3.0 released a few weeks ago (forwarding with myri10ge_lro enabled should then work), let us know otherwise. Anyway, following David Miller remark about netfilter, for

Re: [RFC, PATCH] IPV6 : add 64 bits components in struct in6_addr to speedup ipv6_addr_equal() & ipv6_addr_any()

2007-04-30 Thread David Miller
From: Andi Kleen <[EMAIL PROTECTED]> Date: 30 Apr 2007 23:34:20 +0200 > David Miller <[EMAIL PROTECTED]> writes: > > > > Unfortunately, as mentioned elsewhere, we're only able to assume > > 32-bit alignment of ipv6 packet headers and that isn't likely to > > change any time soon. > > On x86 it w

Re: [RFC, PATCH] IPV6 : add 64 bits components in struct in6_addr to speedup ipv6_addr_equal() & ipv6_addr_any()

2007-04-30 Thread Andi Kleen
David Miller <[EMAIL PROTECTED]> writes: > > Unfortunately, as mentioned elsewhere, we're only able to assume > 32-bit alignment of ipv6 packet headers and that isn't likely to > change any time soon. On x86 it would be fine at least -- unaligned access is cheap. I believe the same is true for PO

net-2.6.22 TCP testing

2007-04-30 Thread SANGTAE HA
Hi all, See the TCP testing results of net-2.6.22.git tree at http://netsrv.csc.ncsu.edu/wiki/index.php/Intra_protocol_fairness_testing_with_net-2.6.22.git In addition to Stephen's recent 1Mbit DSL result, the results include the cases with four different bandwidths (10M/100M/200M/400M) and the

Re: many sockets, slow sendto

2007-04-30 Thread Eric Dumazet
YOSHIFUJI Hideaki / 吉藤英明 a écrit : In article <[EMAIL PROTECTED]> (at Mon, 30 Apr 2007 14:47:15 +0200), Eric Dumazet <[EMAIL PROTECTED]> says: Also, I am not sure we need to use all 128 bits of IPV6 address, maybe the 64 low order bits are enough ? Well, maybe, but in IPv6, auto-configured

Re: many sockets, slow sendto

2007-04-30 Thread YOSHIFUJI Hideaki / 吉藤英明
In article <[EMAIL PROTECTED]> (at Mon, 30 Apr 2007 14:47:15 +0200), Eric Dumazet <[EMAIL PROTECTED]> says: > Also, I am not sure we need to use all 128 bits of IPV6 address, maybe the 64 > low order bits are enough ? Well, maybe, but in IPv6, auto-configured addresses on an interface have the

Re: [RFC, PATCH] IPV6 : add 64 bits components in struct in6_addr to speedup ipv6_addr_equal() & ipv6_addr_any()

2007-04-30 Thread David Miller
From: Eric Dumazet <[EMAIL PROTECTED]> Date: Mon, 30 Apr 2007 21:08:45 +0200 > Maybe we could at least define a 'struct in6_addr_k' for internal > structures only, to speedup some parts of IPV6 stack. I think it's better to put this on the backburner for now :-) We could achieve all of this if w

Re: [RFC, PATCH] IPV6 : add 64 bits components in struct in6_addr to speedup ipv6_addr_equal() & ipv6_addr_any()

2007-04-30 Thread David Miller
From: Eric Dumazet <[EMAIL PROTECTED]> Date: Mon, 30 Apr 2007 16:28:51 +0200 > On 64bit arches, we can speedup some IPV6 addresses compares, using 64 bits > fields in struct in6_addr. > > I am not sure if this patch wont break some user ABI, maybe we should use > some ifdef(KERNEL) ? > > This

Re: [RFC, PATCH] IPV6 : add 64 bits components in struct in6_addr to speedup ipv6_addr_equal() & ipv6_addr_any()

2007-04-30 Thread Eric Dumazet
David Miller a écrit : From: Brian Haley <[EMAIL PROTECTED]> Date: Mon, 30 Apr 2007 12:27:07 -0400 The problem is that drivers don't necessarily align the address on the correct boundary, so on some 64-bit arches this could be fatal. There's ways around it since I did it in a previous life, b

Re: [RFC, PATCH] IPV6 : add 64 bits components in struct in6_addr to speedup ipv6_addr_equal() & ipv6_addr_any()

2007-04-30 Thread David Miller
From: Brian Haley <[EMAIL PROTECTED]> Date: Mon, 30 Apr 2007 12:27:07 -0400 > The problem is that drivers don't necessarily align the address on the > correct boundary, so on some 64-bit arches this could be fatal. There's > ways around it since I did it in a previous life, but you'd need to co

Net-2.6.22 TCP testing

2007-04-30 Thread SANGTAE HA
Hi all, See the TCP testing results of net-2.6.22.git tree at http://netsrv.csc.ncsu.edu/wiki/index.php/Intra_protocol_fairness_testing_with_net-2.6.22.git In addition to Stephen's recent 1Mbit DSL result, the results include the cases with four different bandwidths (10M/100M/200M/400M) and back

Re: [patch 27/32] xen: Add the Xen virtual network device driver.

2007-04-30 Thread Jeremy Fitzhardinge
Christoph Hellwig wrote: > On Sun, Apr 29, 2007 at 10:29:02AM -0700, Jeremy Fitzhardinge wrote: > >> +#include >> > > not needed. > Yup. >> +#include >> +#include >> +#include >> +#ifdef CONFIG_XEN_BALLOON >> +#include >> +#endif >> +#include >> > > Please don't try to put s

Re: [Bugme-new] [Bug 8409] New: e1000 : checksum incorrect for eth0 but not for ppp0 packets

2007-04-30 Thread Andrew Morton
On Mon, 30 Apr 2007 09:29:56 -0700 [EMAIL PROTECTED] wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=8409 > >Summary: e1000 : checksum incorrect for eth0 but not for ppp0 > packets > Kernel Version: 2.6.20-gentoo-r7 > Status: NEW > Sev

Problems with list

2007-04-30 Thread Martín Ferrari
I've been sending mail to linux-net and netdev without any success. I even subscribed to both lists, and still my mail doesn't deliver. I'm trying a different MUA to see if majordomo is eating my email for some obscure reason, please somebody reply me privately if this gets thru. -- Martín Ferrar

Re: [ofa-general] Re: IPoIB forwarding

2007-04-30 Thread Rick Jones
David Miller wrote: From: Rick Jones <[EMAIL PROTECTED]> Date: Fri, 27 Apr 2007 16:48:00 -0700 No problem - just to play whatif/devil's advocate for a bit though... is there any way to tie that in with the setting of net.ipv4.ip_forward (and/or its IPv6 counterpart)? Even ignoring that, con

Re: [ofa-general] Re: IPoIB forwarding

2007-04-30 Thread Rick Jones
What version of the myri10ge driver is this? With the 1.2.0 version that comes with the 2.6.20.7 kernel, there is no myri10ge_lro module parameter. [EMAIL PROTECTED] ~]# modinfo myri10ge | grep -i lro [EMAIL PROTECTED] ~]# And I've been testing IP forwarding using two Myricom 10-GigE NICs wit

[patch] fix smc911x compilation breakage

2007-04-30 Thread Vitaly Wool
Hello, this is the updated version of smc911x compilation breakage fix. Hope it's fine now. It just adapts the driver to the new IRQ API according to what Russell has pointed out. drivers/net/smc911x.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) Signed-off-by: Vitaly Wool <[E

Re: [RFC] [PATCH] [XFRM]: Restrict upper layer information by bundle.

2007-04-30 Thread Masahide NAKAMURA
On Sun, 29 Apr 2007 22:21:45 -0700 (PDT) David Miller <[EMAIL PROTECTED]> wrote: > From: Masahide NAKAMURA <[EMAIL PROTECTED]> > Date: Mon, 30 Apr 2007 13:36:03 +0900 > > > Can you have a time to check this? > > If it is lost, I can send it again. > > I still have it, I just have not processed

Re: [RFC] [PATCH] [XFRM]: Restrict upper layer information by bundle.

2007-04-30 Thread Masahide NAKAMURA
On Mon, 30 Apr 2007 00:34:37 -0700 (PDT) David Miller <[EMAIL PROTECTED]> wrote: > From: Masahide NAKAMURA <[EMAIL PROTECTED]> > Date: Fri, 6 Apr 2007 16:25:39 +0900 > > > On MIPv6 usage, XFRM sub policy is enabled. > > When main (IPsec) and sub (MIPv6) policy selectors have the same > > addres

Re: [PATCH 3/5] s390: use kthread_run in qeth and lcs

2007-04-30 Thread Frank Pavlic
On Mon, Apr 30, 2007 at 05:03:29PM +0100, Christoph Hellwig wrote: > On Mon, Apr 30, 2007 at 05:42:57PM +0200, Frank Pavlic wrote: > > From: Eric Biederman <[EMAIL PROTECTED]> > > > > This patch modifies the qeth_recover thread to be started > > with kthread_run not a combination of kernel_thread

Re: [RFC, PATCH] IPV6 : add 64 bits components in struct in6_addr to speedup ipv6_addr_equal() & ipv6_addr_any()

2007-04-30 Thread Brian Haley
Eric Dumazet wrote: On 64bit arches, we can speedup some IPV6 addresses compares, using 64 bits fields in struct in6_addr. diff --git a/include/linux/in6.h b/include/linux/in6.h index 2a61c82..a4241a6 100644 --- a/include/linux/in6.h +++ b/include/linux/in6.h @@ -34,10 +34,12 @@ struct in6_ad

Re: [RFC, PATCH] IPV6 : add 64 bits components in struct in6_addr to speedup ipv6_addr_equal() & ipv6_addr_any()

2007-04-30 Thread YOSHIFUJI Hideaki / 吉藤英明
In article <[EMAIL PROTECTED]> (at Mon, 30 Apr 2007 16:28:51 +0200), Eric Dumazet <[EMAIL PROTECTED]> says: > On 64bit arches, we can speedup some IPV6 addresses compares, using 64 bits > fields in struct in6_addr. > > I am not sure if this patch wont break some user ABI, maybe we should use >

Re: [PATCH 3/5] s390: use kthread_run in qeth and lcs

2007-04-30 Thread Christoph Hellwig
On Mon, Apr 30, 2007 at 05:42:57PM +0200, Frank Pavlic wrote: > From: Eric Biederman <[EMAIL PROTECTED]> > > This patch modifies the qeth_recover thread to be started > with kthread_run not a combination of kernel_thread and > daemonize. Resulting in slightly simpler and more maintainable > code.

[PATCH 1/5] s390: fix connection hang in qeth

2007-04-30 Thread Frank Pavlic
From: Ursula Braun <[EMAIL PROTECTED]> Frank Pavlic <[EMAIL PROTECTED]> Connection hangs when using EDDP mode because sk is NULL when skb has been copied via skb_copy. This results in dropping packets. Also keep MAC address after recovery of Virtual NICs so that traffic can flow again

[PATCH 2/5] s390: free skbs in finite amount of time in qeth

2007-04-30 Thread Frank Pavlic
From: Ursula Braun <[EMAIL PROTECTED]> Free sent skbs in some finite amount of time. Affected are asynchronous queue of Hipersockets devices and the output queues of all eth-devices respectively. Signed-off-by: Ursula Braun <[EMAIL PROTECTED]> Signed-off-by: Frank Pavlic <[EMAIL PROTECTED]>

[PATCH 5/5] s390: qeth driver hardware specs adaptions

2007-04-30 Thread Frank Pavlic
From: Peter Tiedemann <[EMAIL PROTECTED]> s390: qeth driver hardware specs adaptions - according to the latest OSA hardware specification incorporate actual IPA command and return codes into qeth. - whitespaces removed from qeth_mpc.h Signed-off-by: Peter Tiedemann <[EMAIL PROTECTED

[PATCH 4/5] s390: fix Oops when unloading module netiucv

2007-04-30 Thread Frank Pavlic
From: Ursula Braun <[EMAIL PROTECTED]> don't remove an entry from iucv_connection_list in netiucv_exit(). netiucv_free_netdevice is called anyway, which takes care of entry removal. Signed-off-by: Ursula Braun <[EMAIL PROTECTED]> Signed-off-by: Frank Pavlic <[EMAIL PROTECTED]> --- netiucv.c |

[PATCH 3/5] s390: use kthread_run in qeth and lcs

2007-04-30 Thread Frank Pavlic
From: Eric Biederman <[EMAIL PROTECTED]> This patch modifies the qeth_recover thread to be started with kthread_run not a combination of kernel_thread and daemonize. Resulting in slightly simpler and more maintainable code. Signed-off-by: Eric W. Biederman <[EMAIL PROTECTED]> Signed-off-by: Fran

Re: r8169 ethernet bonding problems

2007-04-30 Thread Tim Durack
On 4/30/07, Tim Durack <[EMAIL PROTECTED]> wrote: > A tcpdump trace 1) before promiscuous mode 2) after promiscuous mode 3) > after link failure (i.e. failover does not work) would be welcome. See attached. Captures performed on bond0. Let me know if you prefer captures against the physical memb

Re: r8169 ethernet bonding problems

2007-04-30 Thread Tim Durack
A tcpdump trace 1) before promiscuous mode 2) after promiscuous mode 3) after link failure (i.e. failover does not work) would be welcome. See attached. Captures performed on bond0. Let me know if you prefer captures against the physical member interfaces. Tim:> promisc-off.pcap Description:

[PATCH 5/5] MIPS: Drop unnecessary CONFIG_ISA from RBTX49XX

2007-04-30 Thread Atsushi Nemoto
Those boards do not need CONFIG_ISA if the ne driver could be selectable without it. Disable it and update a defconfig. Signed-off-by: Atsushi Nemoto <[EMAIL PROTECTED]> --- arch/mips/Kconfig |2 -- arch/mips/configs/rbhma4500_defconfig | 31

[PATCH 3/5] ne: Add NEEDS_PORTLIST to control ISA auto-probe

2007-04-30 Thread Atsushi Nemoto
Add NEEDS_PORTLIST cpp macro to control ISA auto-probe. (I'm not sure M32R needs auto-probe but it is current behavior) Signed-off-by: Atsushi Nemoto <[EMAIL PROTECTED]> --- drivers/net/ne.c | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/net/ne.c b/driv

[PATCH 4/5] ne: MIPS: Use platform_driver for ne on RBTX49XX

2007-04-30 Thread Atsushi Nemoto
This patch lets RBTX49XX boards use generic platform_driver interface for the ne driver. * Use platform_device to pass ioaddr and irq to the ne driver. * Remove unnecessary ifdefs for RBTX49XX from the ne driver. * Make the ne driver selectable on these boards regardless of CONFIG_ISA Signed-off-

[PATCH 0/5] ne: MIPS: platform_driver

2007-04-30 Thread Atsushi Nemoto
Currently ne.c has some codes to support RBTX49XX boards but it is not complete. Instead of adding more hacks to fix it, this patchset add an generic platform_driver interface to the driver and let RBTX49XX use it. [PATCH 1/5] ne: Add platform_driver [PATCH 2/5] ne: Misc fixes for platform driver

[PATCH 1/5] ne: Add platform_driver

2007-04-30 Thread Atsushi Nemoto
Add a platform_driver interface to ne driver. (Existing legacy ports did not covered by this ne_driver for now) Signed-off-by: Atsushi Nemoto <[EMAIL PROTECTED]> --- drivers/net/ne.c | 91 - 1 files changed, 89 insertions(+), 2 deletions(-) d

[PATCH 2/5] ne: Misc fixes for platform driver.

2007-04-30 Thread Atsushi Nemoto
Miscellaneous fixes to make ne platform driver work properly. * Make ioaddr 'unsigned long'. * Move a printk down to show dev->name assigned in register_netdev. Signed-off-by: Atsushi Nemoto <[EMAIL PROTECTED]> --- drivers/net/ne.c | 13 +++-- 1 files changed, 7 insertions(+), 6 deleti

Re: [PATCH 2/3] ne: MIPS: Use platform_driver for ne on RBTX49XX

2007-04-30 Thread Atsushi Nemoto
On Sun, 29 Apr 2007 02:10:37 +0900 (JST), Atsushi Nemoto <[EMAIL PROTECTED]> wrote: > > platform_device_register_simple() copies *res by value, so I believe we can > > make res[] static __initdata. This way we don't need to evaluate the array > > on the stack at runtime, and the data gets discard

IEEE1588 Precision Time Protocol (PTP) driver for AMCC 405EZ

2007-04-30 Thread Stefan Roese
Hi all, I'm in the stage of integrating an IEEE1588 PTP driver for the AMCC 405EZ PPC and looking for the correct location to place this driver in the Linux source tree. The driver is a character-driver that enables the user space applications to configure the time stamping unit and to read/wri

Re: r8169 ethernet bonding problems

2007-04-30 Thread Tim Durack
Can you revert patch #0012 and see if it changes this part of the problem ? Reverted. mac is still wrong - I assume the eprom got corrupted somehow. ~# modprobe r8169 r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded ACPI: PCI Interrupt :00:09.0[A] -> GSI 18 (level, low) -> IRQ 16 eth1: RTL81

[RFC, PATCH] IPV6 : add 64 bits components in struct in6_addr to speedup ipv6_addr_equal() & ipv6_addr_any()

2007-04-30 Thread Eric Dumazet
On 64bit arches, we can speedup some IPV6 addresses compares, using 64 bits fields in struct in6_addr. I am not sure if this patch wont break some user ABI, maybe we should use some ifdef(KERNEL) ? This patch saves some space, and also reduce number of conditional branches in ipv6_addr_equal()

Re: [Bugme-new] [Bug 8405] New: pppd does stops compresion with "Lost compression sync"

2007-04-30 Thread Richard Purdie
On Mon, 2007-04-30 at 14:08 +0200, Stefan Wenk wrote: > On Sunday 29 April 2007 23:20, Andrew Morton wrote: > > (switch to email - please retain all ccs) > > > > On Sun, 29 Apr 2007 13:01:25 -0700 [EMAIL PROTECTED] wrote: > > > http://bugzilla.kernel.org/show_bug.cgi?id=8405 > > > > > > Here is the

Re: [irda-users] [BUG] 2.6.20.1-rt8 irnet + pppd recursive spinlock...

2007-04-30 Thread Guennadi Liakhovetski
On Tue, 10 Apr 2007, Samuel Ortiz wrote: > Hi Guennadi, > > The patch below schedules irnet_flow_indication() asynchronously. Could > you please give it a try (it builds, but I couldn't test it...) ? : Ok, your patch (still below) works too (now that I fixed that state machine race, btw, we sti

RE: [PATCH] IPROUTE: Modify tc for new PRIO multiqueue behavior

2007-04-30 Thread jamal
On Fri, 2007-27-04 at 08:45 -0700, Waskiewicz Jr, Peter P wrote: > > On Thu, 2007-26-04 at 09:30 -0700, Waskiewicz Jr, Peter P wrote: > I agree, that to be fair for discussing the code that you should look at > the patches before drawing conclusions. > I appreciate the fact you have > a differe

Re: many sockets, slow sendto

2007-04-30 Thread Eric Dumazet
On Mon, 30 Apr 2007 19:56:04 +0900 (JST) YOSHIFUJI Hideaki / 吉藤英明 <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]> (at Mon, 30 Apr 2007 00:26:43 -0700 (PDT)), > David Miller <[EMAIL PROTECTED]> says: > > > > Signed-off-by: Eric Dumazet <[EMAIL PROTECTED]> > > > > Eric, I've applied t

Re: [Bugme-new] [Bug 8405] New: pppd does stops compresion with "Lost compression sync"

2007-04-30 Thread Stefan Wenk
On Sunday 29 April 2007 23:20, Andrew Morton wrote: > (switch to email - please retain all ccs) > > On Sun, 29 Apr 2007 13:01:25 -0700 [EMAIL PROTECTED] wrote: > > http://bugzilla.kernel.org/show_bug.cgi?id=8405 > > > >Summary: pppd does stops compresion with "Lost compression > > sync"

Re: [PATCH][XFRM] export SPD info

2007-04-30 Thread jamal
On Sat, 2007-28-04 at 21:19 -0700, David Miller wrote: > I think filtering in the kernel makes sense when the kernel > is in a unique place to make the algorithmic complexity of the > filtering minimal. The TCP socket dumping is a good example > of that. > > For things like this I think it's rea

[PATCH 22/36] Use menuconfig objects II - netdev/pcmcia

2007-04-30 Thread Jan Engelhardt
Change Kconfig objects from "menu, config" into "menuconfig" so that the user can disable the whole feature without having to enter the menu first. Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]> --- drivers/net/pcmcia/Kconfig | 23 +++ 1 file changed, 7 insertions(+), 1

[PATCH 23/36] Use menuconfig objects II - netdev/wan

2007-04-30 Thread Jan Engelhardt
Change Kconfig objects from "menu, config" into "menuconfig" so that the user can disable the whole feature without having to enter the menu first. Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]> --- drivers/net/wan/Kconfig | 34 +++--- 1 file changed, 15 inserti

[PATCH 21/36] Use menuconfig objects II - netdev/atm

2007-04-30 Thread Jan Engelhardt
Make a "menuconfig" out of the Kconfig objects "menu, ..., endmenu", so that the user can disable all the options in that menu at once instead of having to disable each option separately. Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]> --- drivers/atm/Kconfig | 32 +-

[PATCH 20/36] Use menuconfig objects II - netdev (general+100mbit)

2007-04-30 Thread Jan Engelhardt
CONFIG_NETDEVICES, CONFIG_NET_ETHERNET: Change Kconfig objects from "menu, config" into "menuconfig" so that the user can disable the whole feature without having to enter the menu first. CONFIG_SMC9194: Move it so that it appears correctly in menuconfig. Signed-off-by: Jan Engelhardt <[EMAIL PR

Re: many sockets, slow sendto

2007-04-30 Thread YOSHIFUJI Hideaki / 吉藤英明
In article <[EMAIL PROTECTED]> (at Mon, 30 Apr 2007 00:26:43 -0700 (PDT)), David Miller <[EMAIL PROTECTED]> says: > > Signed-off-by: Eric Dumazet <[EMAIL PROTECTED]> > > Eric, I've applied this, thanks again. > > Could I trouble you to cook up an ipv6 version of this patch? Here's my tentative

[PATCH 5/5 2.6.21] L2TP: Add PPPoL2TP in-kernel documentation

2007-04-30 Thread James Chapman
Signed-off-by: James Chapman <[EMAIL PROTECTED]> Index: linux-2.6.21/Documentation/networking/l2tp.txt === --- /dev/null +++ linux-2.6.21/Documentation/networking/l2tp.txt @@ -0,0 +1,167 @@ +This brief document describes how to use th

[PATCH 2/5 2.6.21] L2TP: Changes to existing ppp and socket kernel headers for L2TP

2007-04-30 Thread James Chapman
Add struct sockaddr_pppol2tp to carry L2TP-specific address information for the PPPoX (PPPoL2TP) socket. Unfortunately we can't use the union inside struct sockaddr_pppox because the L2TP-specific data is larger than the current size of the union and we must preserve the size of struct sockaddr_ppp

[PATCH 4/5 2.6.21] L2TP: Add PPPoL2TP maintainer

2007-04-30 Thread James Chapman
Signed-off-by: James Chapman <[EMAIL PROTECTED]> Index: linux-2.6.21/MAINTAINERS === --- linux-2.6.21.orig/MAINTAINERS +++ linux-2.6.21/MAINTAINERS @@ -2700,6 +2700,11 @@ P: Michal Ostrowski M: [EMAIL PROTECTED] S: Mai

[PATCH 1/5 2.6.21] UDP: Introduce UDP encapsulation type for L2TP

2007-04-30 Thread James Chapman
This patch adds a new UDP_ENCAP_L2TPINUDP encapsulation type for UDP sockets. When a UDP socket's encap_type is UDP_ENCAP_L2TPINUDP, the skb is delivered to a function pointed to by udp_encap_l2tp_rcv. If the skb isn't wanted by L2TP, it returns >0, which causes it to be passed through to UDP. A fu

[PATCH 0/5 2.6.21] L2TP: Introduce PPP-over-L2TP driver

2007-04-30 Thread James Chapman
This patch set adds a driver for PPP over L2TP. Patches to follow. The following changes have been made since the previous version submitted 23-APR-07. - Hold list lock while processing reorder queue in pppol2tp_recv_dequeue(). - Fix more __be type annotations. - Add a new UDP encapsulation s

Re: [PATCH] [RFC] [TCP]: Catch skb with S+L bugs earlier

2007-04-30 Thread Ilpo Järvinen
On Mon, 30 Apr 2007, David Miller wrote: > From: "Ilpo_Järvinen" <[EMAIL PROTECTED]> > Date: Mon, 30 Apr 2007 10:49:21 +0300 (EEST) > > > On Mon, 30 Apr 2007, Ilpo Järvinen wrote: > > > > > On Mon, 30 Apr 2007, David Miller wrote: > > > > > > > From: "Ilpo_Järvinen" <[EMAIL PROTECTED]> > > > >

Re: [PATCH] [RFC] [TCP]: Catch skb with S+L bugs earlier

2007-04-30 Thread David Miller
From: "Ilpo_Järvinen" <[EMAIL PROTECTED]> Date: Mon, 30 Apr 2007 10:49:21 +0300 (EEST) > On Mon, 30 Apr 2007, Ilpo Järvinen wrote: > > > On Mon, 30 Apr 2007, David Miller wrote: > > > > > From: "Ilpo_Järvinen" <[EMAIL PROTECTED]> > > > Date: Wed, 28 Mar 2007 17:02:47 +0300 (EEST) > > > > > > >

Re: [PATCH 4/6] [IPV4] SNMP: Support InMcastPkts and InBcastPkts

2007-04-30 Thread David Miller
From: Mitsuru Chinen <[EMAIL PROTECTED]> Date: Tue, 17 Apr 2007 20:13:56 +0900 > A received IP multicast datagram should be counted as InMcastPkts. > By the same token, a received IP broadcast datagram should be > counted as InBcastPkts. > > Signed-off-by: Mitsuru Chinen <[EMAIL PROTECTED]> Patc

Re: [PATCH 5/6] [IPV4] SNMP: Support OutMcastPkts and OutBcastPkts

2007-04-30 Thread David Miller
From: Mitsuru Chinen <[EMAIL PROTECTED]> Date: Tue, 17 Apr 2007 20:14:18 +0900 > A transmitted IP multicast datagram should be counted as OutMcastPkts. > By the same token, a transmitted IP broadcast datagram should be > counted as OutBcastPkts. > > Signed-off-by: Mitsuru Chinen <[EMAIL PROTECTED

Re: [PATCH 6/6] [IPV4] SNMP: Display new statistics at /proc/net/snmp

2007-04-30 Thread David Miller
From: Mitsuru Chinen <[EMAIL PROTECTED]> Date: Fri, 27 Apr 2007 16:46:30 +0900 > On Tue, 17 Apr 2007 20:14:36 +0900 > Mitsuru Chinen <[EMAIL PROTECTED]> wrote: > > > This displays the statistics specified in the updated IP-MIB RFC > > (RFC4293) at /proc/net/snmp. As new statistics are placed as t

Re: [PATCH 3/6] [IPV4] SNMP: Support InTruncatedPkts

2007-04-30 Thread David Miller
From: Mitsuru Chinen <[EMAIL PROTECTED]> Date: Tue, 17 Apr 2007 20:13:37 +0900 > An IP datagram which is being discarded because the datagram frame > didn't carry enough data should be counted as InTruncatedPkts. > > Signed-off-by: Mitsuru Chinen <[EMAIL PROTECTED]> Applied, thanks. - To unsubsc

Re: [PATCH] [RFC] [TCP]: Catch skb with S+L bugs earlier

2007-04-30 Thread Ilpo Järvinen
On Mon, 30 Apr 2007, Ilpo Järvinen wrote: > On Mon, 30 Apr 2007, David Miller wrote: > > > From: "Ilpo_Järvinen" <[EMAIL PROTECTED]> > > Date: Wed, 28 Mar 2007 17:02:47 +0300 (EEST) > > > > > SACKED_ACKED and LOST are mutually exclusive, thus this > > > condition is bug with SACK (IMHO). NewReno

Re: [PATCH 2/6] [IPV4] SNMP: Support InNoRoutes

2007-04-30 Thread David Miller
From: Mitsuru Chinen <[EMAIL PROTECTED]> Date: Tue, 17 Apr 2007 20:13:15 +0900 > An IP datagram which is being discarded because of no routes in the > forwarding path should be counted as InNoRoutes. > > Signed-off-by: Mitsuru Chinen <[EMAIL PROTECTED]> Patch applied, thanks. - To unsubscribe fr

Re: [PATCH 1/6] SNMP: Add definitions for {In,Out}BcastPkts

2007-04-30 Thread David Miller
From: Mitsuru Chinen <[EMAIL PROTECTED]> Date: Tue, 17 Apr 2007 20:12:47 +0900 > The updated IP-MIB RFC (RFC4293) specifys new objects, InBcastPkts > and OutBcastPkts. This adds definitions for them. > > Signed-off-by: Mitsuru Chinen <[EMAIL PROTECTED]> Patch applied, thank you. - To unsubscribe

Re: [PATCH 2/2] [TCP] FRTO: RFC4138 allows Nagle override when new data must be sent

2007-04-30 Thread David Miller
From: "Ilpo_Järvinen" <[EMAIL PROTECTED]> Date: Wed, 11 Apr 2007 12:24:04 +0300 > This is a corner case where less than MSS sized new data thingie > is awaiting in the send queue. For F-RTO to work correctly, a > new data segment must be sent at certain point or F-RTO cannot > be used at all. RFC4

Re: [PATCH] [RFC] [TCP]: Catch skb with S+L bugs earlier

2007-04-30 Thread Ilpo Järvinen
On Mon, 30 Apr 2007, David Miller wrote: > From: "Ilpo_Järvinen" <[EMAIL PROTECTED]> > Date: Wed, 28 Mar 2007 17:02:47 +0300 (EEST) > > > SACKED_ACKED and LOST are mutually exclusive, thus this > > condition is bug with SACK (IMHO). NewReno, however, could get > > enough duplicate ACKs which incr

Re: [PATCH 1/2] [TCP] FRTO: Delay skb available check until it's mandatory

2007-04-30 Thread David Miller
From: "Ilpo_Järvinen" <[EMAIL PROTECTED]> Date: Wed, 11 Apr 2007 12:24:03 +0300 > No new data is needed until the first ACK comes, so no need to > check for application limitedness until then. > > Signed-off-by: Ilpo Järvinen <[EMAIL PROTECTED]> Applied, thanks Ilpo. - To unsubscribe from this l

Re: garbage of TCP sock mem in sockstat?

2007-04-30 Thread David Miller
From: Kumiko Ono <[EMAIL PROTECTED]> Date: Sat, 07 Apr 2007 23:22:36 -0400 > Could anybody tell me why the garbage in the memory for TCP socket > buffers remains? Is this a problem on deallocation of socket buffers, or > just on sockstat? Or I'm missing something? It is not garbage, it is simp

Re: [RFC] [PATCH] [XFRM]: Restrict upper layer information by bundle.

2007-04-30 Thread David Miller
From: Masahide NAKAMURA <[EMAIL PROTECTED]> Date: Fri, 6 Apr 2007 16:25:39 +0900 > On MIPv6 usage, XFRM sub policy is enabled. > When main (IPsec) and sub (MIPv6) policy selectors have the same > address set but different upper layer information (i.e. protocol > number and its ports or type/code)

Re: [PATCH] [RFC] [TCP]: Catch skb with S+L bugs earlier

2007-04-30 Thread David Miller
From: "Ilpo_Järvinen" <[EMAIL PROTECTED]> Date: Wed, 28 Mar 2007 17:02:47 +0300 (EEST) > SACKED_ACKED and LOST are mutually exclusive, thus this > condition is bug with SACK (IMHO). NewReno, however, could get > enough duplicate ACKs which increment sacked_out, so it makes > sense to do this kind

Re: many sockets, slow sendto

2007-04-30 Thread David Miller
From: Eric Dumazet <[EMAIL PROTECTED]> Date: Wed, 21 Mar 2007 23:12:40 +0100 > [PATCH] INET : IPV4 UDP lookups converted to a 2 pass algo > > Some people want to have many UDP sockets, binded to a single port but many > different addresses. We currently hash all those sockets into a single chain

Re: [PATCH 5/5 2.6.21-rc7] l2tp: add pppol2tp maintainer

2007-04-30 Thread David Miller
From: James Chapman <[EMAIL PROTECTED]> Date: Mon, 23 Apr 2007 17:01:03 +0100 > [L2TP]: Update maintainers file for PPP over L2TP. > > Signed-off-by: James Chapman <[EMAIL PROTECTED]> I'll apply this once patches #2 and #3 are fixed up, thanks. - To unsubscribe from this list: send the line "uns

Re: [PATCH 4/5 2.6.21-rc7] l2tp: pppox protocol module load

2007-04-30 Thread David Miller
From: James Chapman <[EMAIL PROTECTED]> Date: Mon, 23 Apr 2007 17:01:03 +0100 > [L2TP]: Add the ability to autoload a pppox protocol module. > > This patch allows a name "pppox-proto-nnn" to be used in modprobe.conf > to autoload a PPPoX protocol nnn. > > Signed-off-by: James Chapman <[EMAIL PRO

Re: [PATCH 3/5 2.6.21-rc7] l2tp: pppol2tp core

2007-04-30 Thread David Miller
From: James Chapman <[EMAIL PROTECTED]> Date: Mon, 23 Apr 2007 17:01:03 +0100 > [L2TP]: Add PPP-over-L2TP driver core. > > This driver handles only L2TP data frames; control frames are handled > by a userspace application. It implements L2TP using the PPPoX socket > family. Data is sent or receiv

Re: r8169.c broke for me from 2.6.20.4 to 2.6.21

2007-04-30 Thread Francois Romieu
nge things but it does not work everywhere :o/ Can you: - send the output of a 'lspci -vvx' - send the output of mii-tool including hex dump of the registers with 2.6.20.4 and 2.6.21 - try 2.6.21 + http://www.fr.zoreil.com/people/francois/misc/20070430-2.6.21-r8169-test.patch -- Ue

Re: [PATCH 2/5 2.6.21-rc7] l2tp: pppol2tp changes to existing ppp kernel headers

2007-04-30 Thread David Miller
From: James Chapman <[EMAIL PROTECTED]> Date: Mon, 23 Apr 2007 17:01:03 +0100 > Index: linux-2.6.21-rc7/include/linux/if_pppox.h > === > --- linux-2.6.21-rc7.orig/include/linux/if_pppox.h > +++ linux-2.6.21-rc7/include/linux/if_pppox.

Re: [PATCH 1/5 2.6.21-rc7] skb: introduce skb_queue_walk_safe()

2007-04-30 Thread David Miller
From: James Chapman <[EMAIL PROTECTED]> Date: Mon, 23 Apr 2007 17:01:03 +0100 > [SKB]: Introduce skb_queue_walk_safe() > > This patch provides a method for walking skb lists while inserting or > removing skbs from the list. > > Signed-off-by: James Chapman <[EMAIL PROTECTED]> Applied, thanks. -

  1   2   >