From fa6068394a80766175b59a2b38b4881ec70e7760 Mon Sep 17 00:00:00 2001 From: Ido Barnea Date: Mon, 27 Mar 2017 15:37:21 +0300 Subject: Supporting more flows in stateless flow stats, according to NIC type, and running mode Signed-off-by: Ido Barnea --- src/trex_defs.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/trex_defs.h') 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 -- cgit 1.2.3-korg