Re: [lng-odp] [HELP] Question about API Classification and Traffic Manager

2015-12-16 Thread Kury Nicolas
Hi!

I see now. Thank you very much!

Nicolas


De : Bala Manoharan <bala.manoha...@linaro.org>
Envoyé : mercredi 16 décembre 2015 16:23
À : Kury Nicolas
Cc : lng-odp@lists.linaro.org
Objet : Re: [lng-odp] [HELP] Question about API Classification and Traffic 
Manager

Hi,

On 16 December 2015 at 20:22, Kury Nicolas
<nicolas.k...@master.hes-so.ch> wrote:
> Hi!
>
> I have some questions about Traffic Manager and Classifier.
>
> Traffic Manager:
> I see there is the possibility to send back the packets. Do you have any 
> example where this would be used ? I don't really see how we can combine the 
> different algorithms, example Strict Priority scheduling with Bandwidth 
> Shaping, etc.
> http://img11.hostingpics.net/pics/882875tarfficmanager.png

One use-case where you could use loopback is for crypto coz before
decrypting the packet you will not be able to access the packet fields
and hence you could receive the encrypted packets in a single flow
through a PMR rule decrypt the packet on the flow and send the clear
packet back through loopback interface to be classified to a specific
flow.
>
> Classifiers
> It is possible to have such a loopback ? 
> http://img11.hostingpics.net/pics/729760loop.png
> For example, a packet is classified in flow #1 with processing #1, and then 
> is classified in flow #2 with processing #2, etc. ?

Yes. This scenario is possible through loop back interface.
Since classifier is enabled on the interface level the packets coming
back through the loopback interface will be classified into their
respective flow in your example it will be flow #2

Hopefully the processing on the initial packet changes the packet
header fields or the fields which are configured as part of PMR rule.
Another example could be that the incoming packet is encrypted and the
initial processing decrypts the packets and sends it to the loopback
interface to be classified into a different flow.

Regards,
Bala
>
> Thank you very much!
> Nicolas
> ___
> lng-odp mailing list
> lng-odp@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/lng-odp



--
Regards,
Bala
___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp


[lng-odp] [HELP] Question about API Classification and Traffic Manager

2015-12-16 Thread Kury Nicolas
Hi!

I have some questions about Traffic Manager and Classifier.

Traffic Manager:
I see there is the possibility to send back the packets. Do you have any 
example where this would be used ? I don't really see how we can combine the 
different algorithms, example Strict Priority scheduling with Bandwidth 
Shaping, etc.
http://img11.hostingpics.net/pics/882875tarfficmanager.png

Classifiers
It is possible to have such a loopback ? 
http://img11.hostingpics.net/pics/729760loop.png
For example, a packet is classified in flow #1 with processing #1, and then is 
classified in flow #2 with processing #2, etc. ?

Thank you very much!
Nicolas
___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp


Re: [lng-odp] [HELP] Question about API Classification and Traffic Manager

2015-12-16 Thread Bala Manoharan
Hi,

On 16 December 2015 at 20:22, Kury Nicolas
 wrote:
> Hi!
>
> I have some questions about Traffic Manager and Classifier.
>
> Traffic Manager:
> I see there is the possibility to send back the packets. Do you have any 
> example where this would be used ? I don't really see how we can combine the 
> different algorithms, example Strict Priority scheduling with Bandwidth 
> Shaping, etc.
> http://img11.hostingpics.net/pics/882875tarfficmanager.png

One use-case where you could use loopback is for crypto coz before
decrypting the packet you will not be able to access the packet fields
and hence you could receive the encrypted packets in a single flow
through a PMR rule decrypt the packet on the flow and send the clear
packet back through loopback interface to be classified to a specific
flow.
>
> Classifiers
> It is possible to have such a loopback ? 
> http://img11.hostingpics.net/pics/729760loop.png
> For example, a packet is classified in flow #1 with processing #1, and then 
> is classified in flow #2 with processing #2, etc. ?

Yes. This scenario is possible through loop back interface.
Since classifier is enabled on the interface level the packets coming
back through the loopback interface will be classified into their
respective flow in your example it will be flow #2

Hopefully the processing on the initial packet changes the packet
header fields or the fields which are configured as part of PMR rule.
Another example could be that the incoming packet is encrypted and the
initial processing decrypts the packets and sends it to the loopback
interface to be classified into a different flow.

Regards,
Bala
>
> Thank you very much!
> Nicolas
> ___
> lng-odp mailing list
> lng-odp@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/lng-odp



-- 
Regards,
Bala
___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp