[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, up
From: |
Joel Cunningham |
Subject: |
[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. master_at_STABLE-2_0_0-393-g2980f7c |
Date: |
Thu, 2 Mar 2017 17:53:27 -0500 (EST) |
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 2980f7cc58ec4c6f1a16eb74802b213a063b08f3 (commit)
from 3feb748fee2f591856f68fb893713a32cc3ab652 (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 2980f7cc58ec4c6f1a16eb74802b213a063b08f3
Author: Joel Cunningham <address@hidden>
Date: Mon Feb 27 11:09:33 2017 -0600
Vectorize netconn_write for TCP
This commit adds support to the netconn write APIs to take an input of
vectors instead of a single data pointer
This allows vectors sent on a TCP connection via sendmsg to be treated
atomically. The set of vectors is segmented into as much data as can
fit into the send buffer and then the TCP output function is called
Previously, each vector was passed to netconn_write_partly and tcp_write
segmented it into its own packet, which was then it was sent via
tcp_output (if not Nagleing)
This commit adds vector support to lwip_netconn_do_writemore() which
is the meat of the TCP write functionality from netconn/sockets layer.
A new netconn API netconn_write_vectors_partly() takes a set of vectors
as input and hooks up to do_writemore()
This commit also defines IOV_MAX because we are limited to only
supporting 65535 vectors due to choice of u16_t for the vector count
-----------------------------------------------------------------------
Summary of changes:
src/api/api_lib.c | 33 +++++++++++++++-
src/api/api_msg.c | 86 ++++++++++++++++++++++++++++-------------
src/api/sockets.c | 29 +++-----------
src/include/lwip/api.h | 7 ++++
src/include/lwip/priv/api_msg.h | 11 ++++--
src/include/lwip/sockets.h | 6 +++
6 files changed, 117 insertions(+), 55 deletions(-)
hooks/post-receive
--
lwIP - A Lightweight TCPIP stack
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. master_at_STABLE-2_0_0-393-g2980f7c,
Joel Cunningham <=