linux-netdev mailing list

FromSubjectsort iconDate
David Witbrodt
Re: HPET regression in 2.6.26 versus 2.6.25 -- found ano ...
OK, thanks. I thought you might be someone else. I found another person having the hang regression, and invited him to participate here. I guess you're not that person.... DW --
Aug 23, 4:11 pm 2008
David Witbrodt
Re: HPET regression in 2.6.26 versus 2.6.25 -- found ano ...
Sorry, Yinghai. I decided to shutdown for a time because of bad thunderstorms. Here is the requested output: $ dmesg Linux version 2.6.27-rc4.080823.hpet+bar1 (dawitbro@fileserver) (gcc version 4.3.1 (Debian 4.3.1-2) ) #1 SMP Sat Aug 23 15:40:47 EDT 2008 Command line: root=/dev/hda1 ro video=uvesafb:1280x1024-16@60,mtrr:3 fbcon=scrollback:256k,font:10x18 debug initcall_debug hpet=disable KERNEL supported cpus: Intel GenuineIntel AMD AuthenticAMD Centaur CentaurHauls BIOS-provided ...
Aug 23, 4:09 pm 2008
Arnd Bergmann
[PATCH 0/2] net/usb/mcs7830 update
Hi Jeff, These are two small updates for the mcs7830 driver. The first one is really old and always fell through the cracks so far, the second one just came in today. I don't actually have the hardware any more myself, but I can't were sent to me by the people that tested them and look entirely plausible. Please queue them in net-next. Thanks, Arnd <>< --
Aug 23, 1:14 pm 2008
Arnd Bergmann
[PATCH 1/2] net/usb/mcs7830: new device IDs
This adds USB device IDs for MosChip 7730 and Sitecom LN030 to the mcs7830 driver. The IDs have been reported to work without further modifications. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: David Brownell <david-b@pacbell.net> Cc: Viktor Horvath <ViktorHorvath@gmx.net> Cc: Robbert Wethmar <robbert@wethmar.nl> Cc: Bart van der Klip <bklip@xs4all.nl> --- a/drivers/net/usb/mcs7830.c +++ b/drivers/net/usb/mcs7830.c @@ -46,6 +46,10 @@ #define MCS7830_VENDOR_ID 0x9710 ...
Aug 23, 1:02 pm 2008
Arnd Bergmann
[PATCH 2/2] net/usb/mcs7830: add set_mac_address
From: Oliver Martin <oliver.martin@student.tuwien.ac.at> Implement set_mac_address for mcs7830. This enables me to use it with my cable modem. Tested (and using it right now) with 2.6.26, tested to compile with 2.6.27-rc4 Signed-off-by: Oliver Martin <oliver.martin@student.tuwien.ac.at> Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- linux-2.6.26/drivers/net/usb/mcs7830.c.orig 2008-08-23 01:44:26.000000000 +0200 +++ linux-2.6.26/drivers/net/usb/mcs7830.c 2008-08-23 02:26:28.000000000 ...
Aug 23, 1:08 pm 2008
Rufus & Azrael
Re: HPET regression in 2.6.26 versus 2.6.25 -- found ano ...
Hello David, and I find the present post to try solving this regression. Regards. --
Aug 23, 1:13 pm 2008
David Witbrodt
Re: HPET regression in 2.6.26 versus 2.6.25 -- found ano ...
Hello "Rufus & Azrael", Are you experiencing the same difficulties with kernels hanging after version 2.6.25? In my case, kernels before 2.6.26 worked fine, but all kernels since 2.6.26 hang during boot, and the problem was traced (using 'git bisect') to commit number 3def3d6d. Please let me know your situation. Thanks, Dave W. --
Aug 23, 1:00 pm 2008
David Witbrodt
Re: HPET regression in 2.6.26 versus 2.6.25 -- found ano ...
I found that your patch was supposed to apply beginning at line 1918, but the code in v2.6.27-rc4 that corresponded to the patch actually was located at line 1790. I also found that it would not compile, but was able to fix it... hopefully somewhat as you intended: ======================== diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 9236e7f..7853a05 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -1790,6 +1790,22 @@ ...
Aug 23, 12:29 pm 2008
Arnd Bergmann
Re: [PATCH] mcs7830: add set_mac_address
Acked-by: Arnd Bergmann <arnd@arndb.de> --
Aug 23, 12:59 pm 2008
Oliver Martin
[PATCH] mcs7830: add set_mac_address
Implement set_mac_address for mcs7830. This enables me to use it with my cable modem. Tested (and using it right now) with 2.6.26, tested to compile with 2.6.27-rc4 Signed-off-by: Oliver Martin <oliver.martin@student.tuwien.ac.at> --- linux-2.6.26/drivers/net/usb/mcs7830.c.orig 2008-08-23 01:44:26.000000000 +0200 +++ linux-2.6.26/drivers/net/usb/mcs7830.c 2008-08-23 02:26:28.000000000 +0200 @@ -442,6 +442,29 @@ static struct ethtool_ops mcs7830_ethtoo .nway_reset = usbnet_nway_reset, ...
Aug 23, 11:01 am 2008
Guo-Fu Tseng
[PATCH netdev-2.6] jme: JMicron Gigabit Ethernet Driver ...
Dear Jeff: Here is the full patch of JMicron Gigabit Ethernet driver. Supporting JMC250, and JMC260. Modified according to your recommendation: * Removed extra cpu_to_le32, le32_to_cpu. * Resolve potential lock problem. * Added permission check to ioctl. Still, welcome for any suggestions, and thank you for spending time for reviewing it. The patch is also available at: http://cooldavid.org/download/jme.netdev-2.6.20080824.patch Signed-off-by: Guo-Fu Tseng ...
Aug 23, 10:50 am 2008
Stephen Hemminger
Re: [PATCH netdev-2.6] jme: JMicron Gigabit Ethernet Dri ...
The conventional usage is to use __u8 for parameters that are being used in a kernel to user ABI interface (like ioctl), and u8 for elements in a structure in a device driver. Most device drivers no longer add entries to pci_ids.h for each device type. This used to be done, but the file was getting too big and the id's only get used in one place. --
Aug 23, 11:40 am 2008
Adam Langley
Re: [PATCH] tcp: fix tcp header size miscalculation when ...
Reviewed-by: Adam Langley <agl@imperialviolet.org> AGL -- Adam Langley agl@imperialviolet.org http://www.imperialviolet.org --
Aug 23, 10:20 am 2008
Philip Love
[PATCH] tcp: fix tcp header size miscalculation when win ...
tcp: fix tcp header size miscalculation when window scale is unused The size of the TCP header is miscalculated when the window scale ends up being 0. Additionally, this can be induced by sending a SYN to a passive open port with a window scale option with value 0. Signed-off-by: Philip Love <love_phil@emc.com> --- net/ipv4/tcp_output.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index a00532d..71eea00 ...
Aug 23, 10:18 am 2008
David Witbrodt
Re: HPET regression in 2.6.26 versus 2.6.25 -- found ano ...
No complaints here. When I made myself and my machines available to help with this regression, that included the possibility of errors. I just send a message with the output of 'dmesg | grep ^ignoring', along with the full 'dmesg' output gzipped. My crummy ISP webmail interface may have choked on it, so if you don't get that output before you see this, then let me know so I can resend it. (It's over 100K, though -- *sniff* *wiping tears* I don't care if you DO make mistakes... I LOVE ...
Aug 23, 9:44 am 2008
David Witbrodt
Re: HPET regression in 2.6.26 versus 2.6.25 -- found ano ...
Oops! My fault. I was composing my reply a bit at a time, adding stuff with each reboot, and couldn't see my inbox had this followup ACK. Personally, if I had champagne here, I'd have popped the cork already. This is the first 2.6.2[67] kernel I've had that can boot without "hpet=ignore" or reverting the 2 commits from February. Here are the messages about ignoring conflicts. The full 'dmesg' output is attached -- gzip'ed because it was over 100K (I used kernel parameters "debug ...
Aug 23, 9:32 am 2008
Al Viro
Re: [bisected] Weird sysctl regression
Check the tip of Linus' git tree. Or, at least, something like -rc4. --
Aug 23, 10:02 am 2008
Arnaud Ebalard
Re: [bisected] Weird sysctl regression
Hi, Sorry for the delay. Yes, no additional patches in both cases: - stock 2.6.27-rc4 from kernel.org - freshly cloned net-next-2.6 after David's announcement Cheers, a+ ps: if you have various ideas you want to test on that issue (additional debug, printks, ...), don't hesitate to send me patches ... --
Aug 23, 2:09 pm 2008
Arnaud Ebalard
Re: [bisected] Weird sysctl regression
Hi, I already tested 26.27-rc4 and even net-next-2.6 (recently released one based on rc4 with some bug fixes). Problem is still here. I did not already tested tip of Linus' git tree but can do it on Monday. This might be completely unrelated but while looking at others commits around previous one, I saw bd7b1533cd6a68c734062aa69394bec7e2b1718e ([PATCH] sysctl: make sure that /proc/sys/net/ipv4 appears before per-ns ones). Does IPv6 need the same kind of trick ? Cheers, a+ --
Aug 23, 10:13 am 2008
Arnaud Ebalard
Re: [bisected] Weird sysctl regression
Hi, Hence the note on hardware similarities of both device outside All Linux 2.6.26 (initial and stable releases) are not affected. I am As I wrote in my previous email, bisecting net-2.6 lead me to 9043476f726802f4b00c96d0c4f418dde48d1304 ([PATCH] sanitize proc_sysctl) which is in the middle of a set of fs/sysctl related patches. I think I am missing the point on what you want me to do. Can you clarify? Thanks for your work. Cheers, a+ --
Aug 23, 9:03 am 2008
Al Viro
Re: [bisected] Weird sysctl regression
Just to make sure: that's rc4 without any additional patches? --
Aug 23, 11:16 am 2008
Ingo Molnar
Re: HPET regression in 2.6.26 versus 2.6.25 -- found ano ...
sorry about that, my first patch was more broken than i thought (it will basically hang on _any_ box), please try the second patch. Note how the above hack code does a stupid goto, and 'p' is updated for the next loop iteration already. The second version of the debug patch only updates 'p' in the 'continue' case and will hopefully get you much further into bootup! Ingo --
Aug 23, 8:55 am 2008
David Witbrodt
Re: HPET regression in 2.6.26 versus 2.6.25 -- found ano ...
Thanks Ingo. I've been building your 'tip/master' tree daily (Just In Case) since No offense... but this patch does something Bad. [BTW, if you send patches for me to try in the future, could you make them attachments? I have not replaced my old email system with the new one which uses my newer "server" machines, so I have been temporarily forced to use my ISP's _broken_ web interface for email. Not only does that web client break threading in LKML inboxes -- sorry folks! -- it messes ...
Aug 23, 8:42 am 2008
David Miller
[GIT]: Networking
Here are some bug fixes: 1) Zebra routing daemon is confused because ipv6 netlink event messages don't set the protocol field properly like ipv4 ones do. Fix from Stephen Hemminger. 2) Insufficient qdisc list locking leads to Qdisc corruption and oops. Fix from Jarek Poplawski. 3) Qdisc watchdog timer can race with dev_deactivate(), put state tests in the slow path to prevent this. Also from Jarek Poplawski. 4) Several SCTP-AUTH sock options are user OOPS'able. Fix ...
Aug 23, 5:24 am 2008
Yinghai Lu
Re: HPET regression in 2.6.26 versus 2.6.25 -- found ano ...
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 13) Subsystem: Elitegroup Computer Systems Device 2621 Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Region 0: I/O ports at fa00 [size=16] Region 1: Memory at 80000000 (32-bit, non-prefetchable) [size=1K] Capabilities: [b0] HyperTransport: MSI Mapping Enable- ...
Aug 23, 10:51 am 2008
David Witbrodt Aug 23, 4:58 am 2008
Ingo Molnar
Re: HPET regression in 2.6.26 versus 2.6.25 -- found ano ...
please use the replacement debug patch below. (the previous one was buggy, it would likely lock up because it iterated incorrectly.) [ and i'd also like to stress that this isnt a solution, this is a debug hack that can lead to a solution. ] Ingo --------------> From dc1c9cafd20edacb14e902c5ee72547f14c12545 Mon Sep 17 00:00:00 2001 From: Ingo Molnar <mingo@elte.hu> Date: Sat, 23 Aug 2008 15:33:51 +0200 Subject: [PATCH] debug: ignore resource conflicts --- kernel/resource.c | ...
Aug 23, 8:03 am 2008
Ingo Molnar
Re: HPET regression in 2.6.26 versus 2.6.25 -- found ano ...
David, could you try the debug patch below ontop of latest tip/master: http://people.redhat.com/mingo/tip.git/README the patch forcibly ignores resource conflicts and reports them. This will likely break some system - but if your hpet troubles are due to resource conflicts then this patch would make the kernel boot up fine on your system by default, with a working hpet. You should also be getting a printout and a warning in the dmesg in that case. Ingo ------------> From ...
Aug 23, 6:36 am 2008
David Witbrodt
Re: HPET regression in 2.6.26 versus 2.6.25 -- found ano ...
Ahh, thank you for reviewing that with me. It looks like you are getting very close to a fix. FYI, I have asked the other user who first reported a similar problem (back in May) to try booting his kernel with "hpet=disable" and report his results here. We cannot be sure that his problem is identical to mine, but I believe he has been compiling his own kernels since May by manually reverting commit number 3def3d6d. I'm hoping that he will be able to help us test patches which attempt to ...
Aug 23, 4:42 am 2008
Jeff Garzik
Re: [PATCH netdev-2.6] jme: JMicron Gigabit Ethernet Driver
Very nice and clean and feature-complete! Comments: * the definition of jwrite32() and jread32(): writel() and readl() are defined in terms of the little-endian PCI bus, and therefore automatically handle byteswapping (or not) as defined by the platform API. You should be able to just remove those le32_to_cpu() and the reverse, to obtain proper behavior. * The atomic values rx_cleaning and tx_cleaning look problematic and potentially racy, though I admit not having completely ...
Aug 22, 11:41 pm 2008
Guo-Fu Tseng
[PATCH netdev-2.6] jme: JMicron Gigabit Ethernet Driver
Hi, Jeff: Here is the full patch of JMicron Gigabit Ethernet driver. Supporting JMC250, and JMC260. I'm new in this submitting system, I've tried hard not to done silly errors. Comments, and corrections are welcome from anyone. Thank you for reviewing it. The patch is also available at: http://cooldavid.org/download/jme.netdev-2.6.20080823.patch Signed-off-by: Guo-Fu Tseng <cooldavid@cooldavid.org> --- diff -uprN -X ./dontdiff netdev-2.6/drivers/net/jme.c linux/drivers/net/jme.c --- ...
Aug 22, 11:05 pm 2008
Guo-Fu Tseng
Re: [PATCH netdev-2.6] jme: JMicron Gigabit Ethernet Driver
Should I add privilege check, or should(could?) I send a patch that add ethtool interface for flash(For storing PXE code) read/write? Thank you for super-fast reply. --
Aug 23, 9:04 am 2008
David Miller
Re: incorrect tcp options with window scale
From: "Adam Langley" <agl@imperialviolet.org> I was going to ignore it anyways since you didn't follow the most basic things listed in linux/Documentation/SubmittingPatches --
Aug 23, 1:18 am 2008
Philip Love
incorrect tcp options with window scale
Attached is a patch against the latest 2.6.27-rc4 kernel. When window scaling is enabled, but the tcp buffer sizes are small, then the tcp SYN packet created will have an incorrect tcp header length. The tcp length is calculated assuming that the window scale option will be inserted into the tcp header, but since the buffer sizes are too small the window scale is not used. Therefore the last 4 bytes of the options in the tcp header are left uninitialized. This can be reproduced by ...
Aug 22, 7:15 pm 2008
Adam Langley
Re: incorrect tcp options with window scale
I suck again. David, can you hold off on this patch for a day? I think it's correct, but there might be another similar case with the SYNACKs that I'll look at once I've slept. Cheers AGL -- Adam Langley agl@imperialviolet.org http://www.imperialviolet.org --
Aug 22, 8:26 pm 2008
David Miller
Re: incorrect tcp options with window scale
From: Philip Love <love_phil@emc.com> Please submit unified diffs. It's the very first item in linux/Documentation/SubmittingPatches --
Aug 23, 1:17 am 2008
Yinghai Lu
Re: HPET regression in 2.6.26 versus 2.6.25 -- found ano ...
that mean is hpet using insert_resource. pnp 00:0d: mem resource (0xfed00000-0xfed000ff) overlaps 0000:00:14.0 BAR 1 (0xfed00000-0xfed003ff), disabling request_resource: root: (PCI IO) [0, ffff], new: (0000:00:14.0) [fa00, fa0f] conflict 0 request_resource: root: (PCI mem) [0, ffffffffffffffff], new: (0000:00:14.0) [fed00000, fed003ff] conflict 1 pci 0000:00:14.0: BAR 1: can't allocate resource piix4_smbus 0000:00:14.0: SMBus Host Controller at 0xfa00, revision 0 because (0000:00:14.0) ...
Aug 22, 10:41 pm 2008
Yinghai Lu
Re: HPET regression in 2.6.26 versus 2.6.25 -- found ano ...
please send out after booting with hpet=disable lspci -tv lspci -vvxxx YH --
Aug 22, 11:56 pm 2008
David Witbrodt
Re: HPET regression in 2.6.26 versus 2.6.25 -- found ano ...
Yinghai, I finally found time to try to get some output using your patch for resource.c on a kernel that hangs. Some really good advice came in earlier today: I can use "vga=1" to get 80x50 mode during the early boot sequence. I used that, and made some alterations to the changes in your patch to squeeze more info onto the screen. I also changed KERN_DEBUG to KERN_ERR in your printk's so that I could decrease the other output by using "loglevel=4". While I cannot see the entire set ...
Aug 22, 7:25 pm 2008
David Miller
Re: pull request: wireless-next-2.6 2008-08-22
From: "John W. Linville" <linville@tuxdriver.com> Pulled and pushed out to kernel.org, thanks John! --
Aug 23, 5:08 am 2008
Tomas Winkler
Re: pull request: wireless-next-2.6 2008-08-22
On Sat, Aug 23, 2008 at 2:46 AM, John W. Linville Missing this one iwlwifi: allow consecutive scans in unassociated state http://marc.info/?l=linux-wireless&m=121919791411147&w=2 Thanks --
Aug 22, 6:21 pm 2008
David Miller
Re: [PATCH net-next 3/3] tcp: Add tcp_parse_aligned_timestamp
From: "Ilpo_Järvinen" <ilpo.jarvinen@helsinki.fi> Also applied, thanks a lot Ilpo. --
Aug 23, 5:12 am 2008
David Miller
Re: [PATCH net-next 2/3] tcp: Add tcp_collapse_one to el ...
From: "Ilpo_Järvinen" <ilpo.jarvinen@helsinki.fi> Applied. --
Aug 23, 5:11 am 2008
David Miller
Re: [PATCH net-next 1/3] tcp: Add tcp_validate_incoming ...
From: "Ilpo_Järvinen" <ilpo.jarvinen@helsinki.fi> Applied. --
Aug 23, 5:11 am 2008
Octavian Purdila
Re: [RFC] [PATCH] ip: skip IP checksum for skbs with CHE ...
From: Herbert Xu <herbert@gondor.apana.org.au> Yes, this was the intention, it seemed like a reasonable trade-off between FPGA space & complexity / software complexity at the time. Thanks for the input, Of course not :) tavi --
Aug 23, 2:58 am 2008
Stephen Hemminger
Re: [RFC] [PATCH] ip: skip IP checksum for skbs with CHE ...
On Fri, 22 Aug 2008 17:36:25 -0700 (PDT) And braindead for any other uses (like filtering or forwarding). --
Aug 22, 6:59 pm 2008
Herbert Xu
Re: [RFC] [PATCH] ip: skip IP checksum for skbs with CHE ...
I sure hope they're not planning on leaving out the IP header checksum verification too :) -- 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 --
Aug 22, 10:15 pm 2008
David Miller
Re: [RFC] [PATCH] ip: skip IP checksum for skbs with CHE ...
From: Stephen Hemminger <shemminger@vyatta.com> I don't think they want this for performance, they want to not have to compute the IP header checksum in their HW LRO implementation, which is just as silly :-) --
Aug 22, 5:36 pm 2008
Divy Le Ray
Re: [PATCH 4/4 2.6.28] cxgb3i - cxgb3i iscsi driver
Hi Andrew, thanks for the review. We've started fixing the obvious and looking at alternatives for the nofail allocations. Cheers, Divy --
Aug 23, 12:31 pm 2008
Shyam_Iyer
RE: [PATCH 4/4 2.6.28] cxgb3i - cxgb3i iscsi driver
meaningless (and often misleading) once a driver is in the mainline kernel. People will >update the driver without changing the version It gives us a stick to ask vendors to maintain upstream versions of driver code in the distros. While we are at this. I believe that there is not much of a standard for driver versioning. If we automatically get a driver version from the kernel version then it solves both problems. Thoughts ?? Thanks, Shyam --
Aug 23, 1:22 am 2008
Shyam_Iyer
RE: [PATCH 4/4 2.6.28] cxgb3i - cxgb3i iscsi driver
>Look, what you're suggesting is to change existing practice and that handled, bring that up as a seperate topic on linux-kernel. accepted practice. That wasn't the intention here. It rose out of the discussion that was being suggested that DRV_MODULE_VERSION be removed and I don't think should be done. So, I suggested a followup suggestion from there. Will take that up as you suggested. -Shyam --
Aug 23, 4:10 am 2008
David Miller
Re: [PATCH 4/4 2.6.28] cxgb3i - cxgb3i iscsi driver
From: <Shyam_Iyer@Dell.com> It should not be standardized because every driver maintainer works differently, and every driver is developed differently, and therefore has different needs and desires for the version number. All that matters is that the driver version makes sense to the person maintaining the driver, and works for them when reviewing bug reports. Look, what you're suggesting is to change existing practice and that doesn't belong in the discussion of the review of a specific ...
Aug 23, 2:29 am 2008
Shyam_Iyer
RE: [PATCH 4/4 2.6.28] cxgb3i - cxgb3i iscsi driver
from the user and they have no idea where their kernel came from nor can the maintainer, but the maintainer is always going to bump it after Exactly. And I am also suggesting that the driver version is not standard among different vendors. So, why not get them generated in an automatic build process. Something like "kernel-version.driver-version". I am just imagining here. The details can be worked out. -Shyam --
Aug 23, 2:07 am 2008
David Miller
Re: [PATCH 4/4 2.6.28] cxgb3i - cxgb3i iscsi driver
From: <Shyam_Iyer@Dell.com> I totally disagree. I find it very useful when I get a debugging dump from the user and they have no idea where their kernel came from nor can figure out how to determine the kernel version. Sure it might sometimes not get updated for trivial patches that bypass the maintainer, but the maintainer is always going to bump it after non-trivial changes. --
Aug 23, 1:28 am 2008
Herbert Xu
Re: [PATCH 1/4 2.6.28] cxgb3 - manage a private ip addre ...
Sorry but where is be32 defined? I couldn't find it in linux/types.h. Perhaps we should resurrect this patch from 2005? [PATCH] Add be*/le* types without underscores I've seen a number of patches that have started to use the __le*/__be* types within the kernel. Nice as they are, the underscores are really a bit of an eye sore. Since there seems to be no name conflict within the kernel, why don't we use them without the underscores like just as we do with types like u32? Here is a ...
Aug 22, 9:55 pm 2008
Herbert Xu
Re: [PATCH 3/3] pkt_sched: restore multiqueue prio scheduler
That looks like a problem but it isn't. When you're overriding the default queue selection you're breaking CPU affinity. As such cache-line bouncing is clearly not a concern or you wouldn't be doing this (that is, you're doing this for QOS rather than CPU scalability). So having everything go through a single qdisc shouldn't be a problem. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: ...
Aug 22, 10:12 pm 2008
Alexander Duyck
Re: [PATCH 3/3] pkt_sched: restore multiqueue prio scheduler
Actually in this new multiple tx queue kernel this qdisc could serve a very specific but needed purpose which just became apparent to me. This qdisc resolves one very specific issue, head-of-line blocking if one of the hardware queues is full. What if I reversed things a bit in prio_classify so that skb->queue_mapping determined the band instead of the other way around in the case of the multiqueue option being enabled? I would think that in this configuration the qdisc would prove to be ...
Aug 23, 9:31 am 2008
Herbert Xu
Re: [PATCH 3/3] pkt_sched: restore multiqueue prio scheduler
As it is if you create a custom qdisc then there will only be a single qdisc no matter how many hardware queues you have. So you can safely dequeue from the qdisc into any hardware queue you want. 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 --
Aug 23, 12:07 am 2008
Jarek Poplawski
Re: [PATCH 3/3] pkt_sched: restore multiqueue prio scheduler
On Fri, Aug 22, 2008 at 05:33:48PM -0700, David Miller wrote: Alas I can't get your point here. prio is sched + classifier 2 in 1, and if a small change in this is enough for somebody who really uses this, and there seem to be noone interested in doing this better or harmed with this, why bother with actions or other classifiers? Maybe this prio method is less generic, but it's quite simple and there is some infrastructure around this. Jarek P. --
Aug 23, 1:47 am 2008
Alexander Duyck
Re: [PATCH 3/3] pkt_sched: restore multiqueue prio scheduler
In the case of this scheduler our main focus is QOS and then performance. Basically I was trying to achieve the goal of setting up the queues as needed without forcing a serious change in the current transmit path or seriously impacting performance. I figure since all I am doing is restoring part of what was there for 2.6.26 the I am almost certain that David's approach using the hash will show better performance than the multiqueue prio qdisc would. The multiqueue prio qdisc is meant to ...
Aug 22, 5:01 pm 2008
David Miller
Re: [PATCH 3/3] pkt_sched: restore multiqueue prio scheduler
From: "Alexander Duyck" <alexander.duyck@gmail.com> The only sensible way to implement this is to use the existing classifier technology in the packet scheduler to choose traffic, and then writing a TC actions or ematch module that sets the TX queue of the SKB based upon the classification result. The thing that was there before was very narrow in scope and we'll just have to keep adding more special purpose modules as more such uses come up. With the classifiers, it's generic and any ...
Aug 22, 5:40 pm 2008
Alexander Duyck
Re: [PATCH 3/3] pkt_sched: restore multiqueue prio scheduler
I thought about doing just that but then I realized that there would be a number of issues. First if I just set the skb->queue_mapping for the packet without moving it to a qdisc dedicated to that tx queue I run into head-of-line issues since multiple qdiscs will stop if holding packets for a single tx queue that is full. That is over come in this patch by the fact that each qdisc has a specific fifo per tx queue. That issue led me to the thought of creating a redirect action that would ...
Aug 22, 6:37 pm 2008
jamal
Re: [PATCH 3/3] pkt_sched: restore multiqueue prio scheduler
i think thats whats Dave is saying not in so many words. prio_classify calls classifiers. dont modify the qdisc; rather do a classification which when matched sets skb->queue_mapping to a value your policy likes it to be. you dont need a new classifier, u32 would do for example. or ematch if you want to do some funky things. you will need a new action which sets put overflow queues in your driver. With the new multiq approach the controls are per-queue not per ...
Aug 23, 9:49 am 2008
Alexander Duyck
Re: [PATCH 3/3] pkt_sched: restore multiqueue prio scheduler
We have to modify the existing prio qdisc or create a new qdisc in order to resolve the head-of-line blocking once any of the queues have stopped. The new one wouldn't make any changes to the priority of the packet but instead would only switch it to a separate qdisc based on the queue_mapping of the skb. I get the fact that all we would need is a new action to handle the queue mapping, but in order for that to be an acceptable solution I I think you missed the email from Dave earlier, ...
Aug 23, 12:09 pm 2008
David Miller
Re: [PATCH 3/3] pkt_sched: restore multiqueue prio scheduler
From: Jarek Poplawski <jarkao2@gmail.com> If we want queue selection in the packet scheduler, let's implement it, but let's do so properly using classifiers and TC actions or a ematch modules that can select the queue. Then people can implement whatever policy they want, in completely generic ways, and the kernel simply doesn't care. The way this code worked was completely special purpose and ignored the host of facilities and infrastructure we have for doing things like this. --
Aug 22, 5:33 pm 2008
Alexander Duyck
Re: [PATCH 3/3] pkt_sched: restore multiqueue prio scheduler
On Fri, Aug 22, 2008 at 10:12 PM, Herbert Xu It isn't the performance aspect of running everything through one queue that I am concerned about since that is how it was working before. My concern is that the action could cause a dead lock if simple_tx_hash places traffic on 2 queues and then the tc rule tried to swap the traffic between those queues while they are each holding their own queue locks. The tc rule would have to receive all traffic onto a single qdisc to prevent this, which would ...
Aug 22, 11:35 pm 2008
David Miller
Re: [PATCH 3/3] pkt_sched: restore multiqueue prio scheduler
From: "Alexander Duyck" <alexander.duyck@gmail.com> Such fifos could be configured using 'tc' commands just as easily. Look, I know what you're trying to do is possible with at best minor tweaks. So don't press your luck listing how impossible it is :-) --
Aug 23, 1:15 am 2008
David Miller
Re: [PATCH 3/3] pkt_sched: restore multiqueue prio scheduler
From: "Alexander Duyck" <alexander.duyck@gmail.com> You really should look at how the current code works before coming to conclusions like this ;-) When you configure any qdisc onto a device using tc, you get a single qdisc which is shared by all of the TXQ objects of the device. The per-TXQ qdisc thing only happens for the default qdisc. --
Aug 23, 1:23 am 2008
Al Viro
Re: [git pull] VFS patches, the first series
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 16fc6f4..d3c156e 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -3054,14 +3054,23 @@ static ctl_table ipv4_route_table[] = { { .ctl_name = 0 } }; -static __net_initdata struct ctl_path ipv4_route_path[] = { +static struct ctl_table empty[1]; + +static struct ctl_table ipv4_skeleton[] = +{ + { .procname = "route", .ctl_name = NET_IPV4_ROUTE, + .child = ipv4_route_table}, + { .procname = "neigh", .ctl_name = ...
Aug 23, 12:24 am 2008
Eric W. Biederman
Re: [git pull] VFS patches, the first series
That case is simple. We never allowed overlapping leaves, and all of the directories had essentially the same permissions. Beyond that I added checks in sysctl_check to make certain we are never out of sync. As for the walking and rewalking I was never fond of it but it was simple and worked. Thanks for looking. The ordering problem is self inflicted as you introduced an ordering constraint where none existed previously, and it seems unnecessary. I'm currently tearing my hair out ...
Aug 22, 10:22 pm 2008
Al Viro
Re: [git pull] VFS patches, the first series
Note that the old semantics had a lovely inherent problem (leaving aside the utterly insane amount of walking and re-walking the trees, as you've found out the hard way - don't tell me you hadn't cursed it when writing the previous version of proc_sysctl.c): there's redundancy between the trees. At the very least, just what are we supposed to get when the Fine by me... BTW, fixing that particular crap is not hard - you need to have the entry in question show up before either interface, ...
Aug 22, 8:33 pm 2008
Gerrit Renker
v3 [PATCH 1/1] dccp: Process incoming Change feature-neg ...
This is a revision of [PATCH 3/3] submitted a few days ago, correcting the use of a jump label - the control wrongly went to invalid_option when feature negotiation failed. Also tidied the patch up a little to make it easier to review. ----------------------------> Patch v3 <----------------------------- dccp: Process incoming Change feature-negotiation options This adds/replaces code for processing incoming ChangeL/R options. The main difference is that: * mandatory FN options are now ...
Aug 23, 3:56 am 2008
David Miller
Re: [PATCH 1/1] icmp: icmp_sk() should not use smp_proce ...
From: "Denis V. Lunev" <den@openvz.org> Applied, thanks Denis! --
Aug 23, 4:45 am 2008
Daniel Lezcano Aug 23, 2:12 am 2008
Herbert Xu
Re: [PATCH 1/1] icmp: icmp_sk() should not use smp_proce ...
Because then you can get rescheduled to another CPU while still using someone else's ICMP socket. 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 --
Aug 22, 5:48 pm 2008
Al Viro
Re: [bisected] Weird sysctl regression
Endianness is very unlikely to be the cause of that. Order of initialization, OTOH... Can you reproduce it on mainline kernel or bisect between the mainline and net-2.6 if mainline is OK? --
Aug 23, 1:49 am 2008
Graeme Fowler
Re: [PATCH RFC 00/24] IPVS: Add first IPv6 support to IPVS
Well, it was just a suggestion. It'd be nice, I reckon, to be able to say to people on lvs-users who ask us that "yes, this is currently being worked on" at the very least. It might stop people bleating, as they currently do (albeit rarely). Graeme --
Aug 23, 9:31 am 2008
Joseph Mack NA3T
Re: [PATCH RFC 00/24] IPVS: Add first IPv6 support to IPVS
we aren't a commercial shop. This is all being done by volunteers. In which case features arrive in the time and order that the coder(s) do it. 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! --
Aug 23, 8:22 am 2008
Julius Volz
Re: [PATCH RFC 00/24] IPVS: Add first IPv6 support to IPVS
Right, we can only do our best, and even then we can't make This is what we have as an experimental version right now. Meaning, 'works for us without problems, but not well tested or reviewed - any For fragmentation and other extension headers support, we would probably need people with more knowledge of the rest of the IPv6 stack to contribute. However, both features aren't common (especially fragmentation with IPv6) in this situation, so missing them is not likely to hurt a lot of ...
Aug 23, 4:07 pm 2008
Graeme Fowler
Re: [PATCH RFC 00/24] IPVS: Add first IPv6 support to IPVS
I agree - having a new sync daemon which can deal with v6 entries aswell as v4 entries would be a good way to work; the legacy code can then be Well, as someone else mentioned on lvs-users recently "I couldn't code my way out of a wet paper bag in C" so I'm not much help on that front, however I feel that getting the minimal working feature set going first and then adding the sync code later is probably a good way to proceed. This also gives us a development timeline that we can offer ...
Aug 23, 2:20 am 2008
David Miller
Re: [RFC] ipv6: protocol for address routes
From: Stephen Hemminger <shemminger@vyatta.com> I've applied this to net-2.6, thanks Stephen. --
Aug 23, 5:17 am 2008
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl ...
From: Jarek Poplawski <jarkao2@gmail.com> Yes, I designed it for the future. Nothing really uses this capability currently. --
Aug 23, 5:15 am 2008
Indan Zupancic
Re: Realtek 8111C transmit timed out
Running 2.6.27-rc3 now and that works fine. :-) (Of course the next day rc4 came out...) Let's use this opportunity to say a big thank you to all you wonderful people who keep things running. The world wouldn't be the same without you. Greetings, Indan --
Aug 23, 6:51 am 2008
Ilpo Järvinen Aug 23, 7:38 am 2008
Dâniel
Re: [PATCH] tcp FRTO: in-order-only "TCP proxy" fragilit ...
On Fri, 22 Aug 2008 14:37:09 -0700 (PDT) Correct! I tested with the HTB patches and the problem was solved. ;) Thank you very much. -- --
Aug 23, 7:14 am 2008
previous daytodaynext day
August 22, 2008August 23, 2008August 24, 2008