[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, up

From: Simon Goldschmidt
Subject: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. master_at_STABLE-2_0_0-37-g8ba7363
Date: Thu, 24 Nov 2016 10:27:40 +0000 (UTC)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lwIP - A Lightweight TCPIP stack".

The branch, master has been updated
       via  8ba7363d11088fe37ceeaae5652d745ea3795342 (commit)
      from  4c8620e03b1b5a0681c4fa3f706d57ee3aeada65 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8ba7363d11088fe37ceeaae5652d745ea3795342
Author: Ambroz Bizjak <address@hidden>
Date:   Thu Nov 24 11:27:34 2016 +0100

    Optimize passing contiguous nocopy buffers to tcp_write
    While TCP_OVERSIZE works only when tcp_write() is used with
    TCP_WRITE_FLAG_COPY, this new code achieves
    similar benefits for the use case that the caller manages their own
    send buffers and passes successive chunks of those to tcp_write()
    without TCP_WRITE_FLAG_COPY.
    In particular, if a buffer is passed to
    tcp_write() that is adjacent in memory to the previously passed
    buffer, it will be combined into the previous ROM pbuf reference
    whenever possible, thus extending that ROM pbuf rather than allocating
    a new ROM pbuf.
    For the aforementioned use case, the advantages of this code are
    1) fewer ROM pbufs need to be allocated to send the same data, and,
    2) the MAC layer gets outgoing TCP packets with shorter pbuf chains.
    Original patch by Ambroz Bizjak <address@hidden>
    Edited by David van Moolenbroek <address@hidden>
    Signed-off-by: goldsimon <address@hidden>


Summary of changes:
 CHANGELOG          |    3 +++
 src/core/tcp_out.c |   62 ++++++++++++++++++++++++++++++++++++++--------------
 2 files changed, 48 insertions(+), 17 deletions(-)

lwIP - A Lightweight TCPIP stack

reply via email to

[Prev in Thread] Current Thread [Next in Thread]