Closed yrx0619 closed 5 years ago
Closing the ticket as it is invalid
$ git show 9b5633ffe895c1b991e0dca70d0c04fc8bf3b3cf
commit 9b5633ffe895c1b991e0dca70d0c04fc8bf3b3cf
Author: Vipin Varghese
Date: Mon Feb 4 09:45:40 2019 +0530
src: open up IDS and BYPASS mode
As per the user requests enabling IDS and BYPASS mode and default build.
Signed-off-by: Vipin Varghese <vipinpv85@gmail.com>
diff --git a/suricata-3.0/src/source-dpdkintel.c b/suricata-3.0/src/source-dpdkintel.c
index 9c3dcb9..b0a49c2 100644
--- a/suricata-3.0/src/source-dpdkintel.c
+++ b/suricata-3.0/src/source-dpdkintel.c
@@ -1402,9 +1402,8 @@ int32_t launchDpdkFrameParser(void)
}
}
- SCLogDebug("10-100 Mb/s %x", portIndexBmp_10_100);
- SCLogDebug("1000 Mb/s %x", portIndexBmp_1000);
- SCLogDebug("10000 Mb/s %x", portIndexBmp_10000);
+ SCLogDebug("10-100 Mb/s %x, 1000 Mb/s %x, 10000 Mb/s %x",
+ portIndexBmp_10_100, portIndexBmp_1000, portIndexBmp_10000);
/* ToDo: use function pointer array to invoke for IDS|IPS */
@@ -1462,7 +1461,6 @@ int32_t launchDpdkFrameParser(void)
SCLogNotice("DPDK Started in IPS Mode!!!");
}
-#if 0
else if (DPDKINTEL_GENCFG.OpMode == IDS) {
if (portIndexBmp_10_100)
rte_eal_remote_launch(ReceiveDpdkPkts_IDS_10_100,
@@ -1491,7 +1489,6 @@ int32_t launchDpdkFrameParser(void)
rte_eal_remote_launch(ReceiveDpdkPkts_BYPASS, NULL, cpuIndex);
}
-#endif
return 0;
}
updated with DPDK 17.11.3 with readme. try and let me know.
Describe the bug IDS mode did not complete in the code. file:source-dpdkintel.c function :launchDpdkFrameParser
Screenshots
Details (please complete the following information):