linux-netdev mailing list

FromSubjectsort iconDate
Randy Dunlap
Re: linux-next: Tree for September 13 (3c509)
drivers/net/3c509.c fails (CONFIG_PM=y) with: drivers/built-in.o:(.data+0x7dcc): undefined reference to `el3_resume' drivers/built-in.o:(.data+0x7e08): undefined reference to `el3_resume' It seems that this function does not exist in the source file. --- ~Randy Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA http://linuxplumbersconf.org/ --
Sep 14, 5:17 pm 2008
Lennert Buytenhek
[PATCH 5/5] mv643xx_eth: add support for chips without trans...
Add support for mv643xx_eth versions that have no transmit bandwidth control registers at all, such as the ethernet block found in the Marvell 88F6183 ARM SoC. Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> --- drivers/net/mv643xx_eth.c | 89 +++++++++++++++++++++++++++++---------------- 1 files changed, 58 insertions(+), 31 deletions(-) diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index 6564be1..408827d 100644 --- a/drivers/net/mv643xx_eth.c +++ b/driver...
Sep 14, 1:14 pm 2008
Lennert Buytenhek
[PATCH 4/5] mv643xx_eth: avoid reading ->byte_cnt twice d...
Currently, the receive processing reads ->byte_cnt twice (once to update interface statistics and once to properly size the data area of the received skb), but since receive descriptors live in uncached memory, caching this value in a local variable saves one uncached access, and increases routing performance a tiny little bit more. Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> --- drivers/net/mv643xx_eth.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff...
Sep 14, 1:14 pm 2008
Lennert Buytenhek
[PATCH 3/5] mv643xx_eth: shrink default receive and transmit...
Since the size of the receive queue is directly related to the data cache footprint of the driver (between refilling a receive ring entry with a fresh skb and receiving a packet in that entry, queue_size - 1 other skbs will have been touched), shrink the default receive queue size to a saner number of entries, as 400 is definite overkill for almost all workloads. While we are at it, trim the default transmit queue size a bit as well. Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> -...
Sep 14, 1:14 pm 2008
Lennert Buytenhek
[PATCH 2/5] mv643xx_eth: replace array of skbs awaiting tran...
Get rid of the skb pointer array that we currently use for transmit reclaim, and replace it with an skb queue, to which skbuffs are appended when they are passed to the xmit function, and removed from the front and freed when we do transmit queue reclaim and hit a descriptor with the 'owned by device' bit clear and 'last descriptor' bit set. Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> --- drivers/net/mv643xx_eth.c | 39 ++++++++++----------------------------- 1 files changed, 1...
Sep 14, 1:14 pm 2008
Lennert Buytenhek
[PATCH 0/5] mv643xx_eth: some more changes for 2.6.28
A couple more patches for mv643xx_eth: - Four patches that reduce the runtime Dcache footprint of the driver and avoid some avoidable reads from uncached memory, providing some more speedup in routing benchmarks. - One patch to make mv643xx_eth work on another variation of the hardware (the ethernet unit in the Marvell 88f6183 ARM SoC), which has no transmit bandwidth control registers at all. I've added these patches to the set of 17 patches I posted on the 3rd, and that is the set I in...
Sep 14, 1:12 pm 2008
Lennert Buytenhek
[PATCH 1/5] mv643xx_eth: avoid dropping tx lock during trans...
By moving DMA unmapping during transmit reclaim back under the netif tx lock, we avoid the situation where we read the DMA address and buffer length from the descriptor under the lock and then not do anything with that data after dropping the lock on platforms where the DMA unmapping routines are all NOPs (which is the case on all ARM platforms that mv643xx_eth is used on at least). This saves two uncached reads, which makes a small but measurable performance difference in routing benchmarks. Si...
Sep 14, 1:13 pm 2008
Ben Dooks
[patch 1/2] drivers/net/bonding: sparse fixes for exported t...
The following sparse warnings are being generated because bonding.h is missing definitons for items declared in bond_main.c but also used in bond_sysfs.h Also export bond_dev_list as this is also declared in bond_main but used elsewhere in drivers/net/bonding. bond_main.c:105:20: warning: symbol 'bonding_defaults' was not declared. Should it be static? bond_main.c:148:1: warning: symbol 'bond_dev_list' was not declared. Should it be static? bond_main.c:162:22: warning: symbol 'bond_lacp_tbl' was ...
Sep 14, 11:56 am 2008
Ben Dooks
[patch 0/2] drivers/net/bonding sparse errors
drivers/net/bonding throws a large number of warnings when compiling a kernel with sparse. These two patches remove the easiest offenders to try and cut down the number and see what is important. -- Ben (ben@fluff.org, http://www.fluff.org/) 'a smiley only costs 4 bytes' --
Sep 14, 11:56 am 2008
Ben Dooks
[patch 2/2] drivers/net/bonding: move mutex decleration to h...
Fix the sparse error generated by bonding_mutex being declared in bond_sysfs.c but used in bond_main.c by declaring an 'extern' in bond_main.c. Fix this by moving the bond_main decleration to bonding.h. The sparse warning is as follows: bond_sysfs.c:67:14: warning: symbol 'bonding_mutex' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben-linux@fluff.org> Index: linux-git-test-next-cats/drivers/net/bonding/bond_main.c =====================================================...
Sep 14, 11:56 am 2008
Johann Baudy
[PATCH] sendfile() and UDP socket
Hi All, Sendfile() over UDP socket are currently limited to ~ 64KBytes file (max cork.length). Indeed, if you run sendfile() with a file size > 64KBytes over UDP socket, system call will stop and return ~64KBytes without sending anything on the network. This patch is pushing ongoing frames when frames buffer is full, to prevent overflow. Signed-off-by: Johann Baudy <johann.baudy@gmail.com> net/ipv4/udp.c | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff ...
Sep 14, 6:25 am 2008
Jeff Garzik
Re: [patch] WAN: add drivers dslp and sdfe4_cfg
I am having trouble applying this, etp and retina patches. Both git-am and patch(1) report that they are malformed. They look pretty clean and sane on a first quick review. --
Sep 13, 8:58 pm 2008
Jeff Garzik
Re: [patch v2] net: add Gigabit Ethernet Switch for PCI driv...
Need a little bit more information here. How close is this hardware to e1000? Is this driver really from Intel, as the contact information implies? Is there documentation on the hardware anywhere? --
Sep 13, 8:28 pm 2008
Ingo Oeser
Re: [git patches] net driver fixes
Hi Jeff, compare_ether_addr() Maybe fix this in a followup patch? Best Regards Ingo Oeser --
Sep 14, 6:51 pm 2008
Julius Volz
Re: Adding SNAT support to LVS/NAT
Good point, that would be better in some circumstances. We're already looking up the route to the real server anyways and I think the route entry also contains the source IP that a packet to that host would Ok, just from the replies in that thread, it sounds like you have to rethink many assumptions and cases which might be dangerous with that patch. Or have these worries been resolved? Then it would be a nice Hm, that happens in ip_vs_in(), which then calls the connection's transmit function...
Sep 13, 8:31 pm 2008
Joseph Mack NA3T
Re: Adding SNAT support to LVS/NAT
No. Some highly motivated people tried doing SNAT on OUTPUT in an attempt to do F5-SNAT and it didn't work. This lead to the write up in http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.non-modified_realservers.html#F... which brings us to where we are now. Joe -- Joseph Mack NA3T EME(B,D), FM05lw North Carolina jmack (at) wm7d (dot) net - azimuthal equidistant map generator at http://www.wm7d.net/azproj.shtml Homepage http://www.austintek.com/ It's GNU/Linux! --
Sep 13, 9:37 pm 2008
Julius Volz
Re: Adding SNAT support to LVS/NAT
Thanks for the info! Right, I even said myself in the previous reply that ip_vs_postrouting() stops further processing in the POSTROUTING chain, so it never reaches netfilter NAT code. I still think an in-IPVS SNAT would be nice anyways... don't know if I'll find the time to hack on it soon, though. Julius -- Julius Volz - Corporate Operations - SysOps Google Switzerland GmbH - Identification No.: CH-020.4.028.116-1 --
Sep 14, 6:39 am 2008
Julius Volz
Re: Adding SNAT support to LVS/NAT
Actually, what if we modify or remove that function to allow further processing in POSTROUTING? Could SNAT work with IPVS then? The comment above it says that the function specifically wants to avoid further NAT by netfilter. But is this always a problem? Julius -- Julius Volz - Corporate Operations - SysOps Google Switzerland GmbH - Identification No.: CH-020.4.028.116-1 --
Sep 14, 10:47 am 2008
Joseph Mack NA3T
Re: Adding SNAT support to LVS/NAT
sounds OK by me. You should get an opinion from people who I assume the function is there o to speed up LVS (useful but not required for LVS-NAT) o to push the layer 2 packet for LVS-DR out on the wire. This packet has the MAC address of the RIP, but dst_addr=VIP, so can't be sent through routing. Joe -- Joseph Mack NA3T EME(B,D), FM05lw North Carolina jmack (at) wm7d (dot) net - azimuthal equidistant map generator at http://www.wm7d.net/azproj.shtml Homepage [ message continues ]
" title="http://www.austintek....">http://www.austintek....
Sep 14, 11:14 am 2008
Julius Volz
Re: Adding SNAT support to LVS/NAT
Yes, this is a known issue that is usually handled by injecting something like an X-User-IP header into the HTTP request. Hard to do in IPVS (could be done in an app helper though, I assume). Julius -- Julius Volz - Corporate Operations - SysOps Google Switzerland GmbH - Identification No.: CH-020.4.028.116-1 --
Sep 13, 8:41 pm 2008
Ingo Molnar
Re: [PATCH 2.6.28] tcp_ipv6: fix use of uninitialized memory
nice - i think kmemcheck is starting to build up a healthy list of references :-) Ingo --
Sep 14, 10:48 am 2008
Eilon Greenstein
Re: UDP and Raw packet output not scaling with number of cor...
Hi, The bnx2x still does not support the Tx multiqueue. A patch is planned in the near future for it. Regards, Eilon --
Sep 14, 6:06 am 2008
Chris Snook
Re: [PATCH 0/4] atlx: add atl2 support
It's too big for vger as one patch. There's a lot of code that can be whittled down, but this driver has been delayed for months already waiting for that to be finished. Would you prefer a gzipped One Big Patch? -- Chris --
Sep 14, 6:14 pm 2008
Lennert Buytenhek
Re: [PATCH 2/2] mv643xx_eth: hook up skb recycling
I've been trying this as well. (Sorry for the delay in getting back to you about this.) One thing that has made testing all of this nontrivial is that when you get to the level where single cache misses have visible effects on performance, e.g. deleting some code from a function (which is supposed to then speed things up or keep performance the same) can actually drop your routing performance by 20kpps or more due to causing a hot function that comes before this function in the kernel text and...
Sep 14, 3:30 pm 2008
Jay Cliburn
Re: atl1: WARNING at net/sched/sch_generic.c:221
On Thu, 21 Aug 2008 15:58:49 +0400 [...] Alexey, Can you please try this patch? diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c index e23ce77..e00a986 100644 --- a/drivers/net/atlx/atl1.c +++ b/drivers/net/atlx/atl1.c @@ -2642,6 +2642,7 @@ static void atl1_down(struct atl1_adapter *adapter) { struct net_device *netdev = adapter->netdev; + netif_stop_queue(netdev); del_timer_sync(&adapter->watchdog_timer); del_timer_sync(&adapter->phy_config_timer)...
Sep 14, 7:17 pm 2008
Jay Cliburn
Re: atl1: WARNING at net/sched/sch_generic.c:221
On Thu, 21 Aug 2008 05:08:57 -0700 (PDT) For reference, the original report from Alexey on this matter is here: http://marc.info/?l=linux-netdev&m=121931988219314&w=2 To which Dave responded above, "It's a simple transmit timeout error." Should a netdev driver be coded such that a watchdog transmit timeout never occurs? [ 2086.049998] NETDEV WATCHDOG: eth0 (atl1): transmit timed out Or is a watchdog timeout an expected occurrence if a cable is unplugged/plugged? Thanks, Jay ...
Sep 14, 3:26 pm 2008
David Miller
Re: atl1: WARNING at net/sched/sch_generic.c:221
From: Jay Cliburn <jacliburn@bellsouth.net> If the cable is unplugged, netif_carrier_off() will be (or should be) invoked by the driver, and that cancels the watchdog timer. This is all from memory since I'm travelling and don't have the time to check this directly. You should investigate this yourself instead of asking me if you want a truly definitive answer :) --
Sep 14, 7:56 pm 2008
Stephen Hemminger
Re: atl1: WARNING at net/sched/sch_generic.c:221
On Sun, 14 Sep 2008 14:26:54 -0500 Any transmit timeout is driver or hardware bug. The driver should be shutting down transmit correctly on cable pull. --
Sep 14, 3:58 pm 2008
Jeff Garzik
Re: [patch 10/12] forcedeth: add pci_enable_device() to nv_r...
So... the NIC doesn't work after resume, even after your patch is applied? --
Sep 13, 8:08 pm 2008
Simon Arlott
Re: [patch 10/12] forcedeth: add pci_enable_device() to nv_r...
It works after resume with MSI disabled. -- Simon Arlott --
Sep 14, 8:40 am 2008
Jeff Garzik Sep 13, 8:13 pm 2008
Jeff Garzik Sep 13, 8:13 pm 2008
Jeff Garzik
Re: [PATCH] Linux Device Driver for Xilinx LL TEMAC 10/100/1...
Patch looks good -- ACK -- but I cannot apply since I do not have include/linux/xilinx_devices.h --
Sep 13, 8:13 pm 2008
Herbert Xu
Re: [PATCH take 2] pkt_sched: Fix qdisc_watchdog() vs. dev_d...
I don't see the overhead in writing down something that we alrady have. In any case, do you have an alternative solution to the current problem that qdisc_run looks at an arbitrary queue's status to decide whether it should process a qdisc that empties into n queues? Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -...
Sep 14, 2:16 am 2008
Jarek Poplawski
Re: [PATCH take 2] pkt_sched: Fix qdisc_watchdog() vs. dev_d...
If it's only for this initial check I still think my earlier proposal should be enough: http://marc.info/?l=linux-netdev&m=122113717013988&w=2 Anyway, the main problem here was a high cpu load despite stopped queue. Are you sure this peek, which is almost full dequeue, can really help for this? BTW, since after current fix there were no later complains I guess it's just about full netif_stop or non-mq device. Cheers, Jarek P. --
Sep 14, 4:27 pm 2008
jamal
Re: [PATCH take 2] pkt_sched: Fix qdisc_watchdog() vs. dev_d...
What about something that would be cheaper than a peek - just check some driver per-hwq variable? variable is set at netif_stop and unset at netif_wake and should tell you if the driver infact can send if you gave it a packet (way before you dequeue from qdisc, assuming you know which hardware queue it is going to). cheers, jamal --
Sep 14, 7:56 am 2008
Alexander Duyck
Re: [PATCH take 2] pkt_sched: Fix qdisc_watchdog() vs. dev_d...
On Sat, Sep 13, 2008 at 11:16 PM, Herbert Xu <herbert@gondor.apana.org.au> What if we were to push the check for netif_tx_queue_stopped further down into the qdisc layer so that the basic qdiscs such as pfifo_fast did their own peek and in the event that a queue is stopped it just returned NULL and set a flag bit? Basically this would mimic how we are currently handling throttled queues (TCQ_F_THROTTLED). Then in turn each parent could do a check on skb == NULL and set the same flag, or they...
Sep 14, 6:31 am 2008
Jarek Poplawski
Re: [PATCH take 2] pkt_sched: Fix qdisc_watchdog() vs. dev_d...
On Sun, Sep 14, 2008 at 03:31:35AM -0700, Alexander Duyck wrote: IMHO it's a very interesting idea. Probably it could be better evaluated if we have any stats how much this reason of requeing is a problem with mq devices. On the other hand, I wondered about a possibility of rehashing to other queues in some cases during requeuing, which would be impossible after such change. Thanks, Jarek P. --
Sep 14, 5:43 pm 2008
Herbert Xu
Re: [PATCH take 2] pkt_sched: Fix qdisc_watchdog() vs. dev_d...
Why would you want to do that? Just because people have abused requeue in the psat doesn't mean that we need to support such abuses for perpetuity. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt --
Sep 14, 6:13 pm 2008
Jeff Garzik Sep 13, 9:17 pm 2008
Jeff Garzik
Re: [PATCH] cs89x0: add support for i.MX31ADS ARM board
I don't know enough about the arch to be able to ACK or NAK... pass this through the appropriate arch maintainer tree please? --
Sep 13, 8:29 pm 2008
Lennert Buytenhek
Re: [PATCH] cs89x0: add support for i.MX31ADS ARM board
I don't have the original patch in my netdev box anymore, but what seems to me should be done is to add a platform driver interface to the cs89x0 driver, like how most other non-PCI non-other-autoconf- supporting-bus net drivers do it. (There aren't too many -- grep for platform_driver_register in drivers/net/*) Then the knowledge about I/O addresses and IRQ lines can live in the platform code (where it belongs) instead of having it all in the driver (where it doesn't belong). And all the IXDP2...
Sep 14, 8:03 am 2008
Gilles Chanteperdrix
Re: [PATCH] cs89x0: add support for i.MX31ADS ARM board
Hi Lennert, When I published this patch, I had access to an i.MX31ADS board, and getting Linux to work on this board was just a necessity to get my job done. I did this by copying the parts I needed working (the serial console and ethernet driver) from the Freescale tree. Now, I am no longer working on this, so I can not test any modification. And I do not even know why people at Freescale did what they did. All I can tell you is that an i.MX31ADS board works when using this patch. Regards...
Sep 14, 10:13 am 2008
Rafael J. Wysocki
Re: [PATCH] e100: Use pci_pme_active to clear PME_Status and...
Because we just want to clear PME_Status and disable PME#, but pci_enable_wake() involves an ACPI call and generally depends on the dev->power.can_wakeup and dev->power.should_wakeup flags being set. The patch I sent here http://marc.info/?l=linux-kernel&m=122096638020191&w=4 has a better changelog. Thanks, Rafael --
Sep 14, 7:44 pm 2008
Jeff Garzik
Re: [patch v1.2.34] WAN: merge driver retina
Changes look good, but do not apply to the 'retina' branch. Also, the virt_to_bus/virt_to_phys stuff should be replaced with DMA mapping API usage. --
Sep 13, 8:16 pm 2008
Jeff Garzik Sep 13, 9:23 pm 2008
Jeff Garzik Sep 13, 10:12 pm 2008
Jeff Garzik Sep 13, 10:09 pm 2008
Jeff Garzik
Re: [PATCH] Re: ep93xx_eth PHY problems
Testing feedback? Lennert ack? --
Sep 13, 10:11 pm 2008
Oliver Martin
Re: [PATCH] Re: ep93xx_eth PHY problems
We're currently using a variation of my original patch, which didn't handle ifdown correctly (there's a similar reset there). With the current setup, everything seems stable, but we still have some rather hackish workarounds for the original issue in our startup scripts. I don't have the hardware right now, but we'll specifically test without them both with and without auto-negotiation next week and report the results. Index: linux-2.6.26/drivers/net/arm/ep93xx_eth.c ==========================...
Sep 14, 8:11 am 2008
previous daytodaynext day
September 13, 2008September 14, 2008September 15, 2008