On Tue, Nov 11, 2014 at 7:58 AM, Ben Pfaff <b...@nicira.com> wrote:
> On Mon, Nov 10, 2014 at 12:45:57PM -0800, Pravin B Shelar wrote:
>> Tunnel lookup is done in slow path but DPDK tunneling
>> slow path is called in PMD context. Therefore it is
>> better to convert rwlock to fat rwlock.
>>
>> Signed-off-by: Pravin B Shelar <pshe...@nicira.com>
>
> Would you mind using ovsthread_once (or pthread_once()) instead of a
> local static?  I understand that ofprotos are constructed serially but I
> still think that it's better to "do it right" here.  There would be
> basically no runtime cost in this case.

ok, I will update the patch.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to