summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | doc: Add man pages for flow_allocationdimitri staessens2017-04-103-0/+118
| |/ | | | | | | | | | | | | This commit contains only the sources, correct installation requires gzip and copying the files to /usr/local/man/man3/flow_alloc.3.gz. We need to have a look at integrating this in the build system in an efficient way.
* | Merged in dstaesse/ouroboros/be-irmd (pull request #476)dimitri staessens2017-04-111-2/+2
|\ \ | | | | | | | | | irmd: Fix mixed declaration
| * | irmd: Fix mixed declarationdimitri staessens2017-04-111-2/+2
|/ /
* | Merged in dstaesse/ouroboros/be-timeo-const (pull request #474)dimitri staessens2017-04-102-20/+20
|\| | | | | | | lib: Make timeout for flow allocation const
| * dev: Return descriptive errors for flow_allocdimitri staessens2017-04-101-10/+10
| |
| * lib: Make timeout for flow allocation constdimitri staessens2017-04-102-10/+10
| |
* | Merged in dstaesse/ouroboros/be-query-timeo (pull request #473)dimitri staessens2017-04-081-3/+2
|\| | | | | | | ipcpd: Fix wrong timeval value in LLC shim
| * ipcpd: Fix wrong timeval value in LLC shimdimitri staessens2017-04-081-3/+2
| |
* | Merged in dstaesse/ouroboros/be-query-timeo (pull request #472)dimitri staessens2017-04-081-2/+9
|\| | | | | | | ipcpd: Increase query timeout in shim LLC
| * ipcpd: Increase query timeout in shim LLCdimitri staessens2017-04-081-2/+9
|/
* Merged in dstaesse/ouroboros/be-netmap (pull request #471)dimitri staessens2017-04-071-52/+124
|\ | | | | | | ipcpd: Add netmap support for LLC shim
| * ipcpd: Add netmap support for LLC shimdimitri staessens2017-04-071-52/+124
|/ | | | | Adds support for netmap (https://github.com/luigirizzo/netmap) to increase the performance of packet transfer over the LLC shim.
* Merged in sandervrijders/ouroboros/be-netmap-cmake (pull request #470)Sander Vrijders2017-04-073-4/+15
|\ | | | | | | ipcpd: shim-eth-llc: Add check for netmap headers
| * build: Change compiler check output and update wrapSander Vrijders2017-04-072-4/+1
| | | | | | | | | | | | This removes some of the log messages spewed out during a check of a compiler flag. It also makes the SWIG compiler flag for C99 independent of the compiler.
| * ipcpd: shim-eth-llc: Add check for netmap headersSander Vrijders2017-04-071-0/+14
|/ | | | This checks if the netmap headers are available on the system.
* Merged in dstaesse/ouroboros/be-race-fix (pull request #469)dimitri staessens2017-04-066-23/+167
|\ | | | | | | ipcpd: Fix race condition with concurrent allocs
| * ipcpd: Fix race condition with concurrent allocsdimitri staessens2017-04-066-23/+167
|/
* Merged in dstaesse/ouroboros/be-irmd-locks (pull request #468)dimitri staessens2017-04-061-207/+36
|\ | | | | | | irmd: Remove unnecessary state locks
| * irmd: Remove unnecessary state locksdimitri staessens2017-04-061-207/+36
| |
* | Merged in sandervrijders/ouroboros/be-frct-fix (pull request #467)Sander Vrijders2017-04-061-1/+5
|\ \ | | | | | | | | | ipcpd: normal: Change assert to NULL check
| * | ipcpd: normal: Change assert to NULL checkSander Vrijders2017-04-061-1/+5
|/ / | | | | | | | | | | An assertion was done instead of NULL check, where the FRCT instance could legitimately be NULL, resulting in the IPCP dying when it shouldn't.
* | Merged in sandervrijders/ouroboros/be-mgmt-eth (pull request #466)Sander Vrijders2017-04-061-4/+3
|\ \ | | | | | | | | | ipcpd: shim-eth-llc: Avoid handling mgmt frame under lock
| * | ipcpd: shim-eth-llc: Avoid handling mgmt frame under lockSander Vrijders2017-04-061-4/+3
| | | | | | | | | | | | | | | This avoids handling the mgmt frames under lock, since it may deadlock if a new mgmt frame arrives in the meantime.
* | | Merged in dstaesse/ouroboros/be-patience (pull request #465)dimitri staessens2017-04-061-0/+18
|\ \ \ | |/ / |/| / | |/ irmd: Prevent impatient user deadlock on shutdown
| * irmd: Prevent impatient user deadlock on shutdowndimitri staessens2017-04-061-0/+18
| |
* | Merged in dstaesse/ouroboros/be-tim (pull request #464)dimitri staessens2017-04-0612-139/+243
|\| | | | | | | lib, irmd: Implement flow allocation timeout
| * lib, irmd: Implement flow allocation timeoutdimitri staessens2017-04-0612-139/+243
|/ | | | | | Setting the timeouts on flow_alloc and flow_accept will now work. This makes some changes to the UNIX sockets used for management communication between the APs, IRMd and IPCPs.
* Merged in sandervrijders/ouroboros/be-fix-fmgr (pull request #463)Sander Vrijders2017-04-053-31/+49
|\ | | | | | | ipcpd: normal: Add missing else clause
| * ipcpd: shim-eth-llc: Fix overwrite mgmt framesSander Vrijders2017-04-051-21/+42
| | | | | | | | | | | | This fixes the overwriting of management frames by adding a list in the shim Ethernet that keeps track of management frames instead of a single buffer.
| * ipcpd: normal: Add missing else clauseSander Vrijders2017-04-052-10/+7
|/ | | | | A missing else clause was missing in the fast path, causing the PCI to be shrunk when it should not be. A double free has also been fixed.
* Merged in sandervrijders/ouroboros/be-fix-llc (pull request #462)Sander Vrijders2017-04-056-106/+82
|\ | | | | | | Be fix llc
| * ipcpd: Add lock for allocation requestsSander Vrijders2017-04-056-103/+79
| | | | | | | | | | This adds a lock to prevent a race condition between flow_req_arr and flow_alloc_resp.
| * ipcpd: shim-eth-llc: Fix state check in readerSander Vrijders2017-04-051-3/+3
|/ | | | | The state check should be done first to avoid blocking on the recv call.
* Merged in dstaesse/ouroboros/be-local (pull request #461)dimitri staessens2017-04-042-34/+5
|\ | | | | | | ipcpd: Remove unnecessary locks in local
| * lib: Fix insertion in lockless rbuffdimitri staessens2017-04-041-2/+2
| |
| * ipcpd: Remove unnecessary locks in localdimitri staessens2017-04-041-32/+3
| |
* | Merged in dstaesse/ouroboros/be-irmd-res (pull request #460)dimitri staessens2017-04-042-521/+511
|\| | | | | | | Be irmd res
| * irmd: Initialize in stack memorydimitri staessens2017-04-041-482/+485
| |
| * ipcpd, irmd: Fix cleanup of thread resourcesdimitri staessens2017-04-042-46/+33
| |
* | Merged in sandervrijders/ouroboros/be-eth-mgmt (pull request #459)Sander Vrijders2017-04-041-295/+164
|\ \ | | | | | | | | | Be eth mgmt
| * | ipcpd: shim-eth-llc: Remove IPCP rwlockSander Vrijders2017-04-041-73/+23
| | | | | | | | | | | | | | | This removes the rwlock in the shim-eth-llc IPCP since it is already protected by a mutex.
| * | ipcpd: shim-eth-llc: Remove pthread_cancelSander Vrijders2017-04-041-78/+117
| | | | | | | | | | | | | | | This removes cancellation calls from the shim Ethernet. The different threads now check if the IPCP is still operational or not.
| * | ipcpd: shim-eth-llc: Deprecate PACKET_RX|TX_RINGSander Vrijders2017-04-041-203/+11
| | | | | | | | | | | | | | | | | | This deprecates these special socket options of the raw socket since they are less efficient for regular packet I/O. They should be more performant for batch processing of SDUs.
| * | ipcpd: shim-eth-llc: Add thread for mgmt framesSander Vrijders2017-04-041-29/+101
|/ / | | | | | | | | | | This adds a thread to handle management frames, since otherwise a deadlock can occur by blocking SDUs until flow allocation can be handled.
* | Merged in dstaesse/ouroboros/be-stable (pull request #458)dimitri staessens2017-04-041-1/+1
|\| | | | | | | ipcpd: Fix lock order in local sdu_loop
| * ipcpd: Fix lock order in local sdu_loopdimitri staessens2017-04-041-1/+1
|/
* Merged in dstaesse/ouroboros/be-stable (pull request #457)dimitri staessens2017-04-046-105/+186
|\ | | | | | | lib, irmd, ipcpd: Stabilize flow allocation
| * lib, irmd, ipcpd: Stabilize flow allocationdimitri staessens2017-04-046-105/+186
| |
* | Merged in dstaesse/ouroboros/be-ipcp-req-arr (pull request #456)dimitri staessens2017-04-033-48/+43
|\| | | | | | | ipcpd: Fix some bad locking
| * ipcpd: Fix some bad lockingdimitri staessens2017-04-033-48/+43
|/