patchlwIP - A Lightweight TCP/IP stack - Patches: patch #9686, Add payload buffer alignment option

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #9686: Add payload buffer alignment option

Submitter:  Mike Parasyna <spider1982>
Submitted:  Tue 04 Sep 2018 07:59:56 AM UTC
   
 
Category:  pbufs Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Planned Release:  None

Tue 04 Sep 2018 07:35:28 PM UTC, comment #1: 

Something like this is in the queue for after the 2.1.0 release to better support DMA netifs.

Simon Goldschmidt <goldsimon>
Group administrator
Tue 04 Sep 2018 07:59:56 AM UTC, original submission:  

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.

Mike Parasyna <spider1982>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #44930:  add-payload-alignment-type-option.patch added by spider1982 (3KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by spider1982 (Submitted the item)
  • -email is unavailable- added by spider1982
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-09-04 spider1982 Attached File- Added add-payload-alignment-type-option.patch, #44930
        Carbon-Copy- Added spider1982

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code