2009-11-17 09:19:00

by Franko Fang

[permalink] [raw]
Subject: [PATCH 17/11]Optimize the upload speed for PPP connection.

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]>
-----------------------------------------------------------------------------------------
--- 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!
*****************************************************************************************


2009-11-17 09:22:33

by David Miller

[permalink] [raw]
Subject: Re: [PATCH 17/11]Optimize the upload speed for PPP connection.

From: fangxiaozhi 00110321 <[email protected]>
Date: Tue, 17 Nov 2009 17:19:02 +0800

> 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

2009-11-17 10:20:19

by William Allen Simpson

[permalink] [raw]
Subject: Re: [PATCH 17/11]Optimize the upload speed for PPP connection.

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.

2009-11-17 11:15:01

by Jarek Poplawski

[permalink] [raw]
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 [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>


2009-11-17 11:49:21

by William Allen Simpson

[permalink] [raw]
Subject: Re: [PATCH 17/11]Optimize the upload speed for PPP connection.

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. ;-)

2009-11-17 11:49:44

by David Miller

[permalink] [raw]
Subject: Re: [PATCH 17/11]Optimize the upload speed for PPP connection.

From: William Allen Simpson <[email protected]>
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.

2009-11-17 11:54:49

by Franko Fang

[permalink] [raw]
Subject: Re: [PATCH 17/11]Optimize the upload speed for PPP connection.

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.


> 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 [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/

2009-11-17 18:08:41

by Alexander Clouter

[permalink] [raw]
Subject: Re: [PATCH 17/11]Optimize the upload speed for PPP connection.

William Allen Simpson <[email protected]> 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!

2009-11-17 18:49:59

by Valdis Klētnieks

[permalink] [raw]
Subject: Re: [PATCH 17/11]Optimize the upload speed for PPP connection.

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. ;)


Attachments:
(No filename) (227.00 B)

2009-11-18 04:00:56

by William Allen Simpson

[permalink] [raw]
Subject: Re: [PATCH 17/11]Optimize the upload speed for PPP connection.

[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....


> (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.

2009-11-18 05:04:51

by William Allen Simpson

[permalink] [raw]
Subject: Re: [PATCH 17/11]Optimize the upload speed for PPP connection.

David Miller wrote:
> From: William Allen Simpson <[email protected]>
> 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.

2009-11-18 07:51:14

by Jarek Poplawski

[permalink] [raw]
Subject: Re: [PATCH 17/11]Optimize the upload speed for PPP connection.

On 18-11-2009 06:04, William Allen Simpson wrote:
> David Miller wrote:
>> From: William Allen Simpson <[email protected]>
>> 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.

2009-11-21 09:29:37

by Pavel Machek

[permalink] [raw]
Subject: Re: [PATCH 17/11]Optimize the upload speed for PPP connection.

On Tue 2009-11-17 03:49:59, David Miller wrote:
> From: William Allen Simpson <[email protected]>
> 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

2009-11-21 12:21:32

by Jarek Poplawski

[permalink] [raw]
Subject: Re: [PATCH 17/11]Optimize the upload speed for PPP connection.

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 <[email protected]>
>> 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.

2009-11-21 18:59:51

by David Miller

[permalink] [raw]
Subject: Re: [PATCH 17/11]Optimize the upload speed for PPP connection.

From: Pavel Machek <[email protected]>
Date: Sat, 21 Nov 2009 10:29:33 +0100

> On Tue 2009-11-17 03:49:59, David Miller wrote:
>> From: William Allen Simpson <[email protected]>
>> 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.