On Thu, 21 Nov 2013 14:18:53 +0100, Jiri Benc wrote:
> Currently, there's a limit of MAX_PORTS ports (8 by default). This patchset
> removes this limitation by using linked lists instead of fixed size arrays.
> 
> In addition to allowing ptp4l to work on machines with many interfaces, this
> will allow for later patches to add support for adding and removing ports
> dynamically while ptp4l is running.
> 
> The core patches are 3/6 and 6/6, the rest are prerequisites: patch 1/6 is
> moving per-port fields from struct clock to individual ports in order not to
> have to maintain several linked lists, patch 2/6 moves the uds port from the
> port array, as having it a part of linked list would make the various checks
> for uds port unnecessary complicated, patch 5/6 replaces the port numbering
> that is based on array of interface names by a per clock counter. The
> remaining patch, 4/6, is a follow up optimization to 3/6.
> 
> Changes in v3: used the BSD implementation of LIST_FOREACH_SAFE, using the
> system one where available.

Richard,

does the series look better now?

Thanks,

 Jiri

-- 
Jiri Benc

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to