Re: [Linuxptp-devel] [PATCH 0/5] Add configuration file support to phc2sys

2015-01-22 Thread Richard Cochran
On Thu, Jan 22, 2015 at 10:43:22PM +, Keller, Jacob E wrote: > what about using hsearch(3)? from #include Didn't know about that. Learn something new every day. Yes, let's use it. Thanks, Richard -- New Year. New

Re: [Linuxptp-devel] [PATCH 0/5] Add configuration file support to phc2sys

2015-01-22 Thread Keller, Jacob E
On Thu, 2015-01-22 at 08:06 +0100, Richard Cochran wrote: > On Thu, Jan 22, 2015 at 01:01:11AM +, Keller, Jacob E wrote: > > Is there a standard implementation of a HASH similar to STAIL_QUEUE? > > Not that I know of, but I do have a small, generic C implementation > sitting around somewhere.

Re: [Linuxptp-devel] [PATCH 0/5] Add configuration file support to phc2sys

2015-01-21 Thread Richard Cochran
On Thu, Jan 22, 2015 at 01:01:11AM +, Keller, Jacob E wrote: > Is there a standard implementation of a HASH similar to STAIL_QUEUE? Not that I know of, but I do have a small, generic C implementation sitting around somewhere. I will get it into shape and then post it. Thanks, Richard --

Re: [Linuxptp-devel] [PATCH 0/5] Add configuration file support to phc2sys

2015-01-21 Thread Keller, Jacob E
On Mon, 2015-01-19 at 20:15 +0100, Richard Cochran wrote: > On Mon, Jan 19, 2015 at 06:05:07PM +, Keller, Jacob E wrote: > > On Thu, 2015-01-15 at 12:42 +0100, Richard Cochran wrote: > > > On Mon, Jan 12, 2015 at 10:03:42PM +, Keller, Jacob E wrote: > > > > What about section settings for t

Re: [Linuxptp-devel] [PATCH 0/5] Add configuration file support to phc2sys

2015-01-19 Thread Richard Cochran
On Mon, Jan 19, 2015 at 06:05:07PM +, Keller, Jacob E wrote: > On Thu, 2015-01-15 at 12:42 +0100, Richard Cochran wrote: > > On Mon, Jan 12, 2015 at 10:03:42PM +, Keller, Jacob E wrote: > > > What about section settings for things like the per-adapter stuff? This > > > is where it got reall

Re: [Linuxptp-devel] [PATCH 0/5] Add configuration file support to phc2sys

2015-01-19 Thread Keller, Jacob E
On Thu, 2015-01-15 at 12:42 +0100, Richard Cochran wrote: > On Mon, Jan 12, 2015 at 10:03:42PM +, Keller, Jacob E wrote: > > > > I can look at this though it will take a lot more real time since I have > > less to dedicate to it. But I am interested in solving this. > > If you are agreeable,

Re: [Linuxptp-devel] [PATCH 0/5] Add configuration file support to phc2sys

2015-01-15 Thread Richard Cochran
On Mon, Jan 12, 2015 at 10:03:42PM +, Keller, Jacob E wrote: > > I can look at this though it will take a lot more real time since I have > less to dedicate to it. But I am interested in solving this. If you are agreeable, then I would say let's take the extra time to do it right. We just cu

Re: [Linuxptp-devel] [PATCH 0/5] Add configuration file support to phc2sys

2015-01-12 Thread Keller, Jacob E
On Sun, 2015-01-11 at 12:01 +0100, Richard Cochran wrote: > Jacob, > > I am glad to see this patch series. With all of its command line > options, having a configuration file for phc2sys would be a usability > improvement. > > On Fri, Jan 09, 2015 at 04:16:28PM -0800, Jacob Keller wrote: > > I d

[Linuxptp-devel] [PATCH 0/5] Add configuration file support to phc2sys

2015-01-09 Thread Jacob Keller
This series adds phc2sys configuration file support. Right now all the command line options are supported. Like ptp4l, any existing command line arguments supersede configuration file. Also, while the generic options which appear to be simlar for both ptp4l and phc2sys are read from [global], all o