From: Balasubramanian Manoharan <[email protected]> Fixes: https://bugs.linaro.org/show_bug.cgi?id=3576
Signed-off-by: Balasubramanian Manoharan <[email protected]> --- /** Email created from pull request 405 (bala-manoharan:bug3576) ** https://github.com/Linaro/odp/pull/405 ** Patch: https://github.com/Linaro/odp/pull/405.patch ** Base sha: 77ff03881d844a9d6a4bc773086bd8aaecace541 ** Merge commit sha: fe7f186494001dc1d890cc1e04496bea0b98aa99 **/ platform/linux-generic/odp_classification.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-generic/odp_classification.c b/platform/linux-generic/odp_classification.c index 276430923..9b867576a 100644 --- a/platform/linux-generic/odp_classification.c +++ b/platform/linux-generic/odp_classification.c @@ -250,7 +250,7 @@ odp_cos_t odp_cls_cos_create(const char *name, odp_cls_cos_param_t *param) cos->s.num_queue = param->num_queue; _odp_cls_update_hash_proto(cos, param->hash_proto); - tbl_index = cos->s.index * CLS_COS_QUEUE_MAX; + tbl_index = i * CLS_COS_QUEUE_MAX; for (j = 0; j < CLS_COS_QUEUE_MAX; j++) { queue = odp_queue_create(NULL, &cos->s. queue_param);
