Optimize the upload speed for PPP connection.
Subsystems (2)
From: fangxiaozhi <[email protected]>
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.
-----------------------------------------------------------------------------------------
drivers/net/ppp_async.c 2009-10-15 16:29:56.000000000 +0800 renamed from drivers/net/ppp_async.c 2009-10-12 05:43:56.000000000 +0800 +1 -1
@@ -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!
*****************************************************************************************
David Miller
maintainerFrom: fangxiaozhi 00110321 <[email protected]>
Date: Tue, 17 Nov 2009 17:19:02 +0800
Quoted 4 lines
From: fangxiaozhi <[email protected]>
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 <[email protected]>
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
Quoted 6 lines · David Miller
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.
Quoted 10 lines · William Allen Simpson
Quoted 6 lines · David Miller
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 applyWhat David may have meant, had he followed
Documentation/ManagementStyleor had any project management skills what-so-ever, is that you need to followDocumentation/SubmittingPatchesmore carefully.
I think this time it was only about a missing tab ;-)
Jarek P.
Quoted 25 lines
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines · Jarek Poplawski
Quoted 7 lines · William Allen Simpson
Quoted 6 lines · David Miller
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
Quoted 6 lines
Quoted 3 lines
What David may have meant, had he followed
Documentation/ManagementStyleor had any project management skills what-so-ever, is that you need to followDocumentation/SubmittingPatchesmore carefully.I think this time it was only about a missing tab ;-)
In his inimitable inimical manner, comprehensively comprehensible. ;-)
David Miller
maintainerFrom: William Allen Simpson <[email protected]>
Date: Tue, 17 Nov 2009 05:20:09 -0500
Quoted 4 lines
What David may have meant, had he followed
Documentation/ManagementStyleor had any project management skills what-so-ever, is that you need to followDocumentation/SubmittingPatchesmore 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.
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" <[email protected]>
To: "William Allen Simpson" <[email protected]>
Cc: <[email protected]>; "David Miller" <[email protected]>; <[email protected]>; <[email protected]>
Sent: Tuesday, November 17, 2009 7:14 PM
Subject: Re: [PATCH 17/11]Optimize the upload speed for PPP connection.
Quoted 49 lines · William Allen Simpson
Quoted 10 lines
Quoted 6 lines · David Miller
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 applyWhat David may have meant, had he followed
Documentation/ManagementStyleor had any project management skills what-so-ever, is that you need to followDocumentation/SubmittingPatchesmore carefully.I think this time it was only about a missing tab ;-)
Jarek P.
Quoted 17 lines
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.
Quoted 8 lines
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 [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 4 lines · William Allen Simpson
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
Signature · 2 lines
Alexander Clouter .sigmonster says: Everything you know is wrong!
Quoted 2 lines · William Allen Simpson
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. ;)
Quoted 4 lines · [email protected] 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....
Quoted 3 lines
(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.
Quoted 10 lines · David Miller
From: William Allen Simpson <[email protected]>
Date: Tue, 17 Nov 2009 05:20:09 -0500Quoted 4 lines
What David may have meant, had he followed
Documentation/ManagementStyleor had any project management skills what-so-ever, is that you need to followDocumentation/SubmittingPatchesmore 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". :-)
Quoted 3 lines
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.
Quoted 4 lines
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.
Quoted 4 lines · William Allen Simpson
Quoted 3 lines · David Miller
From: William Allen Simpson <[email protected]>
Date: Tue, 17 Nov 2009 05:20:09 -0500
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
What David may have meant, had he followed
Documentation/ManagementStyleor had any project management skills what-so-ever, is that you need to followDocumentation/SubmittingPatchesmore 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.
Quoted 8 lines · David Miller
From: William Allen Simpson <[email protected]>
Date: Tue, 17 Nov 2009 05:20:09 -0500Quoted 4 lines
What David may have meant, had he followed
Documentation/ManagementStyleor had any project management skills what-so-ever, is that you need to followDocumentation/SubmittingPatchesmore carefully.
Quoted 5 lines
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
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Pavel Machek wrote, On 11/21/2009 10:29 AM:
Quoted 8 lines · David Miller
Quoted 7 lines
From: William Allen Simpson <[email protected]>
Date: Tue, 17 Nov 2009 05:20:09 -0500Quoted 4 lines
What David may have meant, had he followed
Documentation/ManagementStyleor had any project management skills what-so-ever, is that you need to followDocumentation/SubmittingPatchesmore carefully.
Quoted 7 lines
Quoted 5 lines
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.
David Miller
maintainerFrom: Pavel Machek <[email protected]>
Date: Sat, 21 Nov 2009 10:29:33 +0100
Quoted 9 lines · David Miller
Quoted 8 lines
From: William Allen Simpson <[email protected]>
Date: Tue, 17 Nov 2009 05:20:09 -0500Quoted 4 lines
What David may have meant, had he followed
Documentation/ManagementStyleor had any project management skills what-so-ever, is that you need to followDocumentation/SubmittingPatchesmore carefully.
Quoted 7 lines
Quoted 5 lines
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.