[ovs-git] Open vSwitch: datapath: Avoid useless holes in struct vport (master)

dev at openvswitch.org dev at openvswitch.org
Tue Dec 4 18:10:12 UTC 2012


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  3da83627e8638e1c27fcb97a1d1a03b4741cbd58 (commit)
       via  faa61e259d2e26d967a4f17b2f3f7cf3cc198f09 (commit)
       via  476ff5a0ad285b12de1cbe16453b8f12ff79afc6 (commit)
      from  07c8ec217b5641b74f20b216ad63fef230649f2c (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 3da83627e8638e1c27fcb97a1d1a03b4741cbd58
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3da83627e8638e1c27fcb97a1d1a03b4741cbd58
Author: Thomas Graf <tgraf at suug.ch>
		
datapath: Avoid useless holes in struct vport
		
Having the 16bit port_no in between a set of pointers creates
an unwanted and useless hole in the struct.

Signed-off-by: Thomas Graf <tgraf at suug.ch>
Signed-off-by: Jesse Gross <jesse at nicira.com>


commit faa61e259d2e26d967a4f17b2f3f7cf3cc198f09
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=faa61e259d2e26d967a4f17b2f3f7cf3cc198f09
Author: Thomas Graf <tgraf at redhat.com>
		
datapath: Use eth_mac_addr() instead of duplicating it
		
bonus: if we ever are to use IFF_LIVE_ADDR_CHANGE for
anything further than to check availability in eth_mac_addr(),
Open vSwitch will be ready for that.

Signed-off-by: Thomas Graf <tgraf at redhat.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>


commit 476ff5a0ad285b12de1cbe16453b8f12ff79afc6
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=476ff5a0ad285b12de1cbe16453b8f12ff79afc6
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Backport eth_mac_addr().
		
eth_mac_addr() has always been available on the kernels that we
support but the behavior has varied over time.  This provides a
backport that is equivalent to the current kernel, previous OVS
behavior, and the bridge.

Signed-off-by: Jesse Gross <jesse at nicira.com>


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

Summary of changes:
 datapath/linux/compat/include/linux/etherdevice.h |   16 ++++++++++++++++
 datapath/linux/compat/include/linux/if.h          |    4 ++++
 datapath/vport-internal_dev.c                     |   16 ++--------------
 datapath/vport.h                                  |    4 ++--
 4 files changed, 24 insertions(+), 16 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list