summaryrefslogtreecommitdiffstats
path: root/src/trex_defs.h
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2017-03-27 15:37:21 +0300
committerIdo Barnea <ibarnea@cisco.com>2017-03-30 18:04:15 +0300
commitfa6068394a80766175b59a2b38b4881ec70e7760 (patch)
tree98969a757daf77cd89a0fcfbbe5140d654247c81 /src/trex_defs.h
parent2c839ec5098bf1ad39ec574729891c622a485083 (diff)
Supporting more flows in stateless flow stats, according to NIC type, and running mode
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
Diffstat (limited to 'src/trex_defs.h')
-rw-r--r--src/trex_defs.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/trex_defs.h b/src/trex_defs.h
index 60a60df9..c4d6531e 100644
--- a/src/trex_defs.h
+++ b/src/trex_defs.h
@@ -23,8 +23,10 @@ limitations under the License.
#define TREX_MAX_PORTS 16
-// maximum number of IP ID type flow stats we support
-#define MAX_FLOW_STATS 127
+// maximum number of IP ID type flow stats we support. Must be in the form 2^x - 1
+#define MAX_FLOW_STATS 1023
+#define MAX_FLOW_STATS_X710 127
+#define MAX_FLOW_STATS_XL710 255
// maximum number of payload type flow stats we support
#define MAX_FLOW_STATS_PAYLOAD 128