[ovs-git] Open vSwitch: datapath: Inline flow_cast(). (master)

dev at openvswitch.org dev at openvswitch.org
Tue Aug 3 17:04:04 UTC 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  9d2094938de6e6d6503a3d0777f64cff945321c3 (commit)
       via  abfec865566e6cce961cc8660de1ddfdc85dae5f (commit)
      from  8084a2800f82c6d0ec438cb8f2de24518af2c712 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9d2094938de6e6d6503a3d0777f64cff945321c3
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9d2094938de6e6d6503a3d0777f64cff945321c3
Author: Ben Pfaff <blp at nicira.com>
		
datapath: Inline flow_cast().
		
This function is both trivial and on the packet processing fast path, so
expand it inline.


commit abfec865566e6cce961cc8660de1ddfdc85dae5f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=abfec865566e6cce961cc8660de1ddfdc85dae5f
Author: Ben Pfaff <blp at nicira.com>
		
datapath: Don't track IP TOS value two different ways.
		
Originally, the datapath didn't care about IP TOS at all.  Then, to support
NetFlow, we made it keep track of the last-seen IP TOS value on a per-flow
basis.  Then, to support OpenFlow 1.0, we added a nw_tos field to
odp_flow_key.  We don't need both methods, so this commit drops the
NetFlow-specific tracking.

This introduces a small kernel ABI break: upgrading the kernel module
without upgrading the OVS userspace will mean that NetFlow records will
all show an IP TOS value of 0.  I don't consider that to be a serious
problem.


-----------------------------------------------------------------------

Summary of changes:
 datapath/datapath.c                     |    3 +--
 datapath/flow.c                         |   16 ++++------------
 datapath/flow.h                         |    8 +++++---
 include/openvswitch/datapath-protocol.h |    2 +-
 lib/dpif-netdev.c                       |   15 ++++-----------
 lib/flow.c                              |    2 --
 ofproto/netflow.c                       |    6 ++----
 ofproto/netflow.h                       |    4 +---
 ofproto/ofproto.c                       |    5 ++---
 9 files changed, 20 insertions(+), 41 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list