Re: Please pull 'upstream' branch of wireless-2.6 (additional to 2/17 request)

2006-02-28 Thread Jeff Garzik
John W. Linville wrote: This request is in addition to the request from 2/17, which does not yet seem to be in the 'upstream' branch of netdev-2.6. --- The following changes since commit acfaf10be5c19f7dceb9d7372039dc45af66b100: John W. Linville: Merge branch 'upstream-fixes' are fou

Re: [PATCH 2.6.16-rc4] e1000: revert to single descriptor for legacy receive path

2006-02-28 Thread Jeff Garzik
Jesse Brandeburg wrote: I don't understand, at all. I used stg export (git) to generate the patch and read the patch into mail with pine, just like i've done before. What was line 14? Don't spend any time debugging it. I think I just won't be using pine any more to send patches. Pine defi

Re: Poor performance with MTU 9000

2006-02-28 Thread Benjamin LaHaise
On Tue, Feb 28, 2006 at 09:33:38PM -0500, John Zielinski wrote: > Rick Jones wrote: > >And if you add the test-specific -D option? > > No difference. I have TCP_NODELAY in my Samba config and copying files > from the server is painfully slow. That's what got me started on all > these tests. Y

Re: Poor performance with MTU 9000

2006-02-28 Thread John Zielinski
Problem solved. It was a bad network card. When I swapped cards between two machines the problem followed the card. It's odd how the problem only popped up when the packet size reached a certain point. Thanks for all your help. - To unsubscribe from this list: send the line "unsubscribe net

Re: Poor performance with MTU 9000

2006-02-28 Thread John Zielinski
Rick Jones wrote: And if you add the test-specific -D option? No difference. I have TCP_NODELAY in my Samba config and copying files from the server is painfully slow. That's what got me started on all these tests. BTW, did someone already suggest disabling TSO if it happens to be enable

Re: Poor performance with MTU 9000

2006-02-28 Thread Rick Jones
John Zielinski wrote: Rick Jones wrote: 8KB socket buffers, 8KB writes to the socket or both? 8KB write to the socket with an 8KB read on the other end. TCP socket buffers at default. OK. I'm using netperf now since the numbers were about the same and netperf has more options. Good

Re: Poor performance with MTU 9000

2006-02-28 Thread John Zielinski
Rick Jones wrote: 8KB socket buffers, 8KB writes to the socket or both? 8KB write to the socket with an 8KB read on the other end. TCP socket buffers at default. I'm using netperf now since the numbers were about the same and netperf has more options. netperf -t TCP_STREAM -H -- -s 128K

Re: Poor performance with MTU 9000

2006-02-28 Thread Rick Jones
John Zielinski wrote: Rick Jones wrote: What does your quick and dirty test program use for socket buffer sizes and/or send sizes? What does the performance look like with a netperf TCP_STREAM test of various socket buffer and send sizes? For my test program I used a 8K send and receive buf

Re: Poor performance with MTU 9000

2006-02-28 Thread John Zielinski
Rick Jones wrote: What does your quick and dirty test program use for socket buffer sizes and/or send sizes? What does the performance look like with a netperf TCP_STREAM test of various socket buffer and send sizes? For my test program I used a 8K send and receive buffers. The socket buffers

Re: [PATCH 2.6.16-rc4] e1000: revert to single descriptor for legacy receive path

2006-02-28 Thread Jesse Brandeburg
On Tue, 28 Feb 2006, Jeff Garzik wrote: Jesse Brandeburg wrote: > A recent patch attempted to enable more efficient memory usage by using > only 2kB descriptors for jumbo frames.  The method used to implement > this has since been commented upon as "illegal" and in recent kernels > even causes a

[git patches] net driver fixes

2006-02-28 Thread Jeff Garzik
Please pull from 'upstream-fixes' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git to receive the following updates: drivers/net/8139cp.c | 37 +++- drivers/net/sky2.c | 77 --- drivers/net

Re: [PATCH 2.6.16-rc4] e1000: revert to single descriptor for legacy receive path

2006-02-28 Thread Jeff Garzik
Jesse Brandeburg wrote: A recent patch attempted to enable more efficient memory usage by using only 2kB descriptors for jumbo frames. The method used to implement this has since been commented upon as "illegal" and in recent kernels even causes a BUG when receiving ip fragments while using ju

Re: [PATCH] skge: add entropy

2006-02-28 Thread Jeff Garzik
Jesse Brandeburg wrote: I kind of agree, however, what do you use to get randomness on a headless box without network traffic? Not relevant to this decision ;-) But to answer your question... Examples include hardware RNG, open audio mic (with nothing connected), various thermal circuits, .

Re: [PATCH] skge: add entropy

