Re: [PATCH 1/3] Rough VJ Channel Implementation - vj_core.patch

2006-04-27 Thread Evgeniy Polyakov
On Thu, Apr 27, 2006 at 02:12:09PM -0700, Caitlin Bestler ([EMAIL PROTECTED]) wrote: > So the real issue is when there is an intelligent device that > uses hardware packet classification to place the packet in > the correct ring. We don't want to bypass packet filtering, > but it would be terribly

Re: [PATCH 1/3] Rough VJ Channel Implementation - vj_core.patch

2006-04-27 Thread Evgeniy Polyakov
On Thu, Apr 27, 2006 at 01:09:18PM -0700, David S. Miller ([EMAIL PROTECTED]) wrote: > Evgeniy, the difference between this and your work is that you did not > have an intelligent piece of hardware that could be told to recognize > flows, and only put packets for a specific flow into that's flow's

Re: E1000 stopped transmitting in rc3.

2006-04-27 Thread Auke Kok
Dave Jones wrote: With 2.6.17-rc3, my E1000 won't get a dhcp lease. Looking at tcpdump and ifconfig output, it's easy to see why. It's recieving packets, but the packets transmitted field of ifconfig never increases. The last version I have built that worked ok was 2.6.17rc2-git3 *puzzled* th

Re: [LARTC] how to change classful netem loss probability?

2006-04-27 Thread George P Nychis
And if its not possible to change the probability, is there another method I can use instead? > Hi, > > I am using netem to add loss and then adding another qdisc within netem > according to the wiki. Then i want to change the netem drop probability > without having to delete the qdisc and re

[patch 20/24] NET: e1000: Update truesize with the length of the packet for packet split

2006-04-27 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- Update skb with the real packet size. Signed-off-by: Jesse Brandeburg <[EMAIL PROTECTED]> Signed-off-by: Auke Kok <[EMAIL PROTECTED]> Signed-off-by: John Ronciak <[EMAIL PROTECTED]> Signed-off-by: Greg K

E1000 stopped transmitting in rc3.

2006-04-27 Thread Dave Jones
With 2.6.17-rc3, my E1000 won't get a dhcp lease. Looking at tcpdump and ifconfig output, it's easy to see why. It's recieving packets, but the packets transmitted field of ifconfig never increases. The last version I have built that worked ok was 2.6.17rc2-git3 NIC is .. 03:0e.0 Ethernet control

Re: [PATCH 0/10] [IOAT] I/OAT patches repost

2006-04-27 Thread Rick Jones
Chris Leech wrote: Netperf2 TOT now accesses the buffer that was just recv()'d rather than the one that is about to be recv()'d. We've posted netperf2 results with I/OAT enabled/disabled and the data access option on/off at http://kernel.org/pub/linux/kernel/people/grover/ioat/netperf-icb-1.5-

Re: [PATCH 0/10] [IOAT] I/OAT patches repost

2006-04-27 Thread Chris Leech
> Netperf2 TOT now accesses the buffer that was just recv()'d rather than > the one that is about to be recv()'d. We've posted netperf2 results with I/OAT enabled/disabled and the data access option on/off at http://kernel.org/pub/linux/kernel/people/grover/ioat/netperf-icb-1.5-postscaling-both.pd

Re: [PATCH 0/10] [IOAT] I/OAT patches repost

2006-04-27 Thread Chris Leech
On 4/20/06, David S. Miller <[EMAIL PROTECTED]> wrote: > Yes, and it means that the memory bandwidth costs are equivalent > between I/O AT and cpu copy. The following is a response from the I/OAT architects. I only point out that this is not coming directly from me because I have not seen the dat

Re: IP1000 gigabit nic driver

2006-04-27 Thread David Vrabel
Francois Romieu wrote: David Gómez <[EMAIL PROTECTED]> : [...] Does anybody in this list know why the IP1000 driver is not included in the kernel ? Afaik the driver has never been submitted for inclusion. At least not on netdev@vger.kernel.org (hint, hint). [...] The card in question is: Su

Re: [PATCH 20/32] rt2x00: byte ordering correctness

