Merge pull request #21 from intel-ethernet/open-avb-next

Merge open-avb-next to master
Working JACKD client acting as an AVB talker
Working JACKD-based AVB listener
Minor cleanups
Update jackd_talker.c to match modified gPTP IPC interface

This is a port of Christopher Hall's commit
d34176fcd4c310eee69beb1663c35e32bb4e0928
Fix inappropriate use of 'int' variable in jackd_talker.c

This is a port of Christoph Hall's commit
392d42838e952f7e5b1b7714cfbb495ff5435b80
Merge pull request #22 from adiknoth/jackd-avb-WIP

Integrate jackd in official repo
fix flags
Merge pull request #29 from cboiger/master

Minor fixes of gptp flags
[example/jackd-listener] Fix invalid comparison of stream_id

Fix #33
Merge pull request #35 from adiknoth/for-eric

[example/jackd-listener] Fix invalid comparison of stream_id
Merge pull request #37 from audioscience/asi-for-upstream-avb-next

Asi for upstream avb next
Add join vlan before registering stream.
Merge branch 'open-avb-next' of github.com:intel-ethernet/Open-AVB into open-avb-next

Conflicts:
	examples/simple_talker/simple_talker.c
Merge branch 'open-avb-next'
Add reference to AS 1722.1 controller, update XMOS text a bit.
Add note about adding ptp group.
Added additional 'gettime' interface using clock_gettime call in place of rdtsc
added optimized rdtsc with synchronization
changed rdtsc semantics: returns 'duration' rather than returning error if duration is larger than threshold

Changed igb lib to allow multiple processes to access network card:
Only one process may transmit
Several processes can access CSR space:
Added semaphore to lock register access
calls e.g. get_wallclock are "locked"
calls to read/write reg are not - lock/unlock calls are added and must be used to wrap read/write transactions
Merge branch 'open-avb-next' of https://github.com/intel-ethernet/Open-AVB into open-avb-next
Added additional diagnostics/status to Linux shared memory interface
Fixed race condition in TimerQueue in Linux
Made API and port initialization sequence changes to facilitate the above changes

Added lock to timer handler, delete and add functions

Starts announce when accelerated sync count is non-zero
sends single announce message at start
Linux uses shared memory to store persistent state