summaryrefslogtreecommitdiffstats
path: root/src/stateless/dp/trex_stateless_dp_core.cpp
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2015-10-19 17:40:53 +0300
committerHanoh Haim <hhaim@cisco.com>2015-10-19 17:40:53 +0300
commit51ad078182d17b42a36c239c3c21381eeb3eec85 (patch)
tree462ac4f966c9511d98970e5cb61c32c00d8bda15 /src/stateless/dp/trex_stateless_dp_core.cpp
parentb9be7cb7e926c29706126d0bccf9e32c99c75070 (diff)
fix new compiler warning issue in stateless
Diffstat (limited to 'src/stateless/dp/trex_stateless_dp_core.cpp')
-rw-r--r--src/stateless/dp/trex_stateless_dp_core.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stateless/dp/trex_stateless_dp_core.cpp b/src/stateless/dp/trex_stateless_dp_core.cpp
index 1c96487d..3755b82c 100644
--- a/src/stateless/dp/trex_stateless_dp_core.cpp
+++ b/src/stateless/dp/trex_stateless_dp_core.cpp
@@ -26,10 +26,13 @@ limitations under the License.
#include <bp_sim.h>
+#ifndef TREX_RPC_MOCK_SERVER
+
// DPDK c++ issue
#define UINT8_MAX 255
#define UINT16_MAX 0xFFFF
// DPDK c++ issue
+#endif
#include <rte_ethdev.h>
#include "mbuf.h"