X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_eal%2Fcommon%2Finclude%2Frte_eal.h;h=faa27f95d32a7ecdffd3fea7b2c6a9030ab55e70;hb=e9d48c0072d36eb6423b45fba4ec49d0def6c36f;hp=421a91bfc1dc9c4d9ea45409b58e811394e14498;hpb=1c1d4d7a923d4804f1926fc5264f9ecdd8977b04;p=dpdk.git diff --git a/lib/librte_eal/common/include/rte_eal.h b/lib/librte_eal/common/include/rte_eal.h index 421a91bfc1..faa27f95d3 100644 --- a/lib/librte_eal/common/include/rte_eal.h +++ b/lib/librte_eal/common/include/rte_eal.h @@ -1,7 +1,7 @@ /*- * BSD LICENSE * - * Copyright(c) 2010-2013 Intel Corporation. All rights reserved. + * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -83,6 +83,9 @@ struct rte_config { /** Primary or secondary configuration */ enum rte_proc_type_t process_type; + /** A set of general status flags */ + unsigned flags; + /** * Pointer to memory configuration, which may be shared across multiple * Intel DPDK instances @@ -90,6 +93,9 @@ struct rte_config { struct rte_mem_config *mem_config; } __attribute__((__packed__)); +/* Flag definitions for rte_config flags */ +#define EAL_FLG_HIGH_IOPL 1 /**< indicates high IO privilage in a linux env */ + /** * Get the global configuration structure. *