|
From: | Joel Cunningham |
Subject: | [lwip-devel] [bug #44805] sendmsg implementation to support scatter/gather IO |
Date: | Fri, 10 Apr 2015 21:20:18 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0 |
URL: <http://savannah.nongnu.org/bugs/?44805> Summary: sendmsg implementation to support scatter/gather IO Project: lwIP - A Lightweight TCP/IP stack Submitted by: jcunningham Submitted on: Fri 10 Apr 2015 09:20:17 PM GMT Category: sockets/netconn Severity: 3 - Normal Item Group: Feature Request Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: lwIP version: git head _______________________________________________________ Details: I've developed a sendmsg() addition to the sockets API. It follows the Open Group specification to provide support for scatter/gather IO from applications. http://pubs.opengroup.org/onlinepubs/009695399/functions/sendmsg.html My use case was to reduce memory bandwidth utilization in an embedded system by removing memory copies. The implementation does not support control messages as that is not used for scatter/gather IO sendmsg helps with this use case because it allows applications to send vectored I/O data through LwIP without memory copying into a contiguous buffer. I have compiled and tested the implementation against the master branch of lwip. I have also included two tests in socket_examples.c that exercise the TCP and UDP cases. I would like to work to get these patches submitted to master. Thanks! _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Fri 10 Apr 2015 09:20:17 PM GMT Name: 0001-Sockets-add-sendmsg.patch Size: 6kB By: jcunningham <http://savannah.nongnu.org/bugs/download.php?file_id=33632> ------------------------------------------------------- Date: Fri 10 Apr 2015 09:20:17 PM GMT Name: 0001-Added-sendmsg-tests-to-socket-examples.patch Size: 6kB By: jcunningham <http://savannah.nongnu.org/bugs/download.php?file_id=33633> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?44805> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |