Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | include: Add C++ directives in headers | dimitri staessens | 2017-04-13 | 9 | -2/+79 |
| | | | | Fixes #34 | ||||
* | include, lib: Rename ap_init/ap_fini | dimitri staessens | 2017-04-13 | 15 | -93/+96 |
| | | | | Fixes #35 | ||||
* | Merged in dstaesse/ouroboros/be-hashes (pull request #479) | dimitri staessens | 2017-04-13 | 56 | -1081/+1054 |
|\ | | | | | | | lib, ipcpd, irmd: Register hash instead of name | ||||
| * | lib, ipcpd, irmd: Register hash instead of name | dimitri staessens | 2017-04-13 | 56 | -1081/+1054 |
| | | | | | | | | | | | | | | | | | | All information passed over the IRMd/IPCP boundary for using IPC services (flow allocation, registration) is now hashed. This effectively fixes the shared namespace between DIFs and the IRMDs. This PR also fixes some API issues (adding const identifiers), shuffles the include headers a bit and some small bugs. | ||||
* | | Merged in sandervrijders/ouroboros/be-cmake-msg (pull request #478) | Sander Vrijders | 2017-04-12 | 3 | -8/+8 |
|\ \ | | | | | | | | | | build: Add STATUS to message statements | ||||
| * | | build: Add STATUS to message statements | Sander Vrijders | 2017-04-12 | 3 | -8/+8 |
|/ / | | | | | | | | | | | This adds the STATUS variable to the message() call in CMakeLists.txt in places where it was missing. This ensures that the message is printed to stdout instead of stderr. | ||||
* | | Merged in sandervrijders/ouroboros/be-man-install (pull request #477) | Sander Vrijders | 2017-04-12 | 3 | -0/+42 |
|\ \ | | | | | | | | | | build: Install manpages | ||||
| * | | build: Install manpages | Sander Vrijders | 2017-04-12 | 3 | -0/+42 |
|/ / | | | | | | | | | | | This will install the manpages found in doc/man/ during installation. Fixes #38 | ||||
* | | Merged in dstaesse/ouroboros/be-man (pull request #475) | dimitri staessens | 2017-04-12 | 8 | -4/+265 |
|\ \ | | | | | | | | | | doc: Add man pages for flow allocation | ||||
| * | | lib: Fix return values in ap_init() | dimitri staessens | 2017-04-11 | 1 | -4/+4 |
| | | | |||||
| * | | doc: Add man pages for ap_init/ap_fini | dimitri staessens | 2017-04-11 | 2 | -0/+68 |
| | | | |||||
| * | | doc: Add man page for flow_read and flow_write | dimitri staessens | 2017-04-10 | 2 | -0/+75 |
| | | | |||||
| * | | doc: Add man pages for flow_allocation | dimitri staessens | 2017-04-10 | 3 | -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 staessens | 2017-04-11 | 1 | -2/+2 |
|\ \ | | | | | | | | | | irmd: Fix mixed declaration | ||||
| * | | irmd: Fix mixed declaration | dimitri staessens | 2017-04-11 | 1 | -2/+2 |
|/ / | |||||
* | | Merged in dstaesse/ouroboros/be-timeo-const (pull request #474) | dimitri staessens | 2017-04-10 | 2 | -20/+20 |
|\| | | | | | | | lib: Make timeout for flow allocation const | ||||
| * | dev: Return descriptive errors for flow_alloc | dimitri staessens | 2017-04-10 | 1 | -10/+10 |
| | | |||||
| * | lib: Make timeout for flow allocation const | dimitri staessens | 2017-04-10 | 2 | -10/+10 |
| | | |||||
* | | Merged in dstaesse/ouroboros/be-query-timeo (pull request #473) | dimitri staessens | 2017-04-08 | 1 | -3/+2 |
|\| | | | | | | | ipcpd: Fix wrong timeval value in LLC shim | ||||
| * | ipcpd: Fix wrong timeval value in LLC shim | dimitri staessens | 2017-04-08 | 1 | -3/+2 |
| | | |||||
* | | Merged in dstaesse/ouroboros/be-query-timeo (pull request #472) | dimitri staessens | 2017-04-08 | 1 | -2/+9 |
|\| | | | | | | | ipcpd: Increase query timeout in shim LLC | ||||
| * | ipcpd: Increase query timeout in shim LLC | dimitri staessens | 2017-04-08 | 1 | -2/+9 |
|/ | |||||
* | Merged in dstaesse/ouroboros/be-netmap (pull request #471) | dimitri staessens | 2017-04-07 | 1 | -52/+124 |
|\ | | | | | | | ipcpd: Add netmap support for LLC shim | ||||
| * | ipcpd: Add netmap support for LLC shim | dimitri staessens | 2017-04-07 | 1 | -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 Vrijders | 2017-04-07 | 3 | -4/+15 |
|\ | | | | | | | ipcpd: shim-eth-llc: Add check for netmap headers | ||||
| * | build: Change compiler check output and update wrap | Sander Vrijders | 2017-04-07 | 2 | -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 headers | Sander Vrijders | 2017-04-07 | 1 | -0/+14 |
|/ | | | | This checks if the netmap headers are available on the system. | ||||
* | Merged in dstaesse/ouroboros/be-race-fix (pull request #469) | dimitri staessens | 2017-04-06 | 6 | -23/+167 |
|\ | | | | | | | ipcpd: Fix race condition with concurrent allocs | ||||
| * | ipcpd: Fix race condition with concurrent allocs | dimitri staessens | 2017-04-06 | 6 | -23/+167 |
|/ | |||||
* | Merged in dstaesse/ouroboros/be-irmd-locks (pull request #468) | dimitri staessens | 2017-04-06 | 1 | -207/+36 |
|\ | | | | | | | irmd: Remove unnecessary state locks | ||||
| * | irmd: Remove unnecessary state locks | dimitri staessens | 2017-04-06 | 1 | -207/+36 |
| | | |||||
* | | Merged in sandervrijders/ouroboros/be-frct-fix (pull request #467) | Sander Vrijders | 2017-04-06 | 1 | -1/+5 |
|\ \ | | | | | | | | | | ipcpd: normal: Change assert to NULL check | ||||
| * | | ipcpd: normal: Change assert to NULL check | Sander Vrijders | 2017-04-06 | 1 | -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 Vrijders | 2017-04-06 | 1 | -4/+3 |
|\ \ | | | | | | | | | | ipcpd: shim-eth-llc: Avoid handling mgmt frame under lock | ||||
| * | | ipcpd: shim-eth-llc: Avoid handling mgmt frame under lock | Sander Vrijders | 2017-04-06 | 1 | -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 staessens | 2017-04-06 | 1 | -0/+18 |
|\ \ \ | |/ / |/| / | |/ | irmd: Prevent impatient user deadlock on shutdown | ||||
| * | irmd: Prevent impatient user deadlock on shutdown | dimitri staessens | 2017-04-06 | 1 | -0/+18 |
| | | |||||
* | | Merged in dstaesse/ouroboros/be-tim (pull request #464) | dimitri staessens | 2017-04-06 | 12 | -139/+243 |
|\| | | | | | | | lib, irmd: Implement flow allocation timeout | ||||
| * | lib, irmd: Implement flow allocation timeout | dimitri staessens | 2017-04-06 | 12 | -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 Vrijders | 2017-04-05 | 3 | -31/+49 |
|\ | | | | | | | ipcpd: normal: Add missing else clause | ||||
| * | ipcpd: shim-eth-llc: Fix overwrite mgmt frames | Sander Vrijders | 2017-04-05 | 1 | -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 clause | Sander Vrijders | 2017-04-05 | 2 | -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 Vrijders | 2017-04-05 | 6 | -106/+82 |
|\ | | | | | | | Be fix llc | ||||
| * | ipcpd: Add lock for allocation requests | Sander Vrijders | 2017-04-05 | 6 | -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 reader | Sander Vrijders | 2017-04-05 | 1 | -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 staessens | 2017-04-04 | 2 | -34/+5 |
|\ | | | | | | | ipcpd: Remove unnecessary locks in local | ||||
| * | lib: Fix insertion in lockless rbuff | dimitri staessens | 2017-04-04 | 1 | -2/+2 |
| | | |||||
| * | ipcpd: Remove unnecessary locks in local | dimitri staessens | 2017-04-04 | 1 | -32/+3 |
| | | |||||
* | | Merged in dstaesse/ouroboros/be-irmd-res (pull request #460) | dimitri staessens | 2017-04-04 | 2 | -521/+511 |
|\| | | | | | | | Be irmd res | ||||
| * | irmd: Initialize in stack memory | dimitri staessens | 2017-04-04 | 1 | -482/+485 |
| | |