<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openvswitch.git/lib/route-table.h, branch master</title>
<subtitle>github.com: openvswitch/ovs.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/'/>
<entry>
<title>sflow: use ovs route API to get source IP address.</title>
<updated>2016-03-24T16:30:57+00:00</updated>
<author>
<name>Pravin B Shelar</name>
<email>pshelar@ovn.org</email>
</author>
<published>2016-03-24T16:30:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=ec6c537986b4c7dc852575107e32184b33d974e8'/>
<id>ec6c537986b4c7dc852575107e32184b33d974e8</id>
<content type='text'>
Signed-off-by: Pravin B Shelar &lt;pshelar@ovn.org&gt;
Acked-by: Ben Pfaff &lt;blp@ovn.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Pravin B Shelar &lt;pshelar@ovn.org&gt;
Acked-by: Ben Pfaff &lt;blp@ovn.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ovs-router: non-Linux support</title>
<updated>2014-12-10T04:38:01+00:00</updated>
<author>
<name>YAMAMOTO Takashi</name>
<email>yamamoto@valinux.co.jp</email>
</author>
<published>2014-11-17T05:40:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=88ffdc93c8d287effd6eeeb8db149ff1da9ff4bd'/>
<id>88ffdc93c8d287effd6eeeb8db149ff1da9ff4bd</id>
<content type='text'>
Refactor ovs-router so that it can work with non-Linux platforms
at least in some extent, using the existing route-table code as
a fallback.  Known restriction: for such platforms, "ovs/router/show"
command does not show "Cached" kernel routes.

Signed-off-by: YAMAMOTO Takashi &lt;yamamoto@valinux.co.jp&gt;
Acked-by: Pravin B Shelar &lt;pshelar@nicira.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refactor ovs-router so that it can work with non-Linux platforms
at least in some extent, using the existing route-table code as
a fallback.  Known restriction: for such platforms, "ovs/router/show"
command does not show "Cached" kernel routes.

Signed-off-by: YAMAMOTO Takashi &lt;yamamoto@valinux.co.jp&gt;
Acked-by: Pravin B Shelar &lt;pshelar@nicira.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>route-table: Remove Unregister.</title>
<updated>2014-12-01T22:43:32+00:00</updated>
<author>
<name>Pravin B Shelar</name>
<email>pshelar@nicira.com</email>
</author>
<published>2014-11-26T19:27:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=b772066ffd066d59d9ebce092f6665150723d2ad'/>
<id>b772066ffd066d59d9ebce092f6665150723d2ad</id>
<content type='text'>
Since dpif registering for routing table at initialization
there is no need to unregister it. Following patch removes
support for turning routing table notifications on and off.
Due to this change OVS always listens for these
notifications.

Reported-by: YAMAMOTO Takashi &lt;yamamoto@valinux.co.jp&gt;
Signed-off-by: Pravin B Shelar &lt;pshelar@nicira.com&gt;
Acked-by: YAMAMOTO Takashi &lt;yamamoto@valinux.co.jp&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since dpif registering for routing table at initialization
there is no need to unregister it. Following patch removes
support for turning routing table notifications on and off.
Due to this change OVS always listens for these
notifications.

Reported-by: YAMAMOTO Takashi &lt;yamamoto@valinux.co.jp&gt;
Signed-off-by: Pravin B Shelar &lt;pshelar@nicira.com&gt;
Acked-by: YAMAMOTO Takashi &lt;yamamoto@valinux.co.jp&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>route-table: Use classifier to store routing table.</title>
<updated>2014-11-03T21:27:31+00:00</updated>
<author>
<name>Pravin B Shelar</name>
<email>pshelar@nicira.com</email>
</author>
<published>2014-10-16T18:38:12+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=d9b4ebc5d15202bedad06969353435a4c1951c71'/>
<id>d9b4ebc5d15202bedad06969353435a4c1951c71</id>
<content type='text'>
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 &lt;pshelar@nicira.com&gt;
Acked-by: Thomas Graf &lt;tgraf@noironetworks.com&gt;
Acked-by: Jarno Rajahalme &lt;jrajahalme@nicira.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;pshelar@nicira.com&gt;
Acked-by: Thomas Graf &lt;tgraf@noironetworks.com&gt;
Acked-by: Jarno Rajahalme &lt;jrajahalme@nicira.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>route-table: Make route-table module thread-safe.</title>
<updated>2014-05-29T21:59:37+00:00</updated>
<author>
<name>Ryan Wilson</name>
<email>wryan@nicira.com</email>
</author>
<published>2014-05-29T21:56:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=3c27dbe6b71e36c0d05e8299e811615697fc1bc0'/>
<id>3c27dbe6b71e36c0d05e8299e811615697fc1bc0</id>
<content type='text'>
Due to patch fe83f8 (netdev: Remove netdev from global shash when
the user is changing interface configuration), netdevs can be
destructed and deallocated by revalidator and RCU threads. When
netdevs with class vport are destroyed, the routing table is
unregistered, possibly causing memory to be freed. This causes a
race condition with the main thread which calls route_table_run
periodically to check for routing table updates.

