[ovs-git] Open vSwitch: datapath: Consolidate checksum compatibility code. (master)

dev at openvswitch.org dev at openvswitch.org
Sat Dec 4 01:45:59 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  dd8d6b8cd4d708553037e306d41d1c501d3cecad (commit)
      from  29b639ed7522594dac03bd10ad477f2f188ce4b6 (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 dd8d6b8cd4d708553037e306d41d1c501d3cecad
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=dd8d6b8cd4d708553037e306d41d1c501d3cecad
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Consolidate checksum compatibility code.
		
Checksum offloading has changed quite a bit across different kernel
and Xen versions.  Since it is part of the skb data structure it is
unfortunately difficult to separate out into compatibility code.
This consolidates all of the checksum code in one place which makes
it easier read and remove as we prepare for upstreaming.  On newer
kernels it also puts everything in inline functions, eliminating the
need to run through the compat code or make extra function calls.

Signed-off-by: Jesse Gross <jesse at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 datapath/Modules.mk           |    2 +
 datapath/actions.c            |   11 ++-
 datapath/actions.h            |   18 ----
 datapath/checksum.c           |  170 +++++++++++++++++++++++++++++++++++++++
 datapath/checksum.h           |  103 ++++++++++++++++++++++++
 datapath/datapath.c           |  178 +----------------------------------------
 datapath/datapath.h           |   23 +-----
 datapath/tunnel.c             |    1 +
 datapath/vport-internal_dev.c |    1 +
 datapath/vport-netdev.c       |    1 +
 10 files changed, 292 insertions(+), 216 deletions(-)
 create mode 100644 datapath/checksum.c
 create mode 100644 datapath/checksum.h


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list