lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #9686] Add payload buffer alignment option


From: Mike Parasyna
Subject: [lwip-devel] [patch #9686] Add payload buffer alignment option
Date: Tue, 4 Sep 2018 03:59:57 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0

URL:
  <http://savannah.nongnu.org/patch/?9686>

                 Summary: Add payload buffer alignment option
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: spider1982
            Submitted on: Tue 04 Sep 2018 07:59:56 AM UTC
                Category: pbufs
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

We can use pbuf directly for zero-copy implementation with DMA but in some
system DMA required aligned buffer. However the lwip aligns the buffer
relative to the layer offset and begin of payload buffer remains unaligned.
This patch add alignment option with 2 cases. First case, default, preserves
current behavior. Second case is changed payload alignment to begin of payload
buffer alignment.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 04 Sep 2018 07:59:56 AM UTC  Name:
add-payload-alignment-type-option.patch  Size: 3KiB   By: spider1982

<http://savannah.nongnu.org/patch/download.php?file_id=44930>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9686>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

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