Re: [ovs-dev] [PATCH v2] lib/dpif-netdev: Remove recursive use of emc_mutex.

2014-09-09 Thread Daniele Di Proietto
Thanks for the fix, Jarno Acked-by: Daniele Di Proietto On 9/9/14, 8:20 AM, "Jarno Rajahalme" wrote: >Here¹s the updated description: > >lib/dpif-netdev: Make emc_mutex recursive. > >dpif_netdev_execute may be called while doing upcall processing. >Since the context of the inpu

Re: [ovs-dev] [PATCH v2] lib/dpif-netdev: Remove recursive use of emc_mutex.

2014-09-09 Thread Jarno Rajahalme
Here’s the updated description: lib/dpif-netdev: Make emc_mutex recursive. dpif_netdev_execute may be called while doing upcall processing. Since the context of the input port is not tracked upto this point, we use the shared dp->emc_cache for packet execution, where the emc_c

Re: [ovs-dev] [PATCH v2] lib/dpif-netdev: Remove recursive use of emc_mutex.

2014-09-08 Thread Jarno Rajahalme
Forgot to update the description, Jarno > On Sep 8, 2014, at 3:37 PM, Jarno Rajahalme wrote: > > dpif_netdev_execute may be called while doing upcall processing. > Since the context of the input port is not tracked upto this point, we > used the chared dp->emc_cache for packet execution. Exe

[ovs-dev] [PATCH v2] lib/dpif-netdev: Remove recursive use of emc_mutex.

2014-09-08 Thread Jarno Rajahalme
dpif_netdev_execute may be called while doing upcall processing. Since the context of the input port is not tracked upto this point, we used the chared dp->emc_cache for packet execution. Execution needs to be able to pass the cache to recirculation code. Typically the pmd threads use their own e