X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=inline;f=app%2Ftest-pipeline%2Fmain.h;h=3685849278ec72597539a088594e8e50511d9631;hb=576de42b83e505fe87eedf0fca0e07f6b5d3bad9;hp=2ed292804df0645caafb12bc78144a9f845c07b0;hpb=48f31ca50cc4b1c4e1b2dc073189f3603aae85cc;p=dpdk.git diff --git a/app/test-pipeline/main.h b/app/test-pipeline/main.h index 2ed292804d..3685849278 100644 --- a/app/test-pipeline/main.h +++ b/app/test-pipeline/main.h @@ -1,7 +1,7 @@ /*- * BSD LICENSE * - * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. + * Copyright(c) 2010-2016 Intel Corporation. All rights reserved. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -116,6 +116,16 @@ enum { e_APP_PIPELINE_ACL, e_APP_PIPELINE_LPM, e_APP_PIPELINE_LPM_IPV6, + + e_APP_PIPELINE_HASH_CUCKOO_KEY8, + e_APP_PIPELINE_HASH_CUCKOO_KEY16, + e_APP_PIPELINE_HASH_CUCKOO_KEY32, + e_APP_PIPELINE_HASH_CUCKOO_KEY48, + e_APP_PIPELINE_HASH_CUCKOO_KEY64, + e_APP_PIPELINE_HASH_CUCKOO_KEY80, + e_APP_PIPELINE_HASH_CUCKOO_KEY96, + e_APP_PIPELINE_HASH_CUCKOO_KEY112, + e_APP_PIPELINE_HASH_CUCKOO_KEY128, e_APP_PIPELINES }; @@ -137,12 +147,6 @@ void app_main_loop_tx(void); #define APP_FLUSH 0x3FF #endif -#ifdef RTE_EXEC_ENV_BAREMETAL -#define MAIN _main -#else -#define MAIN main -#endif - -int MAIN(int argc, char **argv); +#define APP_METADATA_OFFSET(offset) (sizeof(struct rte_mbuf) + (offset)) #endif /* _MAIN_H_ */