[ovs-git] Open vSwitch: ofproto-dpif: Use send_packet() instead of netdev_send(). (master)

dev at openvswitch.org dev at openvswitch.org
Thu Nov 3 16:07:13 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  ea131871e4c8793ff90f60cfb5f45947d6a2c10b (commit)
      from  a7d7f493ba47b1986857b57103f75dccf65d548a (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 ea131871e4c8793ff90f60cfb5f45947d6a2c10b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ea131871e4c8793ff90f60cfb5f45947d6a2c10b
Author: Jesse Gross <jesse at nicira.com>
		
ofproto-dpif: Use send_packet() instead of netdev_send().
		
netdev_send() directly sends a packet using Linux mechanisms, skipping
our kernel module. Several upper layer abstractions are built on top of
the kernel module, so this means that we loose stats, sFlow, etc. on
these packets. This changes bonding, LACP, and STP to use send_packet()
as CFM does, which uses the standard kernel mechanisms and provides a
single place that needs to be updated.


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

Summary of changes:
 lib/bond.c             |   35 ++++++++++++++++-------------------
 lib/bond.h             |    6 +++---
 ofproto/ofproto-dpif.c |   28 ++++++++++++++--------------
 3 files changed, 33 insertions(+), 36 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list