https://bugs.linaro.org/show_bug.cgi?id=3576
Bug ID: 3576
Summary: classification: CoS queues in invalid table index
Product: OpenDataPlane - linux- generic reference
Version: master
Hardware: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: ---
Component: Classification
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
When creating a CoS with `num_queue` > 1, the queues are stored in
`queue_grp_table`:
tbl_index = cos->s.index * CLS_COS_QUEUE_MAX;
queue_grp_tbl->s.queue[tbl_index + j] = queue;
However, the index in the table is based on `cos->s.index`, which is
initialized later:
cos->s.index = i;
When defining the `tbl_index`, `i` should be used.
--
You are receiving this mail because:
You are on the CC list for the bug.