All of lore.kernel.org
 help / color / mirror / Atom feed
* [MPTCP] Re: [PATCH] mptcp: Remove flags field from struct mptcp_options_received
@ 2019-12-06 16:55 Peter Krystad
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Krystad @ 2019-12-06 16:55 UTC (permalink / raw)
  To: mptcp

[-- Attachment #1: Type: text/plain, Size: 1143 bytes --]


Davide, Matt -

Thanks Davide.

This patch and the other like it are all I plan to do for part 1 for
"optimizing struct mptcp_received_options". The other MPTCP options that
really grow the size are introduced after kselftest commit.

Now that we will be v1 past kselftest I will need to modify the ADD_ADDR
handling for v1 change, and this will then effect how the struct
mptcp_received_options is optimized.

Peter.


  
On Fri, 2019-12-06 at 09:31 +0100, Davide Caratti wrote:
> On Thu, 2019-12-05 at 15:43 -0800, Peter Krystad wrote:
> > This field is only used temporarily while parsing options,
> > use a local variable instead.
> > 
> > Also move key fields to final position and fix indents.
> > 
> > Formatted to apply directly to Handle MPTCP TCP options.
> > 
> > squashto: Handle MPTCP TCP options
> > 
> > Signed-off-by: Peter Krystad <peter.krystad(a)linux.intel.com>
> > ---
> >  include/linux/tcp.h |  7 +++----
> >  net/mptcp/options.c | 17 ++++++++---------
> >  2 files changed, 11 insertions(+), 13 deletions(-)
> 
> LGTM,
> 
> Acked-by: Davide Caratti <dcaratti(a)redhat.com>
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [MPTCP] Re: [PATCH] mptcp: Remove flags field from struct mptcp_options_received
@ 2019-12-06 16:59 Matthieu Baerts
  0 siblings, 0 replies; 3+ messages in thread
From: Matthieu Baerts @ 2019-12-06 16:59 UTC (permalink / raw)
  To: mptcp

[-- Attachment #1: Type: text/plain, Size: 1507 bytes --]

Hi Peter, Davide,

On 06/12/2019 09:31, Davide Caratti wrote:
> On Thu, 2019-12-05 at 15:43 -0800, Peter Krystad wrote:
>> This field is only used temporarily while parsing options,
>> use a local variable instead.
>>
>> Also move key fields to final position and fix indents.
>>
>> Formatted to apply directly to Handle MPTCP TCP options.
>>
>> squashto: Handle MPTCP TCP options
>>
>> Signed-off-by: Peter Krystad <peter.krystad(a)linux.intel.com>
>> ---
>>   include/linux/tcp.h |  7 +++----
>>   net/mptcp/options.c | 17 ++++++++---------
>>   2 files changed, 11 insertions(+), 13 deletions(-)
> 
> LGTM,
> 
> Acked-by: Davide Caratti <dcaratti(a)redhat.com>

Thank you for the patch and the review!

- 8be6e97e540a: "squashed" in "mptcp: Handle MPTCP TCP options"
- d6eeffa1a019: conflict in t/mptcp-Implement-MPTCP-receive-path
- 504ee582ba86: conflict in t/mptcp-move-from-sha1-v0-to-sha256-v1
- 7ba44f0d910a: conflict in 
t/mptcp-parse-and-emit-MP_CAPABLE-option-according-to-v1-spec
- 3cd04070f4de: conflict in 
t/mptcp-Add-handling-of-incoming-MP_JOIN-requests
- 7c57362bfddb..b81566586cde: result

(I also fixed a few tabs/spaces when I had the opportunity: when I had 
conflicts when new fields were introduced, not using tabs)

Tests + export are in progress.

Cheers,
Matt
-- 
Matthieu Baerts | R&D Engineer
matthieu.baerts(a)tessares.net
Tessares SA | Hybrid Access Solutions
www.tessares.net
1 Avenue Jean Monnet, 1348 Louvain-la-Neuve, Belgium

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [MPTCP] Re: [PATCH] mptcp: Remove flags field from struct mptcp_options_received
@ 2019-12-06  8:31 Davide Caratti
  0 siblings, 0 replies; 3+ messages in thread
From: Davide Caratti @ 2019-12-06  8:31 UTC (permalink / raw)
  To: mptcp

[-- Attachment #1: Type: text/plain, Size: 600 bytes --]

On Thu, 2019-12-05 at 15:43 -0800, Peter Krystad wrote:
> This field is only used temporarily while parsing options,
> use a local variable instead.
> 
> Also move key fields to final position and fix indents.
> 
> Formatted to apply directly to Handle MPTCP TCP options.
> 
> squashto: Handle MPTCP TCP options
> 
> Signed-off-by: Peter Krystad <peter.krystad(a)linux.intel.com>
> ---
>  include/linux/tcp.h |  7 +++----
>  net/mptcp/options.c | 17 ++++++++---------
>  2 files changed, 11 insertions(+), 13 deletions(-)

LGTM,

Acked-by: Davide Caratti <dcaratti(a)redhat.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-12-06 16:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-06 16:55 [MPTCP] Re: [PATCH] mptcp: Remove flags field from struct mptcp_options_received Peter Krystad
  -- strict thread matches above, loose matches on Subject: below --
2019-12-06 16:59 Matthieu Baerts
2019-12-06  8:31 Davide Caratti

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.