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

2014-09-08 Thread Jarno Rajahalme
On Sep 8, 2014, at 1:09 PM, Daniele Di Proietto wrote: > Hi Jarno, > > Thanks for figuring out this bug. > I erroneously thought that since commit 623540e4617e (dpif-netdev: > Streamline miss handling.) dpif_netdev_execute() could not be called > anymore inside a dp_netdev_input() frame. > >

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

2014-09-08 Thread Daniele Di Proietto
Hi Jarno, Thanks for figuring out this bug. I erroneously thought that since commit 623540e4617e (dpif-netdev: Streamline miss handling.) dpif_netdev_execute() could not be called anymore inside a dp_netdev_input() frame. I added the exact match cache on the non pmd-thread path for two reasons:

[ovs-dev] [PATCH] 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