[ovs-git] Open vSwitch: datapath: Fix tunnel source port selection for mega flow (branch-1.11)

dev at openvswitch.org dev at openvswitch.org
Wed Jul 3 00:25:21 UTC 2013


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, branch-1.11 has been updated
       via  8199967c72ba25d0532624650b0ef426f06063c3 (commit)
      from  dc83eda1ac3241c1fe6fc5ccd16ac7f117c07398 (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 8199967c72ba25d0532624650b0ef426f06063c3
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8199967c72ba25d0532624650b0ef426f06063c3
Author: Andy Zhou <azhou at nicira.com>
		
datapath: Fix tunnel source port selection for mega flow
		
Tunnel source port selection was based on hash value cached in the
flow. This no longer works with mega flow, since all flows matching
a mega flow will be transmitted with the same tunnel source port.

This patch computes the tunnel source port at run time based on each
incoming packet. Packets belong to the same micro flow would still get
the same source port, but multiple micro flows hitting the same mega flow
can get different source ports.

Packets injected from the usespace will be assigned to the same
source port as if they are forwarded in the kernel.

Bug #18216

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


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

Summary of changes:
 datapath/tunnel.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list