[ovs-git] [openvswitch/ovs] 58718f: route-table: get rid of name-table

GitHub noreply at github.com
Mon Nov 3 21:33:47 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 58718f4029a1ab0ec3eae427f00fd91cf118a2ca
      https://github.com/openvswitch/ovs/commit/58718f4029a1ab0ec3eae427f00fd91cf118a2ca
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2014-11-03 (Mon, 03 Nov 2014)

  Changed paths:
    M lib/route-table.c

  Log Message:
  -----------
  route-table: get rid of name-table

name table maintains device ifindex to name mapping.  On any name
table changes it invalidate name table and routing table. So
rather than building two tables this patch moves dev name to routing
entry and build routing table on any name table changes.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Thomas Graf <tgraf at noironetworks.com>


  Commit: d9b4ebc5d15202bedad06969353435a4c1951c71
      https://github.com/openvswitch/ovs/commit/d9b4ebc5d15202bedad06969353435a4c1951c71
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2014-11-03 (Mon, 03 Nov 2014)

  Changed paths:
    M lib/automake.mk
    M lib/netdev-vport.c
    A lib/ovs-router.c
    A lib/ovs-router.h
    M lib/route-table-bsd.c
    M lib/route-table-stub.c
    M lib/route-table.c
    M lib/route-table.h
    M ofproto/ofproto-dpif-sflow.c
    M ofproto/ofproto-dpif.c

  Log Message:
  -----------
  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 at nicira.com>
Acked-by: Thomas Graf <tgraf at noironetworks.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>


  Commit: e0cc58f9b7421d1b63bc64c90f25f742fbae5777
      https://github.com/openvswitch/ovs/commit/e0cc58f9b7421d1b63bc64c90f25f742fbae5777
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2014-11-03 (Mon, 03 Nov 2014)

  Changed paths:
    M lib/route-table.c

  Log Message:
  -----------
  route-table: extract gw information.

Routing table will be used by ovs userspace tunneling, it need to
know gw address, following commit extract gw information from
netlink message so that ovs can populate it in ovs route table.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Thomas Graf <tgraf at noironetworks.com>


Compare: https://github.com/openvswitch/ovs/compare/4f0b577e0c31...e0cc58f9b742


More information about the git mailing list