Re: Netchannles: first stage has been completed. Further ideas.

2006-07-20 Thread Evgeniy Polyakov
Hello! Hello, Alexey. [ Sorry for long delay, there are some problems with mail servers, so I can not access them remotely, so I create mail by hads, hopefully thread will not be broken. ] There is no socket spinlock anymore. Above lock is skb_queue lock which is held inside

Re: Netchannles: first stage has been completed. Further ideas.

2006-07-20 Thread Evgeniy Polyakov
Hello. [ Sorry for long delay, there are some problems with mail servers, so I can not access them remotely, so I create mail by hads, hopefully thread will not be broken. ] Your description makes it sound as if you would take a huge leap, changing all in-kernel code _and_ the userspace

Re: [PATCH] drivers/net/wireless/d80211: Check configuration type in hw-config_interface.

2006-07-20 Thread Jiri Benc
On Wed, 19 Jul 2006 22:26:52 +0200, Jean-Mickael Guerin wrote: This patch prevents a NULL pointer dereferencing in AP mode: ieee80211_if_config will set conf-bssid only if device is of type STA or IBSS. I see it using following commands right after module loading (with rt61) # iwconfig wlan0

Re: [PATCH] drivers/net/wireless/d80211: Check configuration type in hw-config_interface.

2006-07-20 Thread Jiri Benc
On Wed, 19 Jul 2006 18:07:05 -0700, Michael Wu wrote: Why is that? Isn't there a BSSID in AP mode too? Perhaps it is calling config_interface before setting the BSSID? The bssid field in ieee80211_if_conf structure is not set in AP mode. There is no need for that - you already have a MAC

Re: [PATCH] Qlogic qla3xxx driver v2.02.00-k36 for upstream inclusion.

2006-07-20 Thread Michael Tokarev
By the way, should it work with ISP4010 controllers? Those expose network interface card subdevice too, but aren't listed in pci_device_table of the driver, and after adding the device ID to the driver, it still does not quite work (I tried, just out of curiosity) - the NIC on ISP4010 is - it

[PATCH][NET] ULi526x - driver cleanups

2006-07-20 Thread Henne
From: Henrik Kretzschmar [EMAIL PROTECTED] Some little cleanups for ULI-TULIP-driver: pci_module_init() conversion to pci_register_driver() remove rc, an unneeded variable from uli526x_module_init() let the debug macros use correct loglevels add a loglevel to a printk let some code more look

[RFC/PATCH][Bonding]: keep slave state when admin down

2006-07-20 Thread jamal
When a bonding netdevice is admin-ed down it looses the slaves attributes (set via ifenslave). This is not consistent with other behavior of netdevices (example a qdisc attached to a netdevice doesnt disappear or an attached IP address etc). The included patch fixes this. Ive tested by

Oops in IFB

2006-07-20 Thread Nicolas DICHTEL
Hi, When there is no memory left for creating all IFB devices (requesting by user), a oops happens on the system. Please find enclosed a patch to solve this. Regards, Nicolas [IFB] After ifb_init_one() failed, i is increased. Decrease it before entering in the loop for freeing the other ifb

Re: Oops in IFB

2006-07-20 Thread jamal
On Thu, 2006-20-07 at 15:33 +0200, Nicolas DICHTEL wrote: [IFB] After ifb_init_one() failed, i is increased. Decrease it before entering in the loop for freeing the other ifb devices. Signed-off-by: Nicolas Dichtel [EMAIL PROTECTED] Thanks Nicolas. Acked-by: Jamal Hadi Salim [EMAIL

Re: [IPROUTE2]: update documentation on mirred and IFB

2006-07-20 Thread jamal
On Thu, 2006-20-07 at 01:59 +0100, Andy Furniss wrote: jamal wrote: About two more or so to complete these.. cheers, jamal +tc qdisc add dev lo eth0 ? Thanks for catching that Andy. It was attempt at adding ingress to qdisc. I will wait for Stephen to swallow the other patches

Re: Oops in IFB

2006-07-20 Thread jamal
On Thu, 2006-20-07 at 09:40 -0400, jamal wrote: On Thu, 2006-20-07 at 15:33 +0200, Nicolas DICHTEL wrote: [IFB] After ifb_init_one() failed, i is increased. Decrease it before entering in the loop for freeing the other ifb devices. Signed-off-by: Nicolas Dichtel [EMAIL PROTECTED]

Re: Oops in IFB

2006-07-20 Thread Nicolas DICHTEL
jamal a écrit : BTW, in the name of the LinuxWay(tm) - can you also submit a similar patch for dummy? It suffers from the same bug. No problem, patch is enclosed. Cheers, Nicolas [DUMMY] Avoid an oops when dummy_init_one() failed Signed-off-by: Nicolas Dichtel [EMAIL PROTECTED] - To

Re: Oops in IFB

2006-07-20 Thread Nicolas DICHTEL
Sorry, I forgot the patch ;-) Nicolas Nicolas DICHTEL a écrit : jamal a écrit : BTW, in the name of the LinuxWay(tm) - can you also submit a similar patch for dummy? It suffers from the same bug. No problem, patch is enclosed. Cheers, Nicolas [DUMMY] Avoid an oops when dummy_init_one()

