X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest-flow-perf%2Fconfig.h;h=29b63298e0a5cf92038378af05fc3f37ab0abf9e;hb=6496922368fe03be9ab4137f2d615dba1a766f39;hp=439f3264b45583492b2db804d7521a6bc2d150e4;hpb=9001a863f45fc1a81dc13de2dc0748dfde1ce9aa;p=dpdk.git diff --git a/app/test-flow-perf/config.h b/app/test-flow-perf/config.h index 439f3264b4..29b63298e0 100644 --- a/app/test-flow-perf/config.h +++ b/app/test-flow-perf/config.h @@ -5,16 +5,19 @@ #define FLOW_ITEM_MASK(_x) (UINT64_C(1) << _x) #define FLOW_ACTION_MASK(_x) (UINT64_C(1) << _x) #define FLOW_ATTR_MASK(_x) (UINT64_C(1) << _x) -#define GET_RSS_HF() (ETH_RSS_IP | ETH_RSS_TCP) +#define GET_RSS_HF() (RTE_ETH_RSS_IP) /* Configuration */ -#define RXQ_NUM 4 -#define TXQ_NUM 4 +#define RXQ_NUM 1 +#define TXQ_NUM 1 #define TOTAL_MBUF_NUM 32000 #define MBUF_SIZE 2048 #define MBUF_CACHE_SIZE 512 #define NR_RXD 256 #define NR_TXD 256 +#define MAX_PORTS 64 +#define METER_CIR 1250000 +#define DEFAULT_METER_PROF_ID 100 /* Items/Actions parameters */ #define JUMP_ACTION_TABLE 2 @@ -23,10 +26,9 @@ #define META_DATA 1 #define TAG_INDEX 0 #define PORT_ID_DST 1 -#define MARK_ID 1 #define TEID_VALUE 1 -/* Flow items/acctions max size */ +/* Flow items/actions max size */ #define MAX_ITEMS_NUM 32 #define MAX_ACTIONS_NUM 32 #define MAX_ATTRS_NUM 16