Message ID | 1473244319-11501-1-git-send-email-bill.fischofer@linaro.org |
---|---|
State | New |
Headers | show |
diff --git a/include/odp/api/spec/classification.h b/include/odp/api/spec/classification.h index 189c91f..376286d 100644 --- a/include/odp/api/spec/classification.h +++ b/include/odp/api/spec/classification.h @@ -128,6 +128,9 @@ typedef struct odp_cls_capability_t { /** A Boolean to denote support of PMR range */ odp_bool_t pmr_range_supported; + + /** Input queue for reclassification */ + odp_queue_t reclassify_queue; } odp_cls_capability_t; /**
Extend the odp_cls_capability_t struct returned by odp_cls_capability() to indicate a reclassify_queue that can be used to reclassify a packet. Enqueueing a packet to this queue will cause the packet to be reparsed and reclassified and assigned to a new CoS. The packet will not be rebuffered into a new input pool. Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> --- include/odp/api/spec/classification.h | 3 +++ 1 file changed, 3 insertions(+) -- 2.5.0