[IPV4]: Fix nexthop realm dumping for multipath routes

2006-07-20 Thread Patrick McHardy
[IPV4]: Fix nexthop realm dumping for multipath routes Routing realms exist per nexthop, but are only returned to userspace for the first nexthop. This is due to the fact that iproute2 only allows to set the realm for the first nexthop and the kernel refuses multipath routes where only a single

RE: [PATCH] Qlogic qla3xxx driver v2.02.00-k36 for upstream inclusion.

2006-07-20 Thread Ron Mercer
qla3xxx driver does not support ISP4010. -Original Message- From: Michael Tokarev [mailto:[EMAIL PROTECTED] Sent: Thursday, July 20, 2006 2:13 AM To: Ron Mercer Cc: netdev@vger.kernel.org Subject: Re: [PATCH] Qlogic qla3xxx driver v2.02.00-k36 for upstream inclusion. By the

Re: [PATCH] Qlogic qla3xxx driver v2.02.00-k36 for upstream inclusion.

2006-07-20 Thread Andrew Vasquez
On Thu, 20 Jul 2006, Ron Mercer wrote: qla3xxx driver does not support ISP4010. Exactly... The qla3xxx driver supports the NIC function only. -Original Message- From: Michael Tokarev [mailto:[EMAIL PROTECTED] Sent: Thursday, July 20, 2006 2:13 AM To: Ron Mercer Cc:

Re: [PATCH] Qlogic qla3xxx driver v2.02.00-k36 for upstream inclusion.

2006-07-20 Thread Michael Tokarev
Andrew Vasquez wrote: On Thu, 20 Jul 2006, Ron Mercer wrote: qla3xxx driver does not support ISP4010. Exactly... The qla3xxx driver supports the NIC function only. ...which is provided by ISP4010 card, as appears on PCI bus: 04:04.0 Ethernet controller: QLogic Corp. QLA3010 Network

[PATCH][NET]: fix dummy initialization

2006-07-20 Thread Nicolas DICHTEL
Same problem and same fix that for IFB. Regards, Nicolas [NET][DUMMY] Avoid an oops when dummy_init_one() failed Signed-off-by: Nicolas Dichtel [EMAIL PROTECTED] --- a/drivers/net/dummy.c 2006-07-20 16:19:09.395351558 +0200 +++ b/drivers/net/dummy.c 2006-07-20 16:19:58.802327279 +0200 @@

Re: Weird TCP SACK problem. in Linux...

2006-07-20 Thread Oumer Teyeb
Hi Alexy, Is there anything linux specific about the DSACK implementation that might lead to increase in the number of retransmissions, but leads to improvment in download time when timestamps are not used (and the reverse effect when timestamps are used, less retransmissions but bigger

Re: [PATCH] drivers/net/wireless/d80211: Check configuration type in hw-config_interface.

2006-07-20 Thread Ivo Van Doorn
Hi, This patch prevents a NULL pointer dereferencing in AP mode: ieee80211_if_config will set conf-bssid only if device is of type STA or IBSS. I see it using following commands right after module loading (with rt61) # iwconfig wlan0 mode Master # ifconfig wlan0 up The patch seems to fix

Re: Netchannles: first stage has been completed. Further ideas.

2006-07-20 Thread Alexey Kuznetsov
Hello! Small question first: userspace, but also there are big problems, like one syscall per ack, I do not see redundant syscalls. Is not it expected to send ACKs only after receiving data as you said? What is the problem? Now boring things: There is no BH protocol processing at all, so

Re: [PATCH] drivers/net/wireless/d80211: Check configuration type in hw-config_interface.

2006-07-20 Thread Ivo Van Doorn
Hi, This patch prevents a NULL pointer dereferencing in AP mode: ieee80211_if_config will set conf-bssid only if device is of type STA or IBSS. I see it using following commands right after module loading (with rt61) # iwconfig wlan0 mode Master # ifconfig wlan0 up The patch seems

Re: [PATCH] smc911x: Re-release spinlock on spurious interrupt

2006-07-20 Thread Peter Korsgaard
Peter == Peter Korsgaard [EMAIL PROTECTED] writes: Peter Hi, Peter The smc911x driver forgets to release the spinlock on spurious Peter interrupts. This little patch fixes it. Crap - forgot to sign off :/ Signed-off-by: Peter Korsgaard [EMAIL PROTECTED] diff -Naur

Re: e1000: fix it on thinkpad x60 / eeprom checksum read fails

2006-07-20 Thread Auke Kok
Pavel Machek wrote: Hi! e1000 in thinkpad x60 fails without this dirty hack. What to do with it? Signed-off-by: Pavel Machek [EMAIL PROTECTED] NAK, certainly this should never be merged in any tree... this is a known issue that we're tracking here:

Re: [RFC/PATCH][Bonding]: keep slave state when admin down

2006-07-20 Thread Jay Vosburgh
jamal [EMAIL PROTECTED] wrote: When a bonding netdevice is admin-ed down it looses the slaves attributes (set via ifenslave). This is not consistent with other behavior of netdevices (example a qdisc attached to a netdevice doesnt disappear or an attached IP address etc). The included patch fixes

Alternate to Ixia's ANVL test harness for tcp compliance.

2006-07-20 Thread Piet Delaney
Hey Gang: Both at UNM and Bluelane we have used Ixia's ANVL test harness for verifying TCP protocol compliance with the RFC's. Recent additions to Ixia's ANVL GUI provide a ethereal like GUI. It looks really slick; even providing ladder diagrams for quickly viewing the big picture.

Re: Alternate to Ixia's ANVL test harness for tcp compliance.

2006-07-20 Thread Jeff Garzik
Piet Delaney wrote: Do any of you use tools other than ANVL for RFC compliance while hacking to the tcp code? In the unlikely event that there isn't an alternate; is there any interest in a netdev group effort to motivate Ixia to porting their C sharp code to linux. I get the feeling that come

Re: Alternate to Ixia's ANVL test harness for tcp compliance.

2006-07-20 Thread jamal
On Thu, 2006-20-07 at 12:49 -0700, Piet Delaney wrote: Hey Gang: Both at UNM and Bluelane we have used Ixia's ANVL test harness for verifying TCP protocol compliance with the RFC's. Recent additions to Ixia's ANVL GUI provide a ethereal like GUI. It looks really slick; even providing

Bug in e1000 + semantics of flow control WAS(Re: [e1000]: flow control on by default - good idea really?

2006-07-20 Thread jamal
I went back to this today. I am typing this from a scribbled sticky note in a big hurry - but i still believe I took the correct notes. It does seem there is no distinction between what ethernet advertises for flow control capability vs what it ends up negotiating with its partner i.e there is

Re: [RFC/PATCH][Bonding]: keep slave state when admin down

2006-07-20 Thread jamal
On Thu, 2006-20-07 at 11:50 -0700, Jay Vosburgh wrote: Do the initscript and sysconfig packages (/sbin/ifup, ifdown, that stuff in /etc/sysconfig/network-scripts, etc) do the right thing with this change? I havent seen issues so far. If memory serves, the initscripts will

Re: Alternate to Ixia's ANVL test harness for tcp compliance.

2006-07-20 Thread Piet Delaney
On Thu, 2006-07-20 at 16:04 -0400, Jeff Garzik wrote: Piet Delaney wrote: Do any of you use tools other than ANVL for RFC compliance while hacking to the tcp code? In the unlikely event that there isn't an alternate; is there any interest in a netdev group effort to motivate Ixia to

Re: Alternate to Ixia's ANVL test harness for tcp compliance.

2006-07-20 Thread Andi Kleen
On Thursday 20 July 2006 21:49, Piet Delaney wrote: Unfortunately Ixia told me they don't have any plains to port the new GUI to linux. Instead they are trying to migrate Linux developers, us, to using Windows. Yeck! With some luck it will just work in wine. -Andi - To unsubscribe from this

Re: Netchannles: first stage has been completed. Further ideas.

2006-07-20 Thread Evgeniy Polyakov
On Thu, Jul 20, 2006 at 08:41:00PM +0400, Alexey Kuznetsov ([EMAIL PROTECTED]) wrote: Hello! Hello, Alexey. Small question first: userspace, but also there are big problems, like one syscall per ack, I do not see redundant syscalls. Is not it expected to send ACKs only after receiving

Re: Alternate to Ixia's ANVL test harness for tcp compliance.

2006-07-20 Thread David Miller
From: Piet Delaney [EMAIL PROTECTED] Date: Thu, 20 Jul 2006 13:24:34 -0700 I wonder if Microsoft is providing the big challenge to porting the same GUI to linux. The world really doesn't need yet another Java language. Gosling is a Genius, I studied his X11 News Server enough to know first

Re: Netchannles: first stage has been completed. Further ideas.

2006-07-20 Thread Ben Greear
Evgeniy Polyakov wrote: Backlog is actually not a protection, but a thing equivalent to netchannel. The difference is only that it tries to process something immediately, when it is safe. You can omit this and push everything to backlog(=netchannel), which is processed only by syscalls, if you

Re: Alternate to Ixia's ANVL test harness for tcp compliance.

2006-07-20 Thread Jeff Garzik
Piet Delaney wrote: I wonder if Microsoft is providing the big challenge to porting the same GUI to linux. The world really doesn't need yet another Java language. Gosling is a Genius, I studied his X11 News Server enough to know first hand. Microsoft lost in court with their violating the Java

Re: Netchannles: first stage has been completed. Further ideas.

2006-07-20 Thread Ian McDonald
If we consider netchannels as how Van Jackobson discribed them, then mutext is not needed, since it is impossible to have several readers or writers. But in socket case even if there is only one userspace consumer, that lock must be held to protect against bh (or introduce several queues and

Re: Alternate to Ixia's ANVL test harness for tcp compliance.

2006-07-20 Thread Piet Delaney
On Thu, 2006-07-20 at 17:31 -0400, Jeff Garzik wrote: Piet Delaney wrote: I wonder if Microsoft is providing the big challenge to porting the same GUI to linux. The world really doesn't need yet another Java language. Gosling is a Genius, I studied his X11 News Server enough to know first

Re: Alternate to Ixia's ANVL test harness for tcp compliance.

2006-07-20 Thread Brent Cook
On Thursday 20 July 2006 16:31, Jeff Garzik wrote: Piet Delaney wrote: I wonder if Microsoft is providing the big challenge to porting the same GUI to linux. The world really doesn't need yet another Java language. Gosling is a Genius, I studied his X11 News Server enough to know first

Re: Alternate to Ixia's ANVL test harness for tcp compliance.

2006-07-20 Thread Jeff Garzik
Brent Cook wrote: Just because the GUI is C# does not mean that it does not have a number of Windows-only dependencies, unless it was implemented with portability in-mind. Well, sure... The same can be said of any source code base, for any set of platforms, for any given language.

Re: [PATCH] via-velocity: fix reported speed and link detected status

2006-07-20 Thread Francois Romieu
and taged as 'upstream-20060720-00' in branch 'upstream' at git://electric-eye.fr.zoreil.com/home/romieu/linux-2.6.git -- Ueimor - 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

Re: Netchannles: first stage has been completed. Further ideas.

2006-07-20 Thread Alexey Kuznetsov
Hello! Moving protocol (no matter if it is TCP or not) closer to user allows naturally control the dataflow - when user can read that data(and _this_ is the main goal), user acks, when it can not - it does not generate ack. In theory To all that I rememeber, in theory absence of feedback

Re: Oops in IFB

2006-07-20 Thread David Miller
From: Nicolas DICHTEL [EMAIL PROTECTED] Date: Thu, 20 Jul 2006 16:31:16 +0200 Sorry, I forgot the patch ;-) Also applied, thanks Nicolas. - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [IPV4]: Fix nexthop realm dumping for multipath routes

2006-07-20 Thread David Miller
Good catch, applied, thanks Patrick. - 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: Weird TCP SACK problem. in Linux...

2006-07-20 Thread Alexey Kuznetsov
Hello! Hmmm... I dont understand thisso if reording can be detected, (i.e we use timestamps, DSACK), the dupthreshold is increased Yes. implementation that might lead to increase in the number of retransmissions, but leads to improvment in download time Hmm... I thought and still do

Re: [PATCH 0/2] NET: Accurate packet scheduling for ATM/ADSL (RTAB BUG)

2006-07-20 Thread Alexey Kuznetsov
Hello! It shouldn't be. Any decimal number can be expressed as a fraction, eg: I remember this. :-) I stalled selecting corrects divisors to fight over/underflows. Not becuase it was difficult, just because did not see a reason to do this. But doing so would get rid of the table

A question about linux/net/ipv4/ipcomp.c

2006-07-20 Thread Igor V. Liferenko
Hello, everyone. I'm having fun reading RFC's and looking through linux source code for implementation examples. What I'm not able to understand is this piece of code : union { struct iphdriph; charbuf[60]; } tmp_iph; and corresponding RFC 791

[RTLWS8-CFP] Eighth Real-Time Linux Workshop 2nd CFP

2006-07-20 Thread mcguire
We apologize for multiple receipts. Eighth Real-Time Linux Workshop October 12-15, 2006 Lanzhou University - SISE

Re: Netchannles: first stage has been completed. Further ideas.

2006-07-20 Thread David Miller
From: Alexey Kuznetsov [EMAIL PROTECTED] Date: Fri, 21 Jul 2006 02:59:08 +0400 Moving protocol (no matter if it is TCP or not) closer to user allows naturally control the dataflow - when user can read that data(and _this_ is the main goal), user acks, when it can not - it does not generate