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

Submitted by:  Mike Parasyna <spider1982>
Submitted on:  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>
Project 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>

 

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
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    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.5