* [PATCH 17/11]Optimize the upload speed for PPP connection.
@ 2009-11-17 9:19 fangxiaozhi 00110321
2009-11-17 9:22 ` David Miller
0 siblings, 1 reply; 15+ messages in thread
From: fangxiaozhi 00110321 @ 2009-11-17 9:19 UTC (permalink / raw)
To: davem; +Cc: netdev, linux-kernel, william.allen.simpson
From: fangxiaozhi <huananhu@huawei.com>
1. This patch is based on the kernel of 2.6.32-rc4
2. In this patch, we enlarge the out buffer size to optimize the upload speed for the ppp connection. Then it can support the upload of HSUPA data cards.
Signed-off-by: fangxiaozhi <huananhu@huawei.com>
-----------------------------------------------------------------------------------------
--- a/drivers/net/ppp_async.c 2009-10-12 05:43:56.000000000 +0800
+++ b/drivers/net/ppp_async.c 2009-10-15 16:29:56.000000000 +0800
@@ -36,7 +36,7 @@
#define PPP_VERSION "2.4.2"
-#define OBUFSIZE 256
+#define OBUFSIZE 4096
/* Structure for storing local state. */
struct asyncppp {
******************************************************************************************
This email and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained here in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this email in error, please notify the sender by phone or email
immediately and delete it!
*****************************************************************************************
^ permalink raw reply [flat|nested] 15+ messages in thread* Re: [PATCH 17/11]Optimize the upload speed for PPP connection. 2009-11-17 9:19 [PATCH 17/11]Optimize the upload speed for PPP connection fangxiaozhi 00110321 @ 2009-11-17 9:22 ` David Miller 2009-11-17 10:20 ` William Allen Simpson 0 siblings, 1 reply; 15+ messages in thread From: David Miller @ 2009-11-17 9:22 UTC (permalink / raw) To: huananhu; +Cc: netdev, linux-kernel, william.allen.simpson From: fangxiaozhi 00110321 <huananhu@huawei.com> Date: Tue, 17 Nov 2009 17:19:02 +0800 > From: fangxiaozhi <huananhu@huawei.com> > 1. This patch is based on the kernel of 2.6.32-rc4 > 2. In this patch, we enlarge the out buffer size to optimize the upload speed for the ppp connection. Then it can support the upload of HSUPA data cards. > Signed-off-by: fangxiaozhi <huananhu@huawei.com> Your patch is broken, please don't wate my time like this. + git apply --check --whitespace=error-all diff error: patch failed: drivers/net/ppp_async.c:36 error: drivers/net/ppp_async.c: patch does not apply ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 17/11]Optimize the upload speed for PPP connection. 2009-11-17 9:22 ` David Miller @ 2009-11-17 10:20 ` William Allen Simpson 2009-11-17 11:14 ` Jarek Poplawski ` (3 more replies) 0 siblings, 4 replies; 15+ messages in thread From: William Allen Simpson @ 2009-11-17 10:20 UTC (permalink / raw) To: huananhu; +Cc: David Miller, netdev, linux-kernel David Miller wrote: > Your patch is broken, please don't wate my time like this. > > + git apply --check --whitespace=error-all diff > error: patch failed: drivers/net/ppp_async.c:36 > error: drivers/net/ppp_async.c: patch does not apply > What David may have meant, had he followed Documentation/ManagementStyle or had any project management skills what-so-ever, is that you need to follow Documentation/SubmittingPatches more carefully. Look at 15) The canonical patch format [PATCH 17/11] makes no sense, you don't have 11 patches, and the 17th patch of 11 can never exist. Need a better "subsystem: summary phrase", perhaps "net: PPP buffer too small for higher speed connections" A marker line containing simply "---". And your trailer boilerplate badly breaks the system, because it's missing the SMTP email standard "--" line in front of it. You'll get nicer formatting with 'git format-patch -o ~ HEAD~1' after you do a 'git commit -a' on your git tree. It takes some time, even for a simple 1 line fix like this.... Hope that helps. ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 17/11]Optimize the upload speed for PPP connection. 2009-11-17 10:20 ` William Allen Simpson @ 2009-11-17 11:14 ` Jarek Poplawski 2009-11-17 11:49 ` William Allen Simpson 2009-11-17 11:54 ` Franko Fang 2009-11-17 11:49 ` David Miller ` (2 subsequent siblings) 3 siblings, 2 replies; 15+ messages in thread From: Jarek Poplawski @ 2009-11-17 11:14 UTC (permalink / raw) To: William Allen Simpson; +Cc: huananhu, David Miller, netdev, linux-kernel On 17-11-2009 11:20, William Allen Simpson wrote: > David Miller wrote: >> Your patch is broken, please don't wate my time like this. >> >> + git apply --check --whitespace=error-all diff >> error: patch failed: drivers/net/ppp_async.c:36 >> error: drivers/net/ppp_async.c: patch does not apply >> > What David may have meant, had he followed Documentation/ManagementStyle > or had any project management skills what-so-ever, is that you need to > follow Documentation/SubmittingPatches more carefully. I think this time it was only about a missing tab ;-) Jarek P. > > Look at 15) The canonical patch format > > [PATCH 17/11] makes no sense, you don't have 11 patches, and the 17th > patch of 11 can never exist. > > Need a better "subsystem: summary phrase", perhaps > "net: PPP buffer too small for higher speed connections" > > A marker line containing simply "---". > > And your trailer boilerplate badly breaks the system, because it's > missing the SMTP email standard "--" line in front of it. > > You'll get nicer formatting with 'git format-patch -o ~ HEAD~1' after you > do a 'git commit -a' on your git tree. > > It takes some time, even for a simple 1 line fix like this.... > > Hope that helps. > -- > To unsubscribe from this list: send the line "unsubscribe netdev" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 17/11]Optimize the upload speed for PPP connection. 2009-11-17 11:14 ` Jarek Poplawski @ 2009-11-17 11:49 ` William Allen Simpson 2009-11-17 11:54 ` Franko Fang 1 sibling, 0 replies; 15+ messages in thread From: William Allen Simpson @ 2009-11-17 11:49 UTC (permalink / raw) To: Jarek Poplawski; +Cc: huananhu, David Miller, netdev, linux-kernel Jarek Poplawski wrote: > On 17-11-2009 11:20, William Allen Simpson wrote: >> David Miller wrote: >>> Your patch is broken, please don't wate my time like this. >>> >>> + git apply --check --whitespace=error-all diff >>> error: patch failed: drivers/net/ppp_async.c:36 >>> error: drivers/net/ppp_async.c: patch does not apply >>> >> What David may have meant, had he followed Documentation/ManagementStyle >> or had any project management skills what-so-ever, is that you need to >> follow Documentation/SubmittingPatches more carefully. > > I think this time it was only about a missing tab ;-) > In his inimitable inimical manner, comprehensively comprehensible. ;-) ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 17/11]Optimize the upload speed for PPP connection. 2009-11-17 11:14 ` Jarek Poplawski 2009-11-17 11:49 ` William Allen Simpson @ 2009-11-17 11:54 ` Franko Fang 1 sibling, 0 replies; 15+ messages in thread From: Franko Fang @ 2009-11-17 11:54 UTC (permalink / raw) To: Jarek Poplawski, William Allen Simpson; +Cc: David Miller, netdev, linux-kernel Well, yes, I think that it misses the tab. I will update the patch, and resubmit it again. Thanks for all . ----- Original Message ----- From: "Jarek Poplawski" <jarkao2@gmail.com> To: "William Allen Simpson" <william.allen.simpson@gmail.com> Cc: <huananhu@huawei.com>; "David Miller" <davem@davemloft.net>; <netdev@vger.kernel.org>; <linux-kernel@vger.kernel.org> Sent: Tuesday, November 17, 2009 7:14 PM Subject: Re: [PATCH 17/11]Optimize the upload speed for PPP connection. > On 17-11-2009 11:20, William Allen Simpson wrote: >> David Miller wrote: >>> Your patch is broken, please don't wate my time like this. >>> >>> + git apply --check --whitespace=error-all diff >>> error: patch failed: drivers/net/ppp_async.c:36 >>> error: drivers/net/ppp_async.c: patch does not apply >>> >> What David may have meant, had he followed Documentation/ManagementStyle >> or had any project management skills what-so-ever, is that you need to >> follow Documentation/SubmittingPatches more carefully. > > I think this time it was only about a missing tab ;-) > > Jarek P. > >> >> Look at 15) The canonical patch format >> >> [PATCH 17/11] makes no sense, you don't have 11 patches, and the 17th >> patch of 11 can never exist. >> >> Need a better "subsystem: summary phrase", perhaps >> "net: PPP buffer too small for higher speed connections" >> >> A marker line containing simply "---". >> >> And your trailer boilerplate badly breaks the system, because it's >> missing the SMTP email standard "--" line in front of it. >> >> You'll get nicer formatting with 'git format-patch -o ~ HEAD~1' after you >> do a 'git commit -a' on your git tree. >> >> It takes some time, even for a simple 1 line fix like this.... >> >> Hope that helps. >> -- >> To unsubscribe from this list: send the line "unsubscribe netdev" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> > > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 17/11]Optimize the upload speed for PPP connection. 2009-11-17 10:20 ` William Allen Simpson 2009-11-17 11:14 ` Jarek Poplawski @ 2009-11-17 11:49 ` David Miller 2009-11-18 5:04 ` William Allen Simpson 2009-11-21 9:29 ` Pavel Machek 2009-11-17 17:37 ` Alexander Clouter 2009-11-17 18:49 ` Valdis.Kletnieks 3 siblings, 2 replies; 15+ messages in thread From: David Miller @ 2009-11-17 11:49 UTC (permalink / raw) To: william.allen.simpson; +Cc: huananhu, netdev, linux-kernel From: William Allen Simpson <william.allen.simpson@gmail.com> Date: Tue, 17 Nov 2009 05:20:09 -0500 > What David may have meant, had he followed > Documentation/ManagementStyle or had any project management skills > what-so-ever, is that you need to follow > Documentation/SubmittingPatches more carefully. Are personal attacks on me really necessary? Do you want me to look closely at your patches with a high priority when you submit them for inclusion? If so, then you may want to think twice about saying things like this. You may be right, but that doesn't matter if you're interested in working together with me in the future. There are diplomatic ways to do everything, and this wasn't one of those ways. ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 17/11]Optimize the upload speed for PPP connection. 2009-11-17 11:49 ` David Miller @ 2009-11-18 5:04 ` William Allen Simpson 2009-11-18 7:51 ` Jarek Poplawski 2009-11-21 9:29 ` Pavel Machek 1 sibling, 1 reply; 15+ messages in thread From: William Allen Simpson @ 2009-11-18 5:04 UTC (permalink / raw) To: David Miller; +Cc: huananhu, netdev, linux-kernel David Miller wrote: > From: William Allen Simpson <william.allen.simpson@gmail.com> > Date: Tue, 17 Nov 2009 05:20:09 -0500 > >> What David may have meant, had he followed >> Documentation/ManagementStyle or had any project management skills >> what-so-ever, is that you need to follow >> Documentation/SubmittingPatches more carefully. > > Are personal attacks on me really necessary? > Actually, ironic sarcasm (juxtaposition) is a form of humor, fairly popular on such venues as "The Daily Show". :-) > Do you want me to look closely at your patches with a high priority > when you submit them for inclusion? > Great, you're planning to start a new practice? So far, I've only been blessed with: * 1st contact (Oct 2): "Otherwise asking for a is absolutely pointless as we have no context in which to judge the code you're showing us." The context (and entire previous patch) was pointed at by a link in the message, and an internet-draft, but that would have required effort (clicking and browsing). Not exactly what I'd call "look closely at your patches".... * 2nd contact (Oct 5), replying to my post of Oct 3: "struct tcp_sock is already WAY TOO BIG on 64-bit systems, adding 20 more bytes to it for some odd-ball feature is not something I'm willing to do, sorry." Always delighted to know our work is an "odd-ball feature".... * 3rd contact, sending private email to you as maintainer, suggested by Andi Kleen's "On submitting kernel patches" for resolving conflicts, and getting flamed for sending private email to you! * Recently, flamed for re-sending a query (after waiting 30 days): "Complaining that your work isn't getting looked at in a timely manner will always have the exact opposite effect that you want, it makes people have a smaller desire to look at your stuff." Yeah, 30 days just isn't long enough.... Fortunately, Eric Dumazet and Paul E. McKenney were really helpful (and others privately), and I thank them again! * 2 days ago, flamed again for re-sending a patch (after waiting 5 days), although you'd never Ack'd or otherwise responded. > You may be right, but that doesn't matter if you're interested in > working together with me in the future. There are diplomatic ways to > do everything, and this wasn't one of those ways. > Working *together* would be handy! But that implies cooperation and respect -- *not* biting the newbies nor dropping the F-bomb. ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 17/11]Optimize the upload speed for PPP connection. 2009-11-18 5:04 ` William Allen Simpson @ 2009-11-18 7:51 ` Jarek Poplawski 0 siblings, 0 replies; 15+ messages in thread From: Jarek Poplawski @ 2009-11-18 7:51 UTC (permalink / raw) To: William Allen Simpson; +Cc: David Miller, huananhu, netdev, linux-kernel On 18-11-2009 06:04, William Allen Simpson wrote: > David Miller wrote: >> From: William Allen Simpson <william.allen.simpson@gmail.com> >> Date: Tue, 17 Nov 2009 05:20:09 -0500 >> >>> What David may have meant, had he followed >>> Documentation/ManagementStyle or had any project management skills >>> what-so-ever, is that you need to follow >>> Documentation/SubmittingPatches more carefully. >> Are personal attacks on me really necessary? >> > Actually, ironic sarcasm (juxtaposition) is a form of humor, fairly > popular on such venues as "The Daily Show". :-) Actually, it didn't work. But AFAIK adding "...NOT!" can make the difference ;-) Jarek P. ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 17/11]Optimize the upload speed for PPP connection. 2009-11-17 11:49 ` David Miller 2009-11-18 5:04 ` William Allen Simpson @ 2009-11-21 9:29 ` Pavel Machek 2009-11-21 12:21 ` Jarek Poplawski 2009-11-21 19:00 ` David Miller 1 sibling, 2 replies; 15+ messages in thread From: Pavel Machek @ 2009-11-21 9:29 UTC (permalink / raw) To: David Miller; +Cc: william.allen.simpson, huananhu, netdev, linux-kernel On Tue 2009-11-17 03:49:59, David Miller wrote: > From: William Allen Simpson <william.allen.simpson@gmail.com> > Date: Tue, 17 Nov 2009 05:20:09 -0500 > > > What David may have meant, had he followed > > Documentation/ManagementStyle or had any project management skills > > what-so-ever, is that you need to follow > > Documentation/SubmittingPatches more carefully. > > Are personal attacks on me really necessary? > > Do you want me to look closely at your patches with a high priority > when you submit them for inclusion? If so, then you may want to > think twice about saying things like this. Was this kind of threats really neccessary? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 17/11]Optimize the upload speed for PPP connection. 2009-11-21 9:29 ` Pavel Machek @ 2009-11-21 12:21 ` Jarek Poplawski 2009-11-21 19:00 ` David Miller 1 sibling, 0 replies; 15+ messages in thread From: Jarek Poplawski @ 2009-11-21 12:21 UTC (permalink / raw) To: Pavel Machek Cc: David Miller, william.allen.simpson, huananhu, netdev, linux-kernel Pavel Machek wrote, On 11/21/2009 10:29 AM: > On Tue 2009-11-17 03:49:59, David Miller wrote: >> From: William Allen Simpson <william.allen.simpson@gmail.com> >> Date: Tue, 17 Nov 2009 05:20:09 -0500 >> >>> What David may have meant, had he followed >>> Documentation/ManagementStyle or had any project management skills >>> what-so-ever, is that you need to follow >>> Documentation/SubmittingPatches more carefully. >> Are personal attacks on me really necessary? >> >> Do you want me to look closely at your patches with a high priority >> when you submit them for inclusion? If so, then you may want to >> think twice about saying things like this. > > Was this kind of threats really neccessary? What kind of threats do you recommend? (And why at all do you call a threat doing something William misses, and David asked for confirmation?) Jarek P. ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 17/11]Optimize the upload speed for PPP connection. 2009-11-21 9:29 ` Pavel Machek 2009-11-21 12:21 ` Jarek Poplawski @ 2009-11-21 19:00 ` David Miller 1 sibling, 0 replies; 15+ messages in thread From: David Miller @ 2009-11-21 19:00 UTC (permalink / raw) To: pavel; +Cc: william.allen.simpson, huananhu, netdev, linux-kernel From: Pavel Machek <pavel@ucw.cz> Date: Sat, 21 Nov 2009 10:29:33 +0100 > On Tue 2009-11-17 03:49:59, David Miller wrote: >> From: William Allen Simpson <william.allen.simpson@gmail.com> >> Date: Tue, 17 Nov 2009 05:20:09 -0500 >> >> > What David may have meant, had he followed >> > Documentation/ManagementStyle or had any project management skills >> > what-so-ever, is that you need to follow >> > Documentation/SubmittingPatches more carefully. >> >> Are personal attacks on me really necessary? >> >> Do you want me to look closely at your patches with a high priority >> when you submit them for inclusion? If so, then you may want to >> think twice about saying things like this. > > Was this kind of threats really neccessary? It's not a threat, it's human nature. People defer as much as possible interactions with others they find unpleasant. ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 17/11]Optimize the upload speed for PPP connection. 2009-11-17 10:20 ` William Allen Simpson 2009-11-17 11:14 ` Jarek Poplawski 2009-11-17 11:49 ` David Miller @ 2009-11-17 17:37 ` Alexander Clouter 2009-11-17 18:49 ` Valdis.Kletnieks 3 siblings, 0 replies; 15+ messages in thread From: Alexander Clouter @ 2009-11-17 17:37 UTC (permalink / raw) To: linux-kernel; +Cc: netdev William Allen Simpson <william.allen.simpson@gmail.com> wrote: > > And your trailer boilerplate badly breaks the system, because it's > missing the SMTP email standard "--" line in front of it. > *ahem* s/^--$/^-- $/ *ahem* Two hyphens followed by a space. Cheers -- Alexander Clouter .sigmonster says: Everything you know is wrong! ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 17/11]Optimize the upload speed for PPP connection. 2009-11-17 10:20 ` William Allen Simpson ` (2 preceding siblings ...) 2009-11-17 17:37 ` Alexander Clouter @ 2009-11-17 18:49 ` Valdis.Kletnieks 2009-11-18 4:00 ` William Allen Simpson 3 siblings, 1 reply; 15+ messages in thread From: Valdis.Kletnieks @ 2009-11-17 18:49 UTC (permalink / raw) To: William Allen Simpson; +Cc: huananhu, David Miller, netdev, linux-kernel [-- Attachment #1: Type: text/plain, Size: 874 bytes --] On Tue, 17 Nov 2009 05:20:09 EST, William Allen Simpson said: > And your trailer boilerplate badly breaks the system, because it's > missing the SMTP email standard "--" line in front of it. Ahem. It's not an 'SMTP standard' - in fact, SMTP doesn't even care diddly about the user-visible *headers* in the mail, much less what the convention for a signature block is. If you get EHLO, MAIL FROM, RCPT TO, DATA, '.', and QUIT, that's 95% of SMTP right there. And none of it where normal users can even see it (though the MAIL FROM can show up as Return-Path: sometimes). The '-- ' *convention* isn't even at the next layer up, MIME. If anything, it's out at the liveware level (though some MUAs provide code to make it a bit easier to deal with...) (Feel free to cite RFC chapter-and-verse if you disagree, and note that 'Informational' RFCs are never standards. ;) [-- Attachment #2: Type: application/pgp-signature, Size: 227 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 17/11]Optimize the upload speed for PPP connection. 2009-11-17 18:49 ` Valdis.Kletnieks @ 2009-11-18 4:00 ` William Allen Simpson 0 siblings, 0 replies; 15+ messages in thread From: William Allen Simpson @ 2009-11-18 4:00 UTC (permalink / raw) To: Valdis.Kletnieks; +Cc: huananhu, David Miller, netdev, linux-kernel Valdis.Kletnieks@vt.edu wrote: > The '-- ' *convention* isn't even at the next layer up, MIME. If anything, > it's out at the liveware level (though some MUAs provide code to make it > a bit easier to deal with...) > Hey Valdis, nice to hear from you.... > (Feel free to cite RFC chapter-and-verse if you disagree, and note that > 'Informational' RFCs are never standards. ;) > Yeah, a quick check shows it's mentioned in MIME RFC-1341 (June 1992), but certainly going back to "Proposed standard for message encapsulation" RFC-934 (January 1985) at the very least. I seem to remember that Marshall or Stef or somebody used it for digest sections too, but don't remember the RFC number or a good search term. Still, (relevance here) a convention observed for patches. ^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2009-11-21 18:59 UTC | newest] Thread overview: 15+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-11-17 9:19 [PATCH 17/11]Optimize the upload speed for PPP connection fangxiaozhi 00110321 2009-11-17 9:22 ` David Miller 2009-11-17 10:20 ` William Allen Simpson 2009-11-17 11:14 ` Jarek Poplawski 2009-11-17 11:49 ` William Allen Simpson 2009-11-17 11:54 ` Franko Fang 2009-11-17 11:49 ` David Miller 2009-11-18 5:04 ` William Allen Simpson 2009-11-18 7:51 ` Jarek Poplawski 2009-11-21 9:29 ` Pavel Machek 2009-11-21 12:21 ` Jarek Poplawski 2009-11-21 19:00 ` David Miller 2009-11-17 17:37 ` Alexander Clouter 2009-11-17 18:49 ` Valdis.Kletnieks 2009-11-18 4:00 ` William Allen Simpson
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).