[ovs-git] Open vSwitch: datapath: Use vlan deacceleration function in upcall. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Feb 8 00:16:30 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  303708cc8417959bbb7662fa52e0761a48bacbb1 (commit)
       via  2d8916e58fe0592c2c0f3161f4287ce962269b7f (commit)
      from  18c43631587c68bcd8ce82fcdd6b27ed3d998071 (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 303708cc8417959bbb7662fa52e0761a48bacbb1
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=303708cc8417959bbb7662fa52e0761a48bacbb1
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Use vlan deacceleration function in upcall.
		
vlan_deaccel_tag() was introduced to move a vlan tag from skb->vlan_tci
to the packet but there was still an open coded variant when doing
an upcall.  vlan_deaccel_tag() also clears skb->vlan_tci which is not
currently done but it makes no difference.

Signed-off-by: Jesse Gross <jesse at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


commit 2d8916e58fe0592c2c0f3161f4287ce962269b7f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=2d8916e58fe0592c2c0f3161f4287ce962269b7f
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Don't use vlan_features before 2.6.26.
		
Support for offloading over vlans wasn't introduced until 2.6.26,
so do full software emulation on kernels before that when dealing
with vlan packets.

Reported-by: Justin Pettit <jpettit at nicira.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 datapath/datapath.c     |   11 ++++-------
 datapath/vport-netdev.c |    6 +++++-
 2 files changed, 9 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list