route-table: Use classifier to store routing table.
authorPravin B Shelar <pshelar@nicira.com>
Thu, 16 Oct 2014 18:38:12 +0000 (11:38 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Mon, 3 Nov 2014 21:27:31 +0000 (13:27 -0800)
commitd9b4ebc5d15202bedad06969353435a4c1951c71
treec46346c6e5bdfa7305453fe8c80bb0ef71bb353a
parent58718f4029a1ab0ec3eae427f00fd91cf118a2ca
route-table: Use classifier to store routing table.

Rather than using hmap for storing routing entries we can directly use
classifier which has support for priority and wildcard entries.
This makes route lookup lockless. This help when we use route lookup
for native tunneling.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
lib/automake.mk
lib/netdev-vport.c
lib/ovs-router.c [new file with mode: 0644]
lib/ovs-router.h [new file with mode: 0644]
lib/route-table-bsd.c
lib/route-table-stub.c
lib/route-table.c
lib/route-table.h
ofproto/ofproto-dpif-sflow.c
ofproto/ofproto-dpif.c