[ovs-git] [openvswitch/ovs] 08d1e2: ofp-actions: Add action bitmap abstraction.

GitHub noreply at github.com
Mon Aug 11 18:00:18 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 08d1e2345660f563d95c53719cd305048b67a27e
      https://github.com/openvswitch/ovs/commit/08d1e2345660f563d95c53719cd305048b67a27e
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2014-08-11 (Mon, 11 Aug 2014)

  Changed paths:
    M include/openflow/openflow-1.2.h
    M lib/ofp-actions.c
    M lib/ofp-actions.h
    M lib/ofp-print.c
    M lib/ofp-util.c
    M lib/ofp-util.h
    M ofproto/ofproto-dpif.c
    M ofproto/ofproto-provider.h
    M ofproto/ofproto.c
    M tests/ofp-print.at
    M tests/ofproto.at

  Log Message:
  -----------
  ofp-actions: Add action bitmap abstraction.

Until now, sets of actions have been abstracted separately outside
ofp-actions, as enum ofputil_action_bitmap.  Drawing sets of actions into
ofp-actions, as done in this commit, makes for a better overall
abstraction of actions, with better consistency.

A big part of this commit is shifting from using ofp12_table_stats as if
it were an abstraction for OpenFlow table stats, toward using a new
struct ofputil_table_stats, which is what we generally do with other
OpenFlow structures and fits better with the rest of the code.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>




More information about the git mailing list