2006-04-27 Thread Christoph Hellwig
On Fri, Apr 28, 2006 at 12:03:12AM +0200, Ivo van Doorn wrote: > From: Ivo van Doorn <[EMAIL PROTECTED]> > > Fix various little/big endian conversions. > rt2500pci should use cpu_to_le32 and rt2500usb should not. While you're at it can you add __be* annotations to the hardware datastructures so t

Re: [PATCH 3/32] rt2x00: use pci_*_consistent for DMA mapping

2006-04-27 Thread Christoph Hellwig
On Fri, Apr 28, 2006 at 12:02:52AM +0200, Ivo van Doorn wrote: > From: Ivo van Doorn <[EMAIL PROTECTED]> > > Instead of dma_*_coherent > use pci_*consistent functions. No point in doing that, quite reverse as you use the gfp_mask argument which is a (small) pessimation here. - To unsubscribe fro

[PATCH 11/32] rt2x00: Add more register defines

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> During the work on rt2x00 several new registers could be defined. This will add all those new registers, and will in the next couple of patches be used. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-dev-rt2x00/drivers/net/wireless/d8

[PATCH 13/32] rt2x00: Tune link depending on link quality

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Add link tuning capabilities, and call this function every time the rxdone handler has finished. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-dev-rt2x00/drivers/net/wireless/d80211/rt2x00/rt2400pci.c wireless-dev-rt2x00-patch/drive

[PATCH 24/32] rt2x00: Use correct desc_addr and data_addr

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> USB buffer don't have a seperate descriptor ring and data ring. The location of the descriptor area and data area depends on the type of ring. Add functions to determine the correct location and use these instead of the invalid desc_addr and data_addr pointe

[PATCH 15/32] rt2x00: Move rx_params to correct location

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Store rx_params seperately outside the ring structure. This is more safer and required because of some changes in the way the rings are stored in the structure in the following patches. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-d

[PATCH 32/32] rt2x00: misc fixes

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Misc. small fixes. Add small comments, remove unwanted whitespaces etc. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-dev-rt2x00/drivers/net/wireless/d80211/rt2x00/rt2400pci.c wireless-dev-rt2x00-patch/drivers/net/wireless/d80211/rt

[PATCH 12/32] rt2x00: Add USB ID's

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Remove the rt73usb ID that accidently sneaked into rt2500usb. And add new rt2500usb ID's. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-dev-rt2x00/drivers/net/wireless/d80211/rt2x00/rt2500usb.c wireless-dev-rt2x00-patch/drivers/net/

[PATCH 3/32] rt2x00: use pci_*_consistent for DMA mapping

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Add linux/dma-mapping.h header to allow compilation on some architectures. Instead of dma_*_coherent use pci_*consistent functions. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-dev-rt2x00/drivers/net/wireless/d80211/rt2x00/rt2400pci

[PATCH 17/32] rt2x00: Put net_device structure in data_ring

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Change the structure stored in the data_ring structure from the rt2x00_pci or rt2x00_usb to net_device. This allows for better type checking, and the net_dev is more often used in the interrupt handlers. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> dif

[PATCH 26/32] rt2x00: Move all USB and PCI common data into seperate headers

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Now that rt2x00_pci and rt2x00_usb structures in the various headers are generic enough, add 2 header files rt2x00pci and rt2x00usb and make them contain all common information of the PCI or USB modules. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> Ava

[PATCH 19/32] rt2x00: Fix panics in interrupt handlers

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Fix panics when the interrupt handlers are being run while the ring is empty. During the interrupt handling break the loop correctly when an error has been detected, more work is being done after the loop. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> d

[PATCH 28/32] rt2x00: Support TXRX led handling

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Create more advanced led handling, enable txrx activity by switching on and off the led at interrupt time. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-dev-rt2x00/drivers/net/wireless/d80211/rt2x00/rt2400pci.c wireless-dev-rt2x00-p

[PATCH 14/32] rt2x00: Allocate eeprom memory

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Make the EEPROM array in rt2x00_pci and rt2x00_usb a pointer, and allocate the memory seperately. This is needed for make the structures more generic for all rt2x00 pci or usb modules. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-de

