summaryrefslogtreecommitdiffstats
path: root/src/stateless/cp/trex_stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stateless/cp/trex_stream.h')
-rw-r--r--src/stateless/cp/trex_stream.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/stateless/cp/trex_stream.h b/src/stateless/cp/trex_stream.h
index de45555a..b0bfba52 100644
--- a/src/stateless/cp/trex_stream.h
+++ b/src/stateless/cp/trex_stream.h
@@ -36,7 +36,7 @@ limitations under the License.
#include "trex_stream_vm.h"
#include <common/captureFile.h>
#include <common/bitMan.h>
-
+#include "internal_api/trex_platform_api.h"
class TrexRpcCmdAddStream;
@@ -376,6 +376,10 @@ public:
/* can this stream be split ? */
bool is_splitable(uint8_t dp_core_count) const {
+ if (m_rx_check.m_enabled && (m_rx_check.m_rule_type == TrexPlatformApi::IF_STAT_PAYLOAD)) {
+ // because of sequence number, can't split streams with payload rule to different cores
+ return false;
+ }
/* cont stream is always splitable */
if (m_type == stCONTINUOUS) {
return true;