This patch makes the route-table module thread-safe via a mutex.

Bug #1258532
Signed-off-by: Ryan Wilson &lt;wryan@nicira.com&gt;
Acked-by: Ethan Jackson &lt;ethan@nicira.com&gt;
Signed-off-by: Alex Wang &lt;alexw@nicira.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to patch fe83f8 (netdev: Remove netdev from global shash when
the user is changing interface configuration), netdevs can be
destructed and deallocated by revalidator and RCU threads. When
netdevs with class vport are destroyed, the routing table is
unregistered, possibly causing memory to be freed. This causes a
race condition with the main thread which calls route_table_run
periodically to check for routing table updates.

This patch makes the route-table module thread-safe via a mutex.

Bug #1258532
Signed-off-by: Ryan Wilson &lt;wryan@nicira.com&gt;
Acked-by: Ethan Jackson &lt;ethan@nicira.com&gt;
Signed-off-by: Alex Wang &lt;alexw@nicira.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netdev-vport: Checks tunnel status change when route-table is reset.</title>
<updated>2014-05-02T21:29:18+00:00</updated>
<author>
<name>Alex Wang</name>
<email>alexw@nicira.com</email>
</author>
<published>2014-05-01T17:53:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=41ca1e0afb4b261a217c9fdaf672ef606e8434f9'/>
<id>41ca1e0afb4b261a217c9fdaf672ef606e8434f9</id>
<content type='text'>
Commit 3e912ffcbb (netdev: Add 'change_seq' back to netdev.) added per-
netdev change number for indicating status change.  Future commits used
this change number to optimize the netdev status update to database.
However, the work also introduced the bug in the following scenario:

- assume interface eth0 has address 1.2.3.4, eth1 has adddress 10.0.0.1.
- assume tunnel port p1 is set with remote_ip=10.0.0.5.
- after setup, 'ovs-vsctl list interface p1 status' should show the
  'tunnel_egress_iface="eth1"'.
- now if the address of eth1 is change to 0 via 'ifconfig eth1 0'.
- expectedly, after change, 'ovs-vsctl list interface p1 status' should
  show the 'tunnel_egress_iface="eth0"'

However, 'tunnel_egress_iface' will not be updated on current master.
This is in that, the 'netdev-vport' module corresponding to p1 does
not react to routing related changes.

To fix the bug, this commit adds a change sequence number in the route-
table module and makes netdev-vport check the sequence number for
tunnel status update.

Bug #1240626

Signed-off-by: Alex Wang &lt;alexw@nicira.com&gt;
Acked-by: Ben Pfaff &lt;blp@nicira.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 3e912ffcbb (netdev: Add 'change_seq' back to netdev.) added per-
netdev change number for indicating status change.  Future commits used
this change number to optimize the netdev status update to database.
However, the work also introduced the bug in the following scenario:

- assume interface eth0 has address 1.2.3.4, eth1 has adddress 10.0.0.1.
- assume tunnel port p1 is set with remote_ip=10.0.0.5.
- after setup, 'ovs-vsctl list interface p1 status' should show the
  'tunnel_egress_iface="eth1"'.
- now if the address of eth1 is change to 0 via 'ifconfig eth1 0'.
- expectedly, after change, 'ovs-vsctl list interface p1 status' should
  show the 'tunnel_egress_iface="eth0"'

However, 'tunnel_egress_iface' will not be updated on current master.
This is in that, the 'netdev-vport' module corresponding to p1 does
not react to routing related changes.

To fix the bug, this commit adds a change sequence number in the route-
table module and makes netdev-vport check the sequence number for
tunnel status update.

Bug #1240626

Signed-off-by: Alex Wang &lt;alexw@nicira.com&gt;
Acked-by: Ben Pfaff &lt;blp@nicira.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>include some headers to satisfy header file dependencies on NetBSD-6</title>
<updated>2013-04-22T15:52:37+00:00</updated>
<author>
<name>YAMAMOTO Takashi</name>
<email>yamt@mwd.biglobe.ne.jp</email>
</author>
<published>2013-04-22T13:20:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=14235530fa72443c9cd33dd5b42b13c9c9caa09b'/>
<id>14235530fa72443c9cd33dd5b42b13c9c9caa09b</id>
<content type='text'>
while this change don't seem to be necessary on NetBSD-current,
NetBSD-6 is the latest release at this point.

