[ovs-git] Open vSwitch: ofproto: Handle netflow similarly to ipfix and sflow in xlate. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Dec 13 01:21:05 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  ce3955bed734b7459a8bdb3180284bf35dddaa7b (commit)
       via  936604c009caf1587df9c1aec6c4c6e3020052b3 (commit)
       via  8e407f2744c0fad4fe4785c7be5849eb6ad1f903 (commit)
       via  8bfaca5b9a63a4900c3c99fc6a97e2b821870f66 (commit)
      from  e2d13c430a5c648852369e4ce6808053eb076e5b (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 ce3955bed734b7459a8bdb3180284bf35dddaa7b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ce3955bed734b7459a8bdb3180284bf35dddaa7b
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto: Handle netflow similarly to ipfix and sflow in xlate.
		
This patch changes how ofproto-dpif-xlate handles netflow so that it's
more similar to how ipfix and sflow are handled.  This not only
simplifies the code, but it will allow xlate to call netflow in future
if necessary.

Signed-off-by: Ethan Jackson <ethan at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


commit 936604c009caf1587df9c1aec6c4c6e3020052b3
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=936604c009caf1587df9c1aec6c4c6e3020052b3
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto: New function netflow_exists().
		
Useful in future patches.

Signed-off-by: Ethan Jackson <ethan at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


commit 8e407f2744c0fad4fe4785c7be5849eb6ad1f903
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8e407f2744c0fad4fe4785c7be5849eb6ad1f903
Author: Ethan Jackson <ethan at nicira.com>
		
netflow: Make thread safe.
		
In future patches upcall handler threads will need to update netflow.

Signed-off-by: Ethan Jackson <ethan at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


commit 8bfaca5b9a63a4900c3c99fc6a97e2b821870f66
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8bfaca5b9a63a4900c3c99fc6a97e2b821870f66
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto: Modularize netflow.
		
The netflow code has its tentacles all over the ofproto-dpif module.
This is fine today, but in future facets, which correspond roughly to
netflow_flows, will be retired.  In preparation, this patch hides as
much implementation detail as possible inside the netflow module.

Signed-off-by: Ethan Jackson <ethan at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 ofproto/netflow.c             |  332 +++++++++++++++++++++++++++++++----------
 ofproto/netflow.h             |   34 ++---
 ofproto/ofproto-dpif-upcall.c |    3 +-
 ofproto/ofproto-dpif-xlate.c  |   15 +-
 ofproto/ofproto-dpif-xlate.h  |    5 +-
 ofproto/ofproto-dpif.c        |   83 ++---------
 ofproto/ofproto.h             |    8 -
 7 files changed, 295 insertions(+), 185 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list