<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ouroboros/src/lib/shm_du_map.c, branch master</title>
<subtitle>Ouroboros main repository</subtitle>
<id>http://www.ouroboros.rocks/cgit/ouroboros/atom?h=master</id>
<link rel='self' href='http://www.ouroboros.rocks/cgit/ouroboros/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/'/>
<updated>2016-08-29T18:32:54+00:00</updated>
<entry>
<title>lib: Refactor shm_du_map to shm_rdrbuff</title>
<updated>2016-08-29T18:32:54+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-08-29T17:49:39+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=2cc89f6da424ab503af563e0cc92dda43b8f8432'/>
<id>urn:sha1:2cc89f6da424ab503af563e0cc92dda43b8f8432</id>
<content type='text'>
The shm_du_map is renamed to shm_rdrbuff to reflect the Random
Deletion Ringbuffer used in the implementation. The close_on_exit call
is removed and SDUs are cleaned up by the application in the ap_fini()
call. This required a non-blocking peek() operation in the shm_ap_rbuff.

Some initial implementation for future support of qos cubes has been
added to the shm_rdrbuff.
</content>
</entry>
<entry>
<title>lib: Various fixes</title>
<updated>2016-08-09T14:06:12+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-08-09T14:06:12+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=9dce327e10bffddc9dc5058f06407e8ff12389b7'/>
<id>urn:sha1:9dce327e10bffddc9dc5058f06407e8ff12389b7</id>
<content type='text'>
Fix missing set of api upon flow_alloc.
Various locking fixes.
</content>
</entry>
<entry>
<title>lib: shm_du_map: Fix wrong padding</title>
<updated>2016-08-06T00:51:53+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-08-06T00:45:17+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=d2cd2e05bb6e7e92fc6fadaa318ec37c8b3e062b'/>
<id>urn:sha1:d2cd2e05bb6e7e92fc6fadaa318ec37c8b3e062b</id>
<content type='text'>
Padding was miscalculated, causing lockups in the fast path.
</content>
</entry>
<entry>
<title>lib:shm_du_map: Fix wrong element access</title>
<updated>2016-08-05T13:04:50+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-08-05T13:04:50+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=55356470f9fe0b60bd9e0db1e90dbca6b4e7db63'/>
<id>urn:sha1:55356470f9fe0b60bd9e0db1e90dbca6b4e7db63</id>
<content type='text'>
The check whether the du map is empty should be first.
</content>
</entry>
<entry>
<title>lib: shm_du_map: Fix disabling MULTI_BLOCK</title>
<updated>2016-08-04T21:47:35+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-08-04T21:47:35+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=93e3e8f3864436d67bba617df5565680c3997542'/>
<id>urn:sha1:93e3e8f3864436d67bba617df5565680c3997542</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib: shm_du_map: Fix memory leak</title>
<updated>2016-08-04T18:36:40+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-08-04T18:36:40+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=c6983c01bcbfff43f1c705c97c041280867d539b'/>
<id>urn:sha1:c6983c01bcbfff43f1c705c97c041280867d539b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib: Revise blocking I/O</title>
<updated>2016-08-03T11:40:16+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-08-03T11:40:16+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=4931526cf9b5e40294e043deab856f25bf56c7cf'/>
<id>urn:sha1:4931526cf9b5e40294e043deab856f25bf56c7cf</id>
<content type='text'>
Blocking I/O now uses condition variables in the shared memory instead
of busy waiting. Timeouts can be specified. This requires the size of
the rbuffs and du_map to be the same, to guarantee that when the
shm_du_map is not full, the ap_rbuffs can't be full either.

Added the timeout option to the flow for future use.
</content>
</entry>
<entry>
<title>lib: dev: Add select-like call</title>
<updated>2016-08-02T22:29:34+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-08-02T22:19:06+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=a6e8978fd9b5786607438689f8cd8b8efb8ef77e'/>
<id>urn:sha1:a6e8978fd9b5786607438689f8cd8b8efb8ef77e</id>
<content type='text'>
This adds a flow_select() call that will sleep until an SDU can be
read on a flow. It returns the file descriptor for which an SDU is
ready. It takes as optional argument a timespec struct to specify a
timeout.
</content>
</entry>
<entry>
<title>lib: Portability to FreeBSD</title>
<updated>2016-07-29T11:58:38+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-07-28T19:15:17+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=ce401448d62f65956ed57b077af2b315f59efe94'/>
<id>urn:sha1:ce401448d62f65956ed57b077af2b315f59efe94</id>
<content type='text'>
Various portability fixes for FreeBSD. POSIX requires shm file names
to start with a "/" to be portable.  lseek(2) can be undefined on
POSIX shm, replaced with ftruncate(2). IRMd check on existing lockfile
more portable.

FreeBSD 11.0 is preferred as it natively supports robust mutexes.
Full working LLC implementation pending.
</content>
</entry>
<entry>
<title>lib: shm_du_map: PCI allocation / deallocation</title>
<updated>2016-07-11T20:28:33+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-07-11T20:11:36+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=e04defa422bd7d365d9d8389fde13e675e9783a2'/>
<id>urn:sha1:e04defa422bd7d365d9d8389fde13e675e9783a2</id>
<content type='text'>
Correct implementation of allocation for the Protocol Control
Information. Also removes stale code checking for a corner case when
the du map still wrapped multi-block SDU's.
</content>
</entry>
</feed>
