[ovs-git] Open vSwitch: ofproto-dpif: restore bond rebalance for non-recirc bond (master)

dev at openvswitch.org dev at openvswitch.org
Tue Apr 29 01:03:17 UTC 2014


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  60cda7d69b0bfd242045d346f2cd169836a3d78e (commit)
       via  9e4e33db91d28bf570a05db32db46a1952f91684 (commit)
       via  f053752fc64abedd834fbbc40fcab60b7c0a7e8f (commit)
       via  61abba807febc0954acc0d23aeb75b081ad9d77a (commit)
       via  0141456733976ab0a8204494dd874b74aa686c9c (commit)
       via  ea96b766c2092609fe850e9d5f6392252a2f5fa2 (commit)
      from  738cd849aff11047070ee1fb7855e4b04bd6837d (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 60cda7d69b0bfd242045d346f2cd169836a3d78e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=60cda7d69b0bfd242045d346f2cd169836a3d78e
Author: Andy Zhou <azhou at nicira.com>
		
ofproto-dpif: restore bond rebalance for non-recirc bond
		
Bond rebalancing was disabled for bonds not using recirculation. The
patch fixes this bug.

While fixing the bug, the bond_rebalance() was also restructured
slightly to move bond related logic back into ofproto/bond.c

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


commit 9e4e33db91d28bf570a05db32db46a1952f91684
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9e4e33db91d28bf570a05db32db46a1952f91684
Author: Andy Zhou <azhou at nicira.com>
		
ofproto-bond: do not allow recirculation when we failed to allocate recirc_id
		
When recirc pool is exhausted, a new bond won't be allocate a new
recirc_id. The bond->recirc_id will remain zero. This condition
should prevent the bond from use recirculation. This check was missing
before this patch.

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


commit f053752fc64abedd834fbbc40fcab60b7c0a7e8f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f053752fc64abedd834fbbc40fcab60b7c0a7e8f
Author: Jarno Rajahalme <jrajahalme at nicira.com>
		
openvswitch.h: Clarify use of key attributes.
		
Key attributes relating to actual packet headers are ignored for
OVS_PACKET_CMD_EXECUTE as the header key attributes are retrieved
from the packet itself.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


commit 61abba807febc0954acc0d23aeb75b081ad9d77a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=61abba807febc0954acc0d23aeb75b081ad9d77a
Author: Jarno Rajahalme <jrajahalme at nicira.com>
		
lib/odp-util: Remove extra parenthesis from sctp key output.
		
Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Reviewed-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>


commit 0141456733976ab0a8204494dd874b74aa686c9c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0141456733976ab0a8204494dd874b74aa686c9c
Author: Jarno Rajahalme <jrajahalme at nicira.com>
		
openvswitch.h: Note that 64 bit ints are 4-aligned.
		
In general, all Netlink 64-bit data may be 4-byte aligned, due to
netlink header and attributes being 4-aligned.

To avoid unaligned access the data should be copied out of the netlink
attribute before access.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


commit ea96b766c2092609fe850e9d5f6392252a2f5fa2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ea96b766c2092609fe850e9d5f6392252a2f5fa2
Author: Jarno Rajahalme <jrajahalme at nicira.com>
		
lib/ofp-actions: Update comment.
		
We recently renamed ofpbuf's 'l2' member as 'frame'.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Justin Pettit <jpettit at nicira.com>


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

Summary of changes:
 include/linux/openvswitch.h |    5 ++++-
 lib/odp-util.c              |    2 +-
 lib/ofp-actions.h           |    4 ++--
 ofproto/bond.c              |   23 ++++++++++++++++-------
 ofproto/bond.h              |    7 +++----
 ofproto/ofproto-dpif.c      |   12 +++---------
 tests/odp.at                |    1 +
 7 files changed, 30 insertions(+), 24 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list