[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-360-gd3fc398 |
Date: |
Tue, 28 Feb 2017 03:38:59 -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 d3fc3985806a97b15e363276c33c19bc50a10f24 (commit)
from 27c835aa56cc1d9e765858267a20049b427b66af (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 d3fc3985806a97b15e363276c33c19bc50a10f24
Author: David van Moolenbroek <address@hidden>
Date: Mon Feb 27 14:43:58 2017 +0000
arp/ndp: allow overriding the decision to copy pbufs
lwIP aims to support zero-copy TX, and thus, must internally handle
all cases that pbufs are referenced rather than copied upon low-level
output. However, in the current situation, the arp/ndp packet queuing
routines conservatively copy entire packets, even when unnecessary in
cases where lwIP is used in a zero-copy compliant manner. This patch
moves the decision whether to copy into a centralized macro, allowing
zero-copy compliant applications to override the macro to avoid the
unnecessary copies. The macro defaults to the safe behavior, though.
-----------------------------------------------------------------------
Summary of changes:
src/core/ipv4/etharp.c | 7 +++----
src/core/ipv6/nd6.c | 7 +++----
src/include/lwip/pbuf.h | 16 ++++++++++++++++
3 files changed, 22 insertions(+), 8 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-360-gd3fc398,
Simon Goldschmidt <=