[PATCH 29/32] rt2x00: dscape compatibilitiy

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Latest dscape patches have broken rt2x00, fix compile issues, and support the new features. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> Available on server: http://mendiosus.nl/rt2x00/rt2x00-29-compat.diff pgpdvt1YheaxX.pgp Description: PGP signatu

[PATCH 0/32] rt2x00

2006-04-27 Thread Ivo van Doorn
Hi, Here follows quite a large series of patches for rt2x00 for the wireless-dev tree. This will bring rt2x00 in wireless-dev up to date with our CVS tree except that rt61pci and rt73usb are not yet send along. They will follow within a week. Apologies for the long delay but due to time limitati

[PATCH 1/32] rt2x00: code style fix

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Coding style fix for all rt2x00 drivers. This change was requested on the netdev list some time ago, but the patch send then didn't contain all requested changes. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> Available on server: http://mendiosus.nl/rt

[PATCH 2/32] rt2x00: use enumerations

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> The led_mode defines are equal in all drivers, and should be placed in the common rt2x00.h header. Make the led_mode, tx_status and dev_state defines into enumerations. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-dev-rt2x00/drivers

[PATCH 27/32] rt2x00: Put Hardware button in generic header

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Put the hardware button handling as much as possible in the new generic header for PCI. The individial .c files should now only contain the polling function to check the state of the hardware button. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -u

[PATCH 22/32] rt2x00: Allocate ring structures in single array

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Allocate all ring structures seperately and as an array of rings. This will make the rt2x00_pci and rt2x00_usb structures more generic for all rt2x00 modules. Use seperate function to convert a dscape ring ID to the address of the actual ring. Signed-off-by

[PATCH 30/32] rt2x00: Correctly initialize TX power in registers

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> The rate does not need to be configured for each TX packet. The actual rate for sending is determined in the PLCP, the rate configuration is only capable of setting the supported rates, which is dependent of the physical mode we are in. When we the configura

[PATCH 31/32] rt2x00: Correctly initialization and uninitialization of device

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Fix several hardware initialization and uninitalization problems by incorrectly flushing workqueues. Fix the memory leak when freeing the ieee80211_hw structure. Allow device to connect to 802.11g networks by default instead of 802.11b. Signed-off-by: Ivo v

[PATCH 6/32] rt2x00: Use arraylike accessors for entries in DMA ring

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Make the code a bit more readable by using array like accessors for pointers in a loop. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-dev-rt2x00/drivers/net/wireless/d80211/rt2x00/rt2400pci.c wireless-dev-rt2x00-patch/drivers/net/wi

[PATCH 21/32] rt2x00: PRIO ring should be treated as regular TX ring

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Remove PRIO_ENTRIES define, the prio ring should be treated as a regular TX ring. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-dev-rt2x00/drivers/net/wireless/d80211/rt2x00/rt2400pci.c wireless-dev-rt2x00-patch/drivers/net/wireless

[PATCH 10/32] rt2x00: Move TSF counting activation to correct funtion

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Move the enabling of TSF counting into *_config_mode where it actually belongs. For rt2500usb this means that the rt2500usb_reset_tsf function is now removed since it is still unknown in what registers the TSF counters are stored in. Signed-off-by: Ivo van

[PATCH 16/32] rt2x00: Make sure TX rings are empty when scanning

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Improve the waiting when a skb buffer needs to be send before the channel switch. This also makes sure no pending packets are still on the TX ring while making the channel switch. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-dev-rt2

[PATCH 5/32] rt2x00: Optimize RATE flag handling

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Optimize RATE flags by using the FIELD32() macro's, also make the unit in which the rate is handled the same as is used in the dscape stack. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-dev-rt2x00/drivers/net/wireless/d80211/rt2x00/

[PATCH 23/32] rt2x00: Make correct cast in USB interrupt

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> The USB interrupt handler receives the entry in the ring and not the ring itself. Also check if the status indicates an error before queueing the work. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-dev-rt2x00/drivers/net/wireless/d80

[PATCH 7/32] rt2x00: make vals static

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> The vals[] arrays in *_init_hw_channels can be made static to optimize memory and reduce stack size. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-dev-rt2x00/drivers/net/wireless/d80211/rt2x00/rt2400pci.c wireless-dev-rt2x00-patch/d

