<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openvswitch.git/datapath/datapath.c, branch for-nox/0.4</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>For SNAT, don't store the pre-fragment L2 header before actions are applied.</title>
<updated>2009-01-26T09:05:39+00:00</updated>
<author>
<name>Justin Pettit</name>
<email>jpettit@nicira.com</email>
</author>
<published>2009-01-26T09:05:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=b4cd6fb07e0751832a22759e27c6ba63e3538c8b'/>
<id>b4cd6fb07e0751832a22759e27c6ba63e3538c8b</id>
<content type='text'>
The IP fragment code doesn't always write the L2 header when generating
new fragments.  This problem was fixed in an earlier commit.
Unfortunately, we stored the pre-fragment L2 header when the packet
first arrived--before other packet modifications were applied.  This
meant that the results of any OpenFlow L2 modification actions were lost.
This patch pushes the storage of the L2 header until right before the
packet is transmitted (and possibly refragmented).

Thanks to Dan for catching this behavior.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The IP fragment code doesn't always write the L2 header when generating
new fragments.  This problem was fixed in an earlier commit.
Unfortunately, we stored the pre-fragment L2 header when the packet
first arrived--before other packet modifications were applied.  This
meant that the results of any OpenFlow L2 modification actions were lost.
This patch pushes the storage of the L2 header until right before the
packet is transmitted (and possibly refragmented).

