summaryrefslogtreecommitdiffstats
path: root/src/stateless/cp/trex_stream.h
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-01-05 20:15:39 +0200
committerHanoh Haim <hhaim@cisco.com>2016-01-05 20:15:39 +0200
commit85d536eb822a7663c37658180efe85411f4148e3 (patch)
treea0d1d0ae92c56e971f3acfb2a929e9824b2ac570 /src/stateless/cp/trex_stream.h
parent9e16960d1502524ae00df83e3d1c05ddbb2487c7 (diff)
random 9k works on 10gb nics
Diffstat (limited to 'src/stateless/cp/trex_stream.h')
-rw-r--r--src/stateless/cp/trex_stream.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/stateless/cp/trex_stream.h b/src/stateless/cp/trex_stream.h
index b4f19111..a164f266 100644
--- a/src/stateless/cp/trex_stream.h
+++ b/src/stateless/cp/trex_stream.h
@@ -32,6 +32,8 @@ limitations under the License.
#include <trex_stream_vm.h>
#include <stdio.h>
#include <string.h>
+#include <common/captureFile.h>
+
class TrexRpcCmdAddStream;
@@ -123,8 +125,8 @@ public:
virtual ~TrexStream();
/* defines the min max per packet supported */
- static const uint32_t MIN_PKT_SIZE_BYTES = 1;
- static const uint32_t MAX_PKT_SIZE_BYTES = 9000;
+ static const uint32_t MIN_PKT_SIZE_BYTES = 60;
+ static const uint32_t MAX_PKT_SIZE_BYTES = MAX_PKT_SIZE;
/* provides storage for the stream json*/
void store_stream_json(const Json::Value &stream_json);