[PATCH 20/32] rt2x00: byte ordering correctness

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Fix various little/big endian conversions. rt2500pci should use cpu_to_le32 and rt2500usb should not. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-dev-rt2x00/drivers/net/wireless/d80211/rt2x00/rt2500pci.c wireless-dev-rt2x00-patch/

[PATCH 8/32] rt2x00: Invalid memory allocation check

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Fix invalid check when allocating the memory for the rate structures. Instead of the channel pointer the rates pointer should be verified. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-dev-rt2x00/drivers/net/wireless/d80211/rt2x00/rt

[PATCH 9/32] rt2x00: Fix antenna configuration

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> The handling of the antenna configuration was not completely correct. For all modules the double clearing of some bits can be reduced, and for rt2500pci and rt2500usb some registers were not corretly changed. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]>

[PATCH 25/32] rt2x00: Add flag handlers

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Add flag handlers to set the state and capabilities of the driver. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-dev-rt2x00/drivers/net/wireless/d80211/rt2x00/rt2400pci.c wireless-dev-rt2x00-patch/drivers/net/wireless/d80211/rt2x00/

[PATCH 4/32] rt2x00: Add eeprom_multiread function

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Add the eeprom_multiread function and clean up the code a bit by using it as well. ;) Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-dev-rt2x00/drivers/net/wireless/d80211/rt2x00/rt2400pci.c wireless-dev-rt2x00-patch/drivers/net/wire

[PATCH 18/32] rt2x00: Make sure device has reached requested state while suspend/resume

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Add the *_set_state functions which makes sure the device is switching state to awake or sleep. Fix bad behaviour in the suspend routine, and disable the radio before suspending. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-dev-rt2x

Re: Netpoll checksum issue

2006-04-27 Thread Herbert Xu
On Thu, Apr 27, 2006 at 08:57:33PM +0800, Aubrey wrote: > > Is there any update of this issue? Assuming that the CHECKSUM_UNNECESSARY line wasn't there, then the problem is simply that your packet has the wrong UDP checksum. So I suggest that you print the packet out and compare it with the origi

Re: 2.6.16.11 BUG at tg3.c:2917

2006-04-27 Thread Ed L. Cashin
On Thu, Apr 27, 2006 at 08:45:24AM -0700, Michael Chan wrote: > On Thu, 2006-04-27 at 12:52 -0400, Ed L. Cashin wrote: > > -- [please bite here ] - > > Kernel BUG at drivers/net/tg3.c:2917 > > invalid opcode: [1] SMP > > CPU 0 > > Most likely caused by IO re-ordering. Try the test p

RE: [PATCH 1/3] Rough VJ Channel Implementation - vj_core.patch

2006-04-27 Thread Caitlin Bestler
[EMAIL PROTECTED] wrote: > From: Evgeniy Polyakov <[EMAIL PROTECTED]> > Date: Thu, 27 Apr 2006 15:51:26 +0400 > >> There are some caveats here found while developing zero-copy sniffer >> [1]. Project's goal was to remap skbs into userspace in real-time. >> While absolute numbers (posted to netdev@

Re: tune back idle cwnd closing?

2006-04-27 Thread Rick Jones
having looked now at both 2861 and the 99 paper it references I see lots of "may's" "mights" and "belief" but nothing "real world." the CWV vs non CWV was done against a TCP that did indeed reset cwnd after an RTT of idle, so it wasn't showing reset at idle versus no reset at idle. just CWV's

Re: [RFC] e1000 performance patch

2006-04-27 Thread Robin Humble
On Thu, Apr 27, 2006 at 09:07:36AM -0700, Rick Jones wrote: >There should be three basic measures there - one is the single-instance >request-response test. The idea is to see minimum latency. That test >likes to see the interrupt throttle rate made very high, or disabled >completely. > >The ag

Re: [stable] [PATCH] e1000: Update truesize with the length of the packet for packet split

2006-04-27 Thread Greg KH
On Tue, Apr 25, 2006 at 11:16:29PM -0700, Kok, Auke wrote: > > Update skb with the real packet size. > > > Signed-off-by: Jesse Brandeburg <[EMAIL PROTECTED]> > Signed-off-by: Auke Kok <[EMAIL PROTECTED]> > Signed-off-by: John Ronciak <[EMAIL PROTECTED]> queued to -stable. thanks, greg k-h -

Re: tune back idle cwnd closing?

2006-04-27 Thread David S. Miller
From: John Heffner <[EMAIL PROTECTED]> Date: Thu, 27 Apr 2006 13:47:33 -0400 > (Most OS's don't do 2861, and it is not a standard.) Are you so sure? Doing cwnd timeout largely predates the congestion window validation work, in fact by several years. In RFC 2581, it mentions Van Jacobson's recom

Re: [PATCH 1/3] Rough VJ Channel Implementation - vj_core.patch

2006-04-27 Thread David S. Miller
From: Evgeniy Polyakov <[EMAIL PROTECTED]> Date: Thu, 27 Apr 2006 15:51:26 +0400 > There are some caveats here found while developing zero-copy sniffer > [1]. Project's goal was to remap skbs into userspace in real-time. > While absolute numbers (posted to netdev@) were really high, it is only > a

Re: IP1000 gigabit nic driver

2006-04-27 Thread Francois Romieu
David G??mez <[EMAIL PROTECTED]> : [...] > Does anybody in this list know why the IP1000 driver is not > included in the kernel ? Afaik the driver has never been submitted for inclusion. At least not on netdev@vger.kernel.org (hint, hint). [...] > The card in question is: > > Sundance Technology

Re: [RFC] selective ethtool diagnostic test method

2006-04-27 Thread Cureington, Tony
Ethtool Maintainers, WRT my RFC (http://www.spinics.net/lists/netdev/msg02806.html) regarding enhancing ethtool posted on 04/11/06, would such a patch be accepted by the maintainers of ethtool? I don't want to spend time on these changes just to have them rejected. I've not received any objections

Re: tune back idle cwnd closing?

2006-04-27 Thread John Heffner
David S. Miller wrote: From: John Heffner <[EMAIL PROTECTED]> Given that RFC2681 is Experimental (and I'm not aware of any current efforts in the IETF to push it to the standard track), IHMO it would not be inappropriate to make this behavior controlled via sysctl. I have to respectfully disa

Re: 2.6.16.11 BUG at tg3.c:2917

2006-04-27 Thread Michael Chan
On Thu, 2006-04-27 at 12:52 -0400, Ed L. Cashin wrote: > -- [please bite here ] - > Kernel BUG at drivers/net/tg3.c:2917 > invalid opcode: [1] SMP > CPU 0 Most likely caused by IO re-ordering. Try the test patch in this discussion: http://marc.theaimsgroup.com/?l=linux-netdev&m=113

2.6.16.11 BUG at tg3.c:2917

2006-04-27 Thread Ed L. Cashin
Hi. On 2.6.15.7 and 2.6.16.11, I have seen panics under heavy NFS write load on an x86_64 system with two onboard Broadcom gigabit NICs. It's a Supermicro P8SCi motherboard with an EMT64 Intel CPU. The aoe driver in use is the aoe6-26 driver from the Coraid website. I haven't yet trimmed down th

[RFC PATCH] [IPV6]: Fix race in route selection.

2006-04-27 Thread YOSHIFUJI Hideaki / 吉藤英明
Hello. We eliminated rt6_dflt_lock (to protect default router pointer) at 2.6.17-rc1, and introduced rt6_select() for general router selection. The function is called in the context of rt6_lock read-lock held, but this means, we have some race conditions when we do round-robin. Am I correct? If

Re: [RFC] e1000 performance patch

2006-04-27 Thread Rick Jones
but clearly I should be using netperf to get more accurate cpu numbers and a more convincing aggregate table :-) Well, I'll not stop you :) It is a bit rough/messy as a writeup, but here is what I've seen wrt the latency vs throughput tradeoffs: ftp://ftp.cup.hp.com/dist/networking/bri

Re: [patch 7/9] e100: disable interrupts at boot

2006-04-27 Thread Bjorn Helgaas
On Thursday 27 April 2006 04:00, Jeff Garzik wrote: > [EMAIL PROTECTED] wrote: > > From: Bjorn Helgaas <[EMAIL PROTECTED]> > > > > Apparently the Intel PRO/100 device enables interrupts on reset. Unless > > firmware explicitly disables PRO/100 interrupts, we can get a flood of > > interrupts when

Re: Netpoll checksum issue

2006-04-27 Thread Aubrey
Hi Herbert, Is there any update of this issue? Regards, - Aubrey On 4/24/06, Aubrey <[EMAIL PROTECTED]> wrote: > On 4/24/06, Herbert Xu <[EMAIL PROTECTED]> wrote: > > On Mon, Apr 24, 2006 at 01:42:12PM +0800, Aubrey wrote: > > > > > > dev->last_rx = jiffies; > > > skb->dev = dev; > > > skb

Re: [PATCH 0/17] d80211 patches

2006-04-27 Thread Michael Buesch
On Wednesday 26 April 2006 21:39, John W. Linville wrote: > On Fri, Apr 21, 2006 at 10:52:10PM +0200, Jiri Benc wrote: > > On Fri, 21 Apr 2006 22:52:08 +0200, Michael Buesch wrote: > > > Can you please send your hacky patch for the bcm43xx > > > to me, so I can come up with a clean one? > > > > Su

[PATCH] DECnet: Fix level1 router hello

2006-04-27 Thread Patrick Caulfield
This patch fixes hello messages sent when a node is a level 1 router. Slightly contrary to the spec (maybe) VMS ignores hello messages that do not name level2 routers that it also knows about. So, here we simply name all the routers that the node knows about rather just other level1 routers. (I ho

[IPSEC]: Fix IP ID selection

2006-04-27 Thread Herbert Xu
Hi Dave: I was looking through the xfrm input/output code in order to abstract out the address family specific encapsulation/decapsulation code. During that process I found this bug in the IP ID selection code in xfrm4_output.c. At that point dst is still the xfrm_dst for the current SA which re

Re: [PATCH 1/3] Rough VJ Channel Implementation - vj_core.patch

2006-04-27 Thread Evgeniy Polyakov
On Wed, Apr 26, 2006 at 11:25:01PM -0700, David S. Miller ([EMAIL PROTECTED]) wrote: > > We approached this from the understanding that an intelligent NIC > > will be able to transition directly to userspace, which is a major > > win. 0 copies to userspace would be sweet. I think we can still >

Re: [patch 2/9] tulip: NatSemi DP83840A PHY fix

2006-04-27 Thread Thibaut VARENE
On 4/27/06, Jeff Garzik <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > + if (startup) { > > + int timeout = 10; /* max 1 ms */ > > for (i = 0; i < reset_length; i++) > >

Re: [patch 7/9] e100: disable interrupts at boot

2006-04-27 Thread Jeff Garzik
[EMAIL PROTECTED] wrote: From: Bjorn Helgaas <[EMAIL PROTECTED]> Apparently the Intel PRO/100 device enables interrupts on reset. Unless firmware explicitly disables PRO/100 interrupts, we can get a flood of interrupts when a driver attaches to an unrelated device that happens to share the PRO/

Re: [patch 8/9] forcedeth: suggested cleanups

2006-04-27 Thread Jeff Garzik
[EMAIL PROTECTED] wrote: From: Ingo Oeser <[EMAIL PROTECTED]> general: - endian annotation of the ring descriptors nv_getlen(): - use htons() instead of __constant_htons() to improvde readability and let the compiler constant fold it. nv_rx_process(): - use a

Re: [patch 3/9] natsemi: Add support for using MII port with no PHY

2006-04-27 Thread Jeff Garzik
[EMAIL PROTECTED] wrote: From: Mark Brown <[EMAIL PROTECTED]> Provide a module option which configures the natsemi driver to use the external MII port on the chip but ignore any PHYs that may be attached to it. The link state will be left as it was when the driver started and can be configured

Re: [patch 2/9] tulip: NatSemi DP83840A PHY fix

2006-04-27 Thread Jeff Garzik
[EMAIL PROTECTED] wrote: + if (startup) { + int timeout = 10; /* max 1 ms */ for (i = 0; i < reset_length; i++) iowrite32(get_u16(&rese

[patch 3/9] natsemi: Add support for using MII port with no PHY

2006-04-27 Thread akpm
From: Mark Brown <[EMAIL PROTECTED]> Provide a module option which configures the natsemi driver to use the external MII port on the chip but ignore any PHYs that may be attached to it. The link state will be left as it was when the driver started and can be configured via ethtool. Any PHYs tha

[patch 8/9] forcedeth: suggested cleanups

2006-04-27 Thread akpm
From: Ingo Oeser <[EMAIL PROTECTED]> general: - endian annotation of the ring descriptors nv_getlen(): - use htons() instead of __constant_htons() to improvde readability and let the compiler constant fold it. nv_rx_process(): - use a real for() loop in process

[patch 4/9] PCI Error Recovery: e1000 network device driver

2006-04-27 Thread akpm
From: Linas Vepstas <[EMAIL PROTECTED]> Various PCI bus errors can be signaled by newer PCI controllers. This patch adds the PCI error recovery callbacks to the intel gigabit ethernet e1000 device driver. The patch has been tested, and appears to work well. [EMAIL PROTECTED]: minor cleanups] S

[patch 2/9] tulip: NatSemi DP83840A PHY fix

2006-04-27 Thread akpm
From: Thibaut VARENE <[EMAIL PROTECTED]> Fix a problem with Tulip 21142 HP branded PCI cards (PN#: B5509-66001), which feature a NatSemi DP83840A PHY. Without that patch, it is impossible to properly initialize the card's PHY, and it's thus impossible to monitor/configure it. It's a timing/post

[patch 7/9] e100: disable interrupts at boot

2006-04-27 Thread akpm
From: Bjorn Helgaas <[EMAIL PROTECTED]> Apparently the Intel PRO/100 device enables interrupts on reset. Unless firmware explicitly disables PRO/100 interrupts, we can get a flood of interrupts when a driver attaches to an unrelated device that happens to share the PRO/100 IRQ. This should reso

[patch 1/9] smc911x Kconfig fix

2006-04-27 Thread akpm
From: Andrew Morton <[EMAIL PROTECTED]> In file included from drivers/net/smc911x.c:84: drivers/net/smc911x.h:46:9: warning: "SMC_USE_16BIT" is not defined drivers/net/smc911x.h:60:9: warning: "SMC_USE_32BIT" is not defined drivers/net/smc911x.h:73:10: warning: "SMC_USE_PXA_DMA" is not defined dr

[patch 6/9] e1000: prevent statistics from getting garbled during reset

2006-04-27 Thread akpm
From: Linas Vepstas <[EMAIL PROTECTED]> If a PCI bus error/fault triggers a PCI bus reset, attempts to get the ethernet packet count statistics from the hardware will fail, returning garbage data upstream. This patch skips statistics data collection if the PCI device is not on the bus. This pat

[patch 5/9] PCI Error Recovery: e100 network device driver

2006-04-27 Thread akpm
From: [EMAIL PROTECTED] (Linas Vepstas) Various PCI bus errors can be signaled by newer PCI controllers. This patch adds the PCI error recovery callbacks to the intel ethernet e100 device driver. The patch has been tested, and appears to work well. Signed-off-by: Linas Vepstas <[EMAIL PROTECTE

Re: [RFC] bridge: partial rtnetlink hooks

2006-04-27 Thread Patrick McHardy
Stephen Hemminger wrote: > This is the start of adding support for rtnetlink to the bridge code. > So far it only supports accessing the list of links and notifying > about link changes. It is just a prototype to get early feedback, don't > use to build your own masterpiece yet. > > +static int b

Re: [PATCH 1/3] Rough VJ Channel Implementation - vj_core.patch

2006-04-27 Thread David S. Miller
From: Andi Kleen <[EMAIL PROTECTED]> Date: Thu, 27 Apr 2006 08:41:51 +0200 > Yes but all clients will see all the data from all sockets don't > they? [Unless you have a RDMA nic that can scale to hundred > thousands of connections, but let's assume standard hardware for > now] Each netchannel, w