diff options
author | Hanoh Haim <hhaim@cisco.com> | 2016-01-05 20:51:47 +0200 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2016-01-05 20:51:47 +0200 |
commit | 5f07d1062309eea31e47a6d9ab23bb1c94de5c83 (patch) | |
tree | 667326ce482b79d9626badb80d8562a9ecf7551b /src/platform_cfg.h | |
parent | c905d6b0845e79dbc5d5d37eee560d1dbc58b6ff (diff) | |
parent | d6be4b0e8a2cd92b5e6c455532431897f76331fe (diff) |
Merge branch 'random_pkt'
Diffstat (limited to 'src/platform_cfg.h')
-rwxr-xr-x | src/platform_cfg.h | 38 |
1 files changed, 22 insertions, 16 deletions
diff --git a/src/platform_cfg.h b/src/platform_cfg.h index 4fc3c3dd..e8f93d0b 100755 --- a/src/platform_cfg.h +++ b/src/platform_cfg.h @@ -31,25 +31,31 @@ limitations under the License. #define CONST_NB_MBUF_2_10G (16380/4) -typedef enum { MBUF_64 =0, // per dual port, per NUMA +typedef enum { MBUF_64 , // per dual port, per NUMA + + MBUF_128 , + MBUF_256 , + MBUF_512 , + MBUF_1024 , + MBUF_2048 , + MBUF_4096 , + MBUF_9k , - MBUF_128 =1, - MBUF_256 =2, - MBUF_512 =3, - MBUF_1024 =4, - MBUF_2048 =5, // per NUMA - TRAFFIC_MBUF_64 =6, - TRAFFIC_MBUF_128 =7, - TRAFFIC_MBUF_256 =8, - TRAFFIC_MBUF_512 =9, - TRAFFIC_MBUF_1024 =10, - TRAFFIC_MBUF_2048 =11, - - MBUF_DP_FLOWS =12, - MBUF_GLOBAL_FLOWS =13, - MBUF_SIZE =14 + TRAFFIC_MBUF_64 , + TRAFFIC_MBUF_128 , + TRAFFIC_MBUF_256 , + TRAFFIC_MBUF_512 , + TRAFFIC_MBUF_1024 , + TRAFFIC_MBUF_2048 , + TRAFFIC_MBUF_4096 , + TRAFFIC_MBUF_9k , + + + MBUF_DP_FLOWS , + MBUF_GLOBAL_FLOWS , + MBUF_SIZE } mbuf_sizes_t; const std::string * get_mbuf_names(void); |