tunnel: Convert rwlock to fat-rwlock.
authorPravin B Shelar <pshelar@nicira.com>
Mon, 10 Nov 2014 20:45:57 +0000 (12:45 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Wed, 12 Nov 2014 20:40:27 +0000 (12:40 -0800)
commit493823d8d5379ed853631b03190b3cf10e980f7b
treec0fac791c2c2b7e27e654812c3dc22c3245cff8f
parent4052e3ff1af8fcca5cf71fc16064a759ef61242f
tunnel: Convert rwlock to fat-rwlock.

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 <pshelar@nicira.com>
Acked-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif.c
ofproto/tunnel.c
ofproto/tunnel.h