On Sep 11, 2014, at 11:20 PM, Pravin Shelar <pshe...@nicira.com> wrote:

> On Thu, Sep 11, 2014 at 10:43 PM, Alex Wang <al...@nicira.com> wrote:
>> One example is when STP config pkts are received from the dpdk port,
>> 
>> when processing the pkts in xlate's process_special(), if the stp state
>> machine need to send a config immediately via the dpdk interface, the state
>> machine will directly invoke the stp->send() callback function and sends the
>> pkt immediately (via calling dpif_netdev_execute()).
>> 
> 
> ok, I was hoping to get rid of per thread key, I guess we have to keep it.

We could change the ofproto-level *_send_packet functions to queue the packets 
on the ofport and have the main thread service those queues on port_run.  This 
way we would have no recursion back to dpif-netdev from upcall processing.

  Jarno

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to