2006-02-28 Thread Jesse Brandeburg
On 2/28/06, Stephen Hemminger <[EMAIL PROTECTED]> wrote: > On Tue, 28 Feb 2006 14:29:30 -0500 > Jeff Garzik <[EMAIL PROTECTED]> wrote: > > Oh yeah, another aspect: cards with hardware interrupt mitigation > > should NOT use SA_SAMPLE_RANDOM, for obvious reasons... Anything that > > has the potent

Re: [PATCH 0/6] pktgen: refinements and small fixes (V3).

2006-02-28 Thread David S. Miller
From: Luiz Fernando Capitulino <[EMAIL PROTECTED]> Date: Sat, 25 Feb 2006 16:07:34 -0300 > As you've asked, I'm sending again my patches for pktgen: > > [PATCH 1/6] pktgen: Lindent run. > [PATCH 2/6] pktgen: Ports thread list to Kernel list implementation. > [PATCH 3/6] pktgen: Fix kernel_thread

Re: [PATCH] skge: add entropy

2006-02-28 Thread Stephen Hemminger
On Tue, 28 Feb 2006 14:29:30 -0500 Jeff Garzik <[EMAIL PROTECTED]> wrote: > Stephen Hemminger wrote: > > On Tue, 28 Feb 2006 13:56:57 -0500 > > Jeff Garzik <[EMAIL PROTECTED]> wrote: > > > > > >>Stephen Hemminger wrote: > >> > >>>This trivial patch can go in the netdev can for 2.6.17. > >>>It le

[PATCH] [IPV6]: fix ipv6_saddr_score struct element

2006-02-28 Thread Brian Haley
The scope element in the ipv6_saddr_score struct used in ipv6_dev_get_saddr() is an unsigned integer, but __ipv6_addr_src_scope() returns a signed integer (and can return -1). Signed-off-by: Brian Haley <[EMAIL PROTECTED]> diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c --- a/net/ipv6/ad

[PATCH RESEND] RT2x00 update: trivial fixes

2006-02-28 Thread Ivo van Doorn
ieee80211_rx has been renamed __ieee80211_rx. Use DRV_NAME as much as possible instead of a seperate name string. Add new USB device ID. Signed-off-by Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-2.6-rx/drivers/net/wireless/rt2x00/rt2400pci.c wireless-2.6-name/drivers/net/wireless/rt2x0

Re: [PATCH] skge: add entropy

2006-02-28 Thread Jeff Garzik
Stephen Hemminger wrote: On Tue, 28 Feb 2006 13:56:57 -0500 Jeff Garzik <[EMAIL PROTECTED]> wrote: Stephen Hemminger wrote: This trivial patch can go in the netdev can for 2.6.17. It lets skge driver contribute to random entropy poll. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --

Re: [PATCH] skge: add entropy

2006-02-28 Thread Stephen Hemminger
On Tue, 28 Feb 2006 13:56:57 -0500 Jeff Garzik <[EMAIL PROTECTED]> wrote: > Stephen Hemminger wrote: > > This trivial patch can go in the netdev can for 2.6.17. > > It lets skge driver contribute to random entropy poll. > > > > Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> > > > > --- sky

Re: [PATCH] e100: Fix TX hang and RMCP Ping issue (due to a microcode loading issue)

2006-02-28 Thread Olaf Hering
On Tue, Feb 28, Jesse Brandeburg wrote: > BTW do you notice the system seeming to stall while this ethtool test is > running? I tried it with init=/bin/bash, will check this part tomorrow. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PRO

Re: [PATCH] e100: Fix TX hang and RMCP Ping issue (due to a microcode loading issue)

2006-02-28 Thread Jesse Brandeburg
On Tue, 28 Feb 2006, Olaf Hering wrote: On Mon, Feb 27, Jesse Brandeburg wrote: http://ozlabs.org/pipermail/linuxppc-dev/2006-February/021308.html Olaf I reproduced this problem on a 630 and this patch fixes it for me, please verify. Due to the new load ucode command the cb list must be al

Re: [PATCH] skge: add entropy

2006-02-28 Thread Jeff Garzik
Stephen Hemminger wrote: This trivial patch can go in the netdev can for 2.6.17. It lets skge driver contribute to random entropy poll. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- sky2.orig/drivers/net/skge.c2006-02-27 10:00:48.0 -0800 +++ sky2/drivers/net/skge.c

[PATCH] skge: add entropy

2006-02-28 Thread Stephen Hemminger
This trivial patch can go in the netdev can for 2.6.17. It lets skge driver contribute to random entropy poll. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- sky2.orig/drivers/net/skge.c2006-02-27 10:00:48.0 -0800 +++ sky2/drivers/net/skge.c 2006-02-28 10:35:48.0

Re: [PATCH] Remove duplicated code from ipw2200.c

