Re: [lng-odp] [ODP-DPDK] SpanningTree and block a port ?

2015-10-15 Thread Kury Nicolas
Hi!

Thank you very much for the answer!

Regards
Nicolas



De : Brian Brooks 
Envoyé : mercredi 7 octobre 2015 15:49
À : Kury Nicolas; lng-odp@lists.linaro.org
Objet : RE: [ODP-DPDK] SpanningTree and block a port ?

Hi Nicolas,

In your use case, a STP 'application' and a traffic generator 'application' 
need to be designed to run as separate processes that work together.

Multi-process aside, odp_pktio_start/stop() is documented as a way to 
start/stop tx & rx on a packet IO interface. Depending on the implementation, 
this may be usable for STP.

For MSTP, perhaps you could utilize the classification APIs to match on pktio + 
VLAN and drop for ingress blocking. However, the application would need to be 
aware of the spanning tree state to prevent transmitting packets destined for 
blocked ports.

Note the API for polling link state: 
https://lists.linaro.org/pipermail/lng-odp/2015-September/015557.html

Regards,
Brian

From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Kury 
Nicolas
Sent: Friday, October 02, 2015 8:50 AM
To: lng-odp@lists.linaro.org
Subject: [lng-odp] [ODP-DPDK] SpanningTree and block a port ?

Hi

I would like to implement an application with spanning tree protocol. But can 
the application "spanningtree" stop and start a port used by another 
applications (exemple odp_generator) ?
Here a diagram:  http://s8.postimg.org/yis5flhed/spanningtree.png

For exemple, if the link #1 is down, spanningtree application enables port 0.

Thank you
Nicolas
Transmitting



-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

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


Re: [lng-odp] [ODP-DPDK] SpanningTree and block a port ?

2015-10-07 Thread Brian Brooks
Hi Nicolas,

In your use case, a STP 'application' and a traffic generator 'application' 
need to be designed to run as separate processes that work together.

Multi-process aside, odp_pktio_start/stop() is documented as a way to 
start/stop tx & rx on a packet IO interface. Depending on the implementation, 
this may be usable for STP.

For MSTP, perhaps you could utilize the classification APIs to match on pktio + 
VLAN and drop for ingress blocking. However, the application would need to be 
aware of the spanning tree state to prevent transmitting packets destined for 
blocked ports.

Note the API for polling link state: 
https://lists.linaro.org/pipermail/lng-odp/2015-September/015557.html

Regards,
Brian

From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Kury 
Nicolas
Sent: Friday, October 02, 2015 8:50 AM
To: lng-odp@lists.linaro.org
Subject: [lng-odp] [ODP-DPDK] SpanningTree and block a port ?

Hi

I would like to implement an application with spanning tree protocol. But can 
the application "spanningtree" stop and start a port used by another 
applications (exemple odp_generator) ?
Here a diagram:  http://s8.postimg.org/yis5flhed/spanningtree.png

For exemple, if the link #1 is down, spanningtree application enables port 0.

Thank you
Nicolas
Transmitting



-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

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


[lng-odp] [ODP-DPDK] SpanningTree and block a port ?

2015-10-02 Thread Kury Nicolas
Hi


I would like to implement an application with spanning tree protocol. But can 
the application "spanningtree" stop and start a port used by another 
applications (exemple odp_generator) ?

Here a diagram:  http://s8.postimg.org/yis5flhed/spanningtree.png


For exemple, if the link #1 is down, spanningtree application enables port 0.


Thank you

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