[ovs-git] Open vSwitch: datapath: lisp: Use skb rxhash for source port. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Dec 5 23:51:42 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, master has been updated
       via  5c89b171e28fb9b1a60992ea65e226273b474c5a (commit)
       via  60c4904fec5a26fcd5d46eaacd87a6601a9ea470 (commit)
       via  1653f445b3cf25ce1278bd7451ee1f56e90c5928 (commit)
       via  3a5edd799e7ae823ef4bb413f998fbf04d376611 (commit)
      from  820b35a330191a63e0c538de2dce27ca09e43627 (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 5c89b171e28fb9b1a60992ea65e226273b474c5a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=5c89b171e28fb9b1a60992ea65e226273b474c5a
Author: Pravin B Shelar <pshelar at nicira.com>
		
datapath: lisp: Use skb rxhash for source port.
		
Rather than using complete flow hash, we can use skb->rxhash for
calculating source port. Similar calculation is done by vxlan.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


commit 60c4904fec5a26fcd5d46eaacd87a6601a9ea470
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=60c4904fec5a26fcd5d46eaacd87a6601a9ea470
Author: Pravin B Shelar <pshelar at nicira.com>
		
datapath: Add compile time check for rxhash
		
Some distribution kernel has backported skb->rxhash (e.g. RHEL)
Following patch allows use precalculated rxhash.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Reviewed-by: Thomas Graf <tgraf at redhat.com>
Acked-by: Jesse Gross <jesse at nicira.com>


commit 1653f445b3cf25ce1278bd7451ee1f56e90c5928
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1653f445b3cf25ce1278bd7451ee1f56e90c5928
Author: Pravin B Shelar <pshelar at nicira.com>
		
datapath: Improve compat rxhash functionality.
		
Following patch improves rxhash calculation, It is taken from
upstream Linux kernel code.
>From kernel 3.8, skb_get_rxhash() can handle hardware generated
l4-rxhash. Therefore compat skb_get_rxhash() is not used on
kernel 3.8 or new.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Reviewed-by: Thomas Graf <tgraf at redhat.com>
Acked-by: Jesse Gross <jesse at nicira.com>


commit 3a5edd799e7ae823ef4bb413f998fbf04d376611
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3a5edd799e7ae823ef4bb413f998fbf04d376611
Author: Pravin B Shelar <pshelar at nicira.com>
		
datapath: Fix compat skb_get_rxhash()
		
Add missing return statement.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


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

Summary of changes:
 acinclude.m4                                 |    1 +
 datapath/linux/compat/flow_dissector.c       |   56 ++++++++++++++++----------
 datapath/linux/compat/include/linux/net.h    |   23 +++++++++++
 datapath/linux/compat/include/linux/skbuff.h |   10 +++--
 datapath/linux/compat/utils.c                |   21 ++++++++++
 datapath/vport-lisp.c                        |   15 ++++---
 6 files changed, 96 insertions(+), 30 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list