2006-02-28 Thread Larry Finger
Pete Zaitcev wrote: Looks good to me, though I only made a cursory glance to verify that routines are indeed identical. -- Pete The only difference is in the test near the beginning of ieee80211_is_valid_channel where the IEEE80211_CH_INVALID flag is tested, whereas it was not in the ipw2200

Re: [PATCH] Remove duplicated code from ipw2200.c

2006-02-28 Thread Pete Zaitcev
On Tue, 28 Feb 2006 09:48:28 -0600, Larry Finger <[EMAIL PROTECTED]> wrote: > As stated in a comment, the ipw2200 driver uses several routines that were > borrowed > from ieee80211_geo.c. > Signed-Off-By: Larry Finger <[EMAIL PROTECTED]> Looks good to me, though I only made a cursory glance to

Re: Poor performance with MTU 9000

2006-02-28 Thread Rick Jones
What does your quick and dirty test program use for socket buffer sizes and/or send sizes? What does the performance look like with a netperf TCP_STREAM test of various socket buffer and send sizes? The comparison might help find the extent to which application behaviour matters. rick jones

[PATCH] use fget_light for network syscalls

2006-02-28 Thread Benjamin LaHaise
The patch below reworks socket.c to use fget_light() in place of fget() for the various networking syscalls. This is of particular value with SMP kernels running on the P4 as the memory barriers the atomic ops on the file counter causes result in the CPU having to wait for quite a few memory t

[PATCH 0/7] acxsm: Make acxsm modular again (2nd try)

2006-02-28 Thread Carlos Martin
Hi, There are a couple of differences between this and my previos patch, so I'll list them here: - Separate the patches properly - This patchset uses the default generic functions and calls the appropiate function using a #define, which should be much clearer and saves us from having to migr

Re: GbE performance

2006-02-28 Thread Benjamin LaHaise
On Tue, Feb 28, 2006 at 09:21:39AM +0100, Dag Bakke wrote: > Got both. Max throughput increased from ~605 Mbps with carefully tuned > options to iperf, to ~650 Mbps with less carefully tuned options to iperf. One other suggestion that might be worth testing: try comparing SMP and UP kernels. I'v

Re: [PATCH 2/5] RT2x00 update: trivial fixes

2006-02-28 Thread Ivo van Doorn
On Tuesday 28 February 2006 02:40, John W. Linville wrote: > On Sun, Feb 12, 2006 at 12:00:11AM +0100, Ivo van Doorn wrote: > > ieee80211_rx has been renamed __ieee80211_rx. > > Use DRV_NAME as much as possible instead of a seperate name string. > > Add new USB device ID. > > > > Signed-off-by Ivo

[PATCH] Remove duplicated code from ipw2200.c

2006-02-28 Thread Larry Finger
As stated in a comment, the ipw2200 driver uses several routines that were borrowed from ieee80211_geo.c. As ipw2200 requires ieee80211, these routines are duplicated. The attached patch, which is sent as an attachment to preserve whitespace, converts ipw2200.c to use the ieee80211 versions, the

Please pull 'upstream' branch of wireless-2.6 (additional to 2/17 request)

2006-02-28 Thread John W. Linville
This request is in addition to the request from 2/17, which does not yet seem to be in the 'upstream' branch of netdev-2.6. --- The following changes since commit acfaf10be5c19f7dceb9d7372039dc45af66b100: John W. Linville: Merge branch 'upstream-fixes' are found in the git repository a

Please pull 'upstream-fixes' branch of wireless-2.6

2006-02-28 Thread John W. Linville
The following changes since commit 051d3cbd96909b2fe6b5038e7bbe77f41356db05: David S. Miller: [TG3]: Fix Sun tg3 variant detection. are found in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git upstream-fixes Pete Zaitcev: ieee8021

Re: [2.4.32 - 2.6.15.4] e1000 - Fix mii interface

2006-02-28 Thread Paul Rolland
Hello Jesse, > spddplx += (mii_reg & 0x100) > -? FULL_DUPLEX : > -HALF_DUPLEX; > +? DUPLEX_FULL : > +

Re: [PATCH] e100: Fix TX hang and RMCP Ping issue (due to a microcode loading issue)

2006-02-28 Thread Olaf Hering
On Mon, Feb 27, Jesse Brandeburg wrote: > >http://ozlabs.org/pipermail/linuxppc-dev/2006-February/021308.html > > > Olaf I reproduced this problem on a 630 and this patch fixes it for me, > please verify. Due to the new load ucode command the cb list must be > allocated before calling e100_i

Re: GbE performance

2006-02-28 Thread Dag Bakke
Michael Chan wrote: > On Mon, 2006-02-27 at 17:32 +0100, Dag Bakke wrote: >> I have been playing with a couple of laptops with GbE interfaces, and >> iperf. (Two Dell Latitude D600 connected back-to-back.) [snip] >> Is there anything I can do to increase the bandwidth further, or is this >> as fa