summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|/
* Merged in dstaesse/ouroboros/be-oping (pull request #455)dimitri staessens2017-04-031-2/+2
|\ | | | | | | tools: Fix oping client output
| * tools: Fix oping client outputdimitri staessens2017-04-031-2/+2
| |
* | Merged in dstaesse/ouroboros/be-irmd (pull request #454)dimitri staessens2017-04-021-2/+5
|\| | | | | | | irmd: Fix dealloc of pending flow
| * irmd: Fix dealloc of pending flowdimitri staessens2017-04-021-2/+5
| |
* | Merged in dstaesse/ouroboros/be-ipcpd-thr (pull request #453)dimitri staessens2017-04-023-27/+258
|\| | | | | | | Be ipcpd thr
| * ipcpd: Add dynamic threadpooling for IPCPsdimitri staessens2017-04-023-27/+258
| |
* | Merged in dstaesse/ouroboros/be-irmd (pull request #452)dimitri staessens2017-04-021-1/+1
|\| | | | | | | irmd: Fix thread creation order
| * irmd: Fix thread creation orderdimitri staessens2017-04-021-1/+1
|/
* Merged in dstaesse/ouroboros/be-rbuff-ll (pull request #451)dimitri staessens2017-04-014-15/+39
|\ | | | | | | lib: Fix some issues in lockless rbuff
| * ipcpd: Revert timeout in fmgrdimitri staessens2017-04-011-6/+1
| | | | | | | | | | | | | | Since there are no SDUs on most QoS cubes, the fmgr was always timing out on most QoS cubes, causing considerable delays in most SDUs. The timeout was reset to a very small value (so the bug in glibc 2.25 will cause lockups again).
| * lib: Fix some issues in lockless rbuffdimitri staessens2017-04-013-9/+38
| |
* | Merged in dstaesse/ouroboros/be-rbuff-ll (pull request #450)dimitri staessens2017-04-014-404/+790
|\| | | | | | | lib: Lockless implementation of the rbuff
| * lib: Lockless implementation of the rbuffdimitri staessens2017-04-014-404/+790
| |
* | Merged in sandervrijders/ouroboros/be-oping-fix (pull request #449)Sander Vrijders2017-04-011-1/+1
|\ \ | | | | | | | | | tools: oping: Fix bad calculation
| * | tools: oping: Fix bad calculationSander Vrijders2017-04-011-1/+1
|/ / | | | | | | This fixes a potential overflow when calculating the packet loss.
* | Merged in dstaesse/ouroboros/be-irmd-threadpool (pull request #448)dimitri staessens2017-04-015-66/+273
|\| | | | | | | Be irmd threadpool
| * irmd: Add dynamic threadpooldimitri staessens2017-04-012-34/+204
| | | | | | | | | | | | | | | | | | | | | | This makes the IRMd add/remove worker threads dynamically. IRMD_TPM_TIMEOUT sets a timer in the threadpool manager for checking idle threads. Each time this timer expires, it will reduce the threadpool by one. IRMD_MIN_AV_THREADS is the minimum number of available worker threads. If the number of active threads goes under this threshold, the threadpool manager will create threads to get the number of threads to IRMD_MAX_AV_THREADS, unless IRMD_MAX_THREADS is reached.
| * lib: Add a check if a bitmap ID is in usedimitri staessens2017-04-013-32/+69
| |
| * lib: Fix data race in rdrbuffdimitri staessens2017-04-011-7/+5
| | | | | | | | The blocks should be accessed inside the lock (or later with CAS).
| * lib: Fix use-after-free when destroying cdap_reqdimitri staessens2017-04-012-1/+6
| |
| * lib: Fix missing assignment in flow_allocdimitri staessens2017-04-011-5/+13
| |
| * lib: Some fixes in CDAPdimitri staessens2017-04-011-1/+10
| |
| * ipcpd: Fix CDAP return checks at enrollmentdimitri staessens2017-04-011-4/+4
| |
| * include: Fix indentation in fcntl.hdimitri staessens2017-04-011-9/+9
| |
* | Merged in dstaesse/ouroboros/be-fixes (pull request #447)dimitri staessens2017-04-017-27/+47
|\ \ | |/ |/| | | Be fixes
| * lib: Fix data race in rdrbuffdimitri staessens2017-04-011-7/+5
| | | | | | | | The blocks should be accessed inside the lock (or later with CAS).
| * lib: Fix use-after-free when destroying cdap_reqdimitri staessens2017-03-312-1/+6
| |
| * lib: Fix missing assignment in flow_allocdimitri staessens2017-03-311-5/+13
| |
| * lib: Some fixes in CDAPdimitri staessens2017-03-311-1/+10
| |
| * ipcpd: Fix CDAP return checks at enrollmentdimitri staessens2017-03-311-4/+4
| |
| * include: Fix indentation in fcntl.hdimitri staessens2017-03-311-9/+9
| |
* | Merged in sandervrijders/ouroboros/be-logs (pull request #446)Sander Vrijders2017-03-312-11/+6
|\ \ | | | | | | | | | ipcpd: normal: Fix logs
| * | ipcpd: normal: Fix logsSander Vrijders2017-03-312-11/+6
| | | | | | | | | | | | | | | This removes some logs in the graph component and replaces prints of uin64_t variables with an architecture agnostic variant.
* | | Merged in dstaesse/ouroboros/be-cdap (pull request #445)dimitri staessens2017-03-311-2/+0
|\ \ \ | |/ / |/| / | |/ lib: Fix double typedef
| * lib: Fix double typedefdimitri staessens2017-03-311-2/+0
|/
* Merged in sandervrijders/ouroboros/be-btree (pull request #444)Sander Vrijders2017-03-312-26/+62
|\ | | | | | | lib: Fix bugs in B-tree
| * lib: Fix bugs in B-treeSander Vrijders2017-03-312-26/+62
| | | | | | | | | | This fixes some bugs in the B-tree implementation. The test has also been rewritten to be more thorough.
* | Merged in dstaesse/ouroboros/be-irmd (pull request #443)dimitri staessens2017-03-316-21/+17
|\ \ | | | | | | | | | irmd: Keep track of qos in irm_flow
| * | irmd: Keep track of qos in irm_flowdimitri staessens2017-03-316-21/+17
|/ / | | | | | | This fixes the bug in handling multiple concurrent flow allocations.
* | Merged in dstaesse/ouroboros/be-cdap-cancel (pull request #442)dimitri staessens2017-03-313-1/+15
|\ \ | |/ |/| | | lib: Cancel outstanding CDAP requests on destroy