Thanks to Dan for catching this behavior.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix fragment issue for large IP packets when SNAT action enabled.</title>
<updated>2009-01-21T02:22:49+00:00</updated>
<author>
<name>Justin Pettit</name>
<email>jpettit@nicira.com</email>
</author>
<published>2009-01-21T02:22:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=dfc7aa676ab44db7a49284a80798c7be5369db85'/>
<id>dfc7aa676ab44db7a49284a80798c7be5369db85</id>
<content type='text'>
The Netfilter code automatically reassembles IP fragments.  We need to
explicitly have them refragmented before transmitting. (Bug #823)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Netfilter code automatically reassembles IP fragments.  We need to
explicitly have them refragmented before transmitting. (Bug #823)
</pre>
</div>
</content>
</entry>
<entry>
<title>datapath: Check DMI strings for NULL.</title>
<updated>2009-01-13T01:17:35+00:00</updated>
<author>
<name>Ben Pfaff</name>
<email>blp@nicira.com</email>
</author>
<published>2009-01-09T01:06:54+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=74b5c79a755fa24b5192a7192e7278fe69bb0e65'/>
<id>74b5c79a755fa24b5192a7192e7278fe69bb0e65</id>
<content type='text'>
dmi_get_system_info() can return NULL, so check for it.

Found by Chris Eagle via Fortify.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
dmi_get_system_info() can return NULL, so check for it.

Found by Chris Eagle via Fortify.
</pre>
</div>
</content>
</entry>
<entry>
<title>datapath: Avoid pointer arithmetic on possibly-NULL pointer.</title>
<updated>2009-01-13T01:17:30+00:00</updated>
<author>
<name>Ben Pfaff</name>
<email>blp@nicira.com</email>
</author>
<published>2009-01-09T01:06:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=f93f95f58257e684f84d97644f98b8044eb7bede'/>
<id>f93f95f58257e684f84d97644f98b8044eb7bede</id>
<content type='text'>
Pointer arithmetic on a null pointer yields undefined behavior, even
though it doesn't really matter in the real world (normally).

Found by Chris Eagle via Fortify.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pointer arithmetic on a null pointer yields undefined behavior, even
though it doesn't really matter in the real world (normally).

Found by Chris Eagle via Fortify.
</pre>
</div>
</content>
</entry>
<entry>
<title>datapath: Don't drop oversize GSO frames, since GSO will break them up.</title>
<updated>2009-01-13T01:16:27+00:00</updated>
<author>
<name>Ben Pfaff</name>
<email>blp@nicira.com</email>
</author>
<published>2009-01-09T19:46:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=d02c572f4f052b0ff1c0f96f62f3a6071c71471c'/>
<id>d02c572f4f052b0ff1c0f96f62f3a6071c71471c</id>
<content type='text'>
Fixes TCP performance problems on Xen.

All credit to Justin for diagnosis.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes TCP performance problems on Xen.

All credit to Justin for diagnosis.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix off-by-one error in looking up datapaths by index.</title>
<updated>2009-01-13T01:11:30+00:00</updated>
<author>
<name>Ben Pfaff</name>
<email>blp@nicira.com</email>
</author>
<published>2008-12-30T18:48:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=9e6a366f967581b41b7af9eb2ac0574340d3f307'/>
<id>9e6a366f967581b41b7af9eb2ac0574340d3f307</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix setting "of" device name based on unitialized dp_idx.</title>
<updated>2008-12-23T08:30:38+00:00</updated>
<author>
<name>Justin Pettit</name>
<email>jpettit@nicira.com</email>
</author>
<published>2008-12-23T08:30:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=faa47744f0d0ad4d1987d9722d15897d788625f4'/>
<id>faa47744f0d0ad4d1987d9722d15897d788625f4</id>
<content type='text'>
The name of the "of" device is of the form "of&lt;dp_idx&gt;".  The device
driver assumes the "dp_idx" field has been set in the datapath struct
before its called.  This was not the case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The name of the "of" device is of the form "of&lt;dp_idx&gt;".  The device
driver assumes the "dp_idx" field has been set in the datapath struct
before its called.  This was not the case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for exporting flow information in NetFlow v5 format.</title>
<updated>2008-12-17T22:24:31+00:00</updated>
<author>
<name>Justin Pettit</name>
<email>jpettit@nicira.com</email>
</author>
<published>2008-12-17T22:24:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=be90e8e408f7ae82c21bf9e7d087bdb112e631b1'/>
<id>be90e8e408f7ae82c21bf9e7d087bdb112e631b1</id>
<content type='text'>
This is implemented by having the datapath send a new meta-Flow End message
that contains all the information needed by NetFlow v5 and the OpenFlow
Flow Expiration messages.  secchan grabs these Flow End messages and
generates any requested Flow End and NetFlow messages.  The Flow End
message is implemented as a Nicira vendor extension, but it is only used
internally between the datapath and secchan, so the switch is still fully
compatible with OpenFlow v0.8.9.

NOTE: This change has not been ported to "switch", which means that it is
not able to generate NetFlow messages.  "switch" is no longer maintained
and will be removed from the repository on January 1, 2009.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is implemented by having the datapath send a new meta-Flow End message
that contains all the information needed by NetFlow v5 and the OpenFlow
Flow Expiration messages.  secchan grabs these Flow End messages and
generates any requested Flow End and NetFlow messages.  The Flow End
message is implemented as a Nicira vendor extension, but it is only used
internally between the datapath and secchan, so the switch is still fully
compatible with OpenFlow v0.8.9.

NOTE: This change has not been ported to "switch", which means that it is
not able to generate NetFlow messages.  "switch" is no longer maintained
and will be removed from the repository on January 1, 2009.
</pre>
</div>
</content>
</entry>
<entry>
<title>Style fix: f(x) is better than f((x))</title>
<updated>2008-12-16T23:59:54+00:00</updated>
<author>
<name>Ben Pfaff</name>
<email>blp@nicira.com</email>
</author>
<published>2008-12-12T00:41:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=8c6636bccf74428a30dbc52bf2440841a3d8b93c'/>
<id>8c6636bccf74428a30dbc52bf2440841a3d8b93c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for listing and deleting entries based on an output port.</title>
<updated>2008-12-01T22:34:23+00:00</updated>
<author>
<name>Justin Pettit</name>
<email>jpettit@nicira.com</email>
</author>
<published>2008-12-01T22:34:23+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=f22864a699ba6a5fe175eab90951be32907b647e'/>
<id>f22864a699ba6a5fe175eab90951be32907b647e</id>
<content type='text'>
To support this, an "out_port" field has been added to the "ofp_flow_mod",
"ofp_flow_stats_request", and "ofp_aggregate_stats_request" messages.  If an
"out_port" contains a value other than "OFPP_NONE", it introduces a constraint
when matching.  This constraint is that the rule must contain an output action
directed at that port.  Other constraints such as ofp_match structs and
priorities are still used; this is purely an *additional* constraint.  Note
that to get previous behavior, though, "out_port" must be set to "OFPP_NONE",
since "0" is a valid port id.  This only applies to the delete and
delete_strict flow mod commands; the field is ignored by add, modify, and
modify_strict.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To support this, an "out_port" field has been added to the "ofp_flow_mod",
"ofp_flow_stats_request", and "ofp_aggregate_stats_request" messages.  If an
"out_port" contains a value other than "OFPP_NONE", it introduces a constraint
when matching.  This constraint is that the rule must contain an output action
directed at that port.  Other constraints such as ofp_match structs and
priorities are still used; this is purely an *additional* constraint.  Note
that to get previous behavior, though, "out_port" must be set to "OFPP_NONE",
since "0" is a valid port id.  This only applies to the delete and
delete_strict flow mod commands; the field is ignored by add, modify, and
modify_strict.
</pre>
</div>
</content>
</entry>
</feed>
