diff options
author | Petri Savolainen <petri.savolainen@nokia.com> | 2016-04-26 13:40:44 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2016-04-27 09:24:42 +0300 |
commit | 64f8fa212ef3008c66a37938faf011f67fb2cb0d (patch) | |
tree | 4ab5a0783723a57f3dfe6f1a47186fae955a6e0e /platform/linux-generic/include/odp_config_internal.h | |
parent | 0151a42009aea4d749cf22caf08b2448ba123c00 (diff) |
api: queue: replaced config api with capability structure
Added queue capability structure and replaced the config API
definitions with it.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/include/odp_config_internal.h')
-rw-r--r-- | platform/linux-generic/include/odp_config_internal.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/platform/linux-generic/include/odp_config_internal.h b/platform/linux-generic/include/odp_config_internal.h index fecfbec81..b2c00ddcb 100644 --- a/platform/linux-generic/include/odp_config_internal.h +++ b/platform/linux-generic/include/odp_config_internal.h @@ -130,6 +130,26 @@ extern "C" { */ #define ODP_CONFIG_PKTIO_ENTRIES 64 +/* + * Maximum number of queues + */ +#define ODP_CONFIG_QUEUES 1024 + +/* + * Number of ordered locks per queue + */ +#define ODP_CONFIG_MAX_ORDERED_LOCKS_PER_QUEUE 2 + +/* + * Number of scheduling priorities + */ +#define ODP_CONFIG_SCHED_PRIOS 8 + +/* + * Number of scheduling groups + */ +#define ODP_CONFIG_SCHED_GRPS 256 + #ifdef __cplusplus } #endif |