Hello Bala, Thanks for the clarification of below query. In the continuation, ODP classification document http://www.opendataplane.org/wp-content/uploads/2014/01/ODP_Classifier.docx.pdf describes that precedence is undetermined in case of multiple pmr matched with received frame. See description of odp_pktio_pmr_cos.
This behavior can cause problem when any application will be running over the different classifier and each classifier can have its own way to distribute the frame when multiple rules will be matched. Please provide some input on this. Regards Sunil Kumar From: Bala Manoharan [mailto:[email protected]] Sent: Wednesday, May 06, 2015 4:51 PM To: Kori Sunil-B42948 Cc: [email protected] Subject: Re: [lng-odp] Query on classification's rules ordering Hi, Cos configured using PMR takes precedence over CoS configured using L2 and L3 priority and QoS values. Among L2 and L3 values, odp_cos_with_l3_qos() function contains a boolean "L3_precedence" which indicates whether L2 or L3 priority value takes precedence. Hope this helps, Bala On 6 May 2015 at 15:59, Sunil Kumar Kori <[email protected]<mailto:[email protected]>> wrote: Hello, I was looking into the ODP v1.0 classification APIs. I have doubt regarding the order of rules to be applied on a single pktio. Following is the scenario: 1. Pktio is configured with l2 priority using odp_cos_with_l2_priority 2. Pktio is configured with l3 qos using odp_cos_with_l3_qos 3. Pktio is configured with pmr using odp_pktio_pmr_cos Assume a packet arrives which satisfy all the 3 rules (as given above) then what should be the expected order/precedence of rules? Regards Sunil Kumar _______________________________________________ lng-odp mailing list [email protected]<mailto:[email protected]> https://lists.linaro.org/mailman/listinfo/lng-odp
_______________________________________________ lng-odp mailing list [email protected] https://lists.linaro.org/mailman/listinfo/lng-odp
