[ovs-git] Open vSwitch: netlink: Use proper types and functions for half-aligned 64-bit values. (master)

dev at openvswitch.org dev at openvswitch.org
Sat Feb 5 21:14:58 UTC 2011


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  34c7bb50971af21c3d6152b61c7a55ddff4d09ee (commit)
       via  c4617b3c28b9a96e09fdbbe2682b875dbfeaec5b (commit)
       via  7bef2c918ac077da2156697ca821820e56561b9e (commit)
      from  cc2f1abfed0501550af32d2928ec3c4417f78f0a (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 34c7bb50971af21c3d6152b61c7a55ddff4d09ee
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=34c7bb50971af21c3d6152b61c7a55ddff4d09ee
Author: Ben Pfaff <blp at nicira.com>
		
netlink: Use proper types and functions for half-aligned 64-bit values.
		
These haven't showed up as problems yet in my tests but it is only a matter
of time.


commit c4617b3c28b9a96e09fdbbe2682b875dbfeaec5b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c4617b3c28b9a96e09fdbbe2682b875dbfeaec5b
Author: Ben Pfaff <blp at nicira.com>
		
openflow: Use types and accessors for half-aligned 64-bit fields.
		
Without this commit, many of the unit tests for ofp-print.c fail with bus
errors on RISC architectures (tested on sparc) and presumably so would any
other code that uses these same struct members.


commit 7bef2c918ac077da2156697ca821820e56561b9e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=7bef2c918ac077da2156697ca821820e56561b9e
Author: Ben Pfaff <blp at nicira.com>
		
Add types and accessors for working with half-aligned 64-bit values.
		
Both OpenFlow and Netlink contain 64-bit fields that are only guaranteed
to be aligned on 32-bit boundaries.  This commit introduces types for
representing these fields and functions for working with them.  Followup
commits will make the OpenFlow and Netlink code use these types and
functions.


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

Summary of changes:
 build-aux/check-structs     |    1 +
 include/openflow/openflow.h |   55 +++++++++++++++++++++--------------------
 include/openvswitch/types.h |   25 ++++++++++++++++++-
 lib/netlink.c               |    7 ++++-
 lib/ofp-print.c             |   56 +++++++++++++++++++++++-------------------
 lib/unaligned.h             |   41 ++++++++++++++++++++++++++++++-
 ofproto/ofproto.c           |   47 +++++++++++++++++++-----------------
 7 files changed, 154 insertions(+), 78 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list