summaryrefslogtreecommitdiff
path: root/src/ipcpd/config.h.in
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2018-10-03 01:13:43 +0200
committerSander Vrijders <[email protected]>2018-10-03 09:14:57 +0200
commite00181b492d573ecd0621f55d9ad24f134c09d4c (patch)
treef7c1b1f1df892bd3766060419d34cd1363a6eedd /src/ipcpd/config.h.in
parentee73b781c1e13daee67e149f1828d7166e5ea627 (diff)
downloadouroboros-e00181b492d573ecd0621f55d9ad24f134c09d4c.tar.gz
ouroboros-e00181b492d573ecd0621f55d9ad24f134c09d4c.zip
ipcpd: Add multithreading to Ethernet IPCP
This adds multiple reader and writer threads, configurabe via cmake with IPCP_ETH_RD_THR and IPCP_ETH_WR_THR. Improves ethernet IPCP throughput, which looks to be limited by the raw socket calls. Signed-off-by: Dimitri Staessens <[email protected]> Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/ipcpd/config.h.in')
-rw-r--r--src/ipcpd/config.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipcpd/config.h.in b/src/ipcpd/config.h.in
index b9961b01..afce5e86 100644
--- a/src/ipcpd/config.h.in
+++ b/src/ipcpd/config.h.in
@@ -63,3 +63,5 @@
#cmakedefine HAVE_NETMAP
#cmakedefine HAVE_BPF
#cmakedefine HAVE_RAW_SOCKETS
+#define IPCP_ETH_RD_THR @IPCP_ETH_RD_THR@
+#define IPCP_ETH_WR_THR @IPCP_ETH_WR_THR@