Signed-off-by: YAMAMOTO Takashi &lt;yamt@mwd.biglobe.ne.jp&gt;
Signed-off-by: Ben Pfaff &lt;blp@nicira.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
while this change don't seem to be necessary on NetBSD-current,
NetBSD-6 is the latest release at this point.

Signed-off-by: YAMAMOTO Takashi &lt;yamt@mwd.biglobe.ne.jp&gt;
Signed-off-by: Ben Pfaff &lt;blp@nicira.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netdev implementation for FreeBSD</title>
<updated>2012-07-26T23:21:48+00:00</updated>
<author>
<name>Giuseppe Lettieri</name>
<email>g.lettieri@iet.unipi.it</email>
</author>
<published>2012-07-25T20:51:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=f6eb6b202533ad393b8d1d8e6ae6e502cbf19caf'/>
<id>f6eb6b202533ad393b8d1d8e6ae6e502cbf19caf</id>
<content type='text'>
This patch adds new netdev classes that implement
"system" and "tap" devices on FreeBSD using the
libpcap library. This enables the use of the
"netdev" datapath_type of Open vSwitch on FreeBSD.

Signed-off-by: Gaetano Catalli &lt;gaetano.catalli@gmail.com&gt;
Signed-off-by: Ed Maste &lt;emaste@adaranet.com&gt;
Signed-off-by: Giuseppe Lettieri &lt;g.lettieri@iet.unipi.it&gt;
Signed-off-by: Ben Pfaff &lt;blp@nicira.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds new netdev classes that implement
"system" and "tap" devices on FreeBSD using the
libpcap library. This enables the use of the
"netdev" datapath_type of Open vSwitch on FreeBSD.

Signed-off-by: Gaetano Catalli &lt;gaetano.catalli@gmail.com&gt;
Signed-off-by: Ed Maste &lt;emaste@adaranet.com&gt;
Signed-off-by: Giuseppe Lettieri &lt;g.lettieri@iet.unipi.it&gt;
Signed-off-by: Ben Pfaff &lt;blp@nicira.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Global replace of Nicira Networks.</title>
<updated>2012-05-03T00:08:02+00:00</updated>
<author>
<name>Raju Subramanian</name>
<email>rsubramanian@nicira.com</email>
</author>
<published>2012-05-02T22:21:36+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=e0edde6fee279cdbbf3c179f5f50adaf0c7c7f1e'/>
<id>e0edde6fee279cdbbf3c179f5f50adaf0c7c7f1e</id>
<content type='text'>
Replaced all instances of Nicira Networks(, Inc) to Nicira, Inc.

Feature #10593
Signed-off-by: Raju Subramanian &lt;rsubramanian@nicira.com&gt;
Signed-off-by: Ben Pfaff &lt;blp@nicira.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replaced all instances of Nicira Networks(, Inc) to Nicira, Inc.

Feature #10593
Signed-off-by: Raju Subramanian &lt;rsubramanian@nicira.com&gt;
Signed-off-by: Ben Pfaff &lt;blp@nicira.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: route-table improvements.</title>
<updated>2011-02-01T02:27:34+00:00</updated>
<author>
<name>Ethan Jackson</name>
<email>ethan@nicira.com</email>
</author>
<published>2011-01-31T01:52:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=b46ccdf582946f30d80735345c533c23a7f035c0'/>
<id>b46ccdf582946f30d80735345c533c23a7f035c0</id>
<content type='text'>
This commit makes several changes to the route_table code used to
populate tunnel_egress_iface.

- It removes name_table code from netdev-vport and puts it into
  route-table.

- It no longer attempts to build the name_table dynamically by
  listening to rtnetlink-link notifications.  Instead it dumps the
  entire table, and uses rtnetlink-link notifications to indicate a
  re-dump is required.

- It forces rtnetlink-link notifications to re-dump the routing
  table.  This fixes an issue where bringing an interface down or
  removing it altogether would not have the expected effect on
  related tunnel_egress_ifaces.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit makes several changes to the route_table code used to
populate tunnel_egress_iface.

- It removes name_table code from netdev-vport and puts it into
  route-table.

- It no longer attempts to build the name_table dynamically by
  listening to rtnetlink-link notifications.  Instead it dumps the
  entire table, and uses rtnetlink-link notifications to indicate a
  re-dump is required.

- It forces rtnetlink-link notifications to re-dump the routing
  table.  This fixes an issue where bringing an interface down or
  removing it altogether would not have the expected effect on
  related tunnel_egress_ifaces.
</pre>
</div>
</content>
</entry>
</feed>
