[ovs-git] Open vSwitch: datapath: s/ODPAT_/ODP_ACTION_ATTR_/ to fit new naming scheme. (master)

dev at openvswitch.org dev at openvswitch.org
Sat Jan 29 00:09:25 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  7aec165dbc4690c8c2c703d142e2f017bb851d31 (commit)
       via  3d8c95357fc8fa657c5ed176a464d0c9d33622e9 (commit)
       via  254f2dc8e3eb18debf4a8f238b9c87cf4d4dbd3f (commit)
       via  957709ea815c68ce83418cf7f59d2b661bafcd25 (commit)
       via  37a1300c3ca05a97160d44dc34298c447b50ed9d (commit)
       via  f0fef76062d67bff94a3243a469f182dd6f503a1 (commit)
       via  aaff4b55a7992ac47a143abb6bffac5c931f073a (commit)
       via  982b88105d0a82ab90b233bf68e4e51ac9cddd23 (commit)
       via  ed099e921e30d3720c5ad7d1b4f911bb23911bf3 (commit)
       via  057dd6d279c20e88f98bbe8328383564391bbc8f (commit)
       via  c0a0ac4f414cd17caead7c1066b016ddbc28b9ce (commit)
       via  e2c779b3c277c085fc0e1a3f5b00f0119430af74 (commit)
       via  9f2e8c9ef975181317ded7d71c8b5bec172ccb8f (commit)
       via  82272eded1ede569bcec3ba4ab212e5e3fb632ff (commit)
       via  c75d4dcf957f617b40ca89546545f075e2631226 (commit)
       via  f7cd0081f525dd1d45fafc68397b5393196e978d (commit)
       via  49954639ed8d827988495cd2f54dd1280cefa2ec (commit)
       via  d656937779f5b987ec021c21189a0deab29fd64d (commit)
       via  9c52546b52018970d97b33b31a0578497663737a (commit)
       via  693c4a01124ec5ad9253f8cfcfd99075a9d637f6 (commit)
       via  c33087b8507ff486acd13fea85506cfe96901b01 (commit)
       via  c62b0064a0cdbd5f3ecfc2cda90999a9d7ec551d (commit)
       via  e4add8967bd4fe1e78566ffbd2a61e8c2db6bc43 (commit)
       via  ba25b8f41f4db5ed5c91f53b9b83b57f242a82d6 (commit)
       via  c97fb13280c565f55ed0de7cf0bf06ffe8320b70 (commit)
       via  feebdea2e5550a71c7accda936b6a55962f60a04 (commit)
       via  bc4a05c639ee3789d009bb6143345cf121b2d4d4 (commit)
       via  996c1b3d7a4d6e82e1831ff8821e5fd7e1a5522c (commit)
       via  1ba530f4b2cd5476a224dbbf87a3089a831a24b6 (commit)
       via  ea7bd5973fb426f3a6ea66b0953c6000980e77ec (commit)
       via  c19e653509deb3f1002c4ed99714e16549ec74e9 (commit)
       via  7897d3fa21ec370997e4f108b01de2664bec0a67 (commit)
       via  c283069c71adc49c182a1ac569a05e2dca949eda (commit)
       via  4c738a8da5c73229ce0d4ab6f88d081886291f03 (commit)
       via  ffeda91a477a62d267696e08103f3ac6ec9a0102 (commit)
       via  6d9e6eb44fc82ae985e6e8db4f156ba56f8bea39 (commit)
       via  9fe3b9a2eeace9689def807e78e35c79e4b1814b (commit)
       via  51d4d59822785c1044cd96e6c73427347e0154c2 (commit)
       via  b0ec0f279ea4537cb421eba807254aba8f1971f2 (commit)
       via  856081f683d3e7d5b5fa07af4233d285eb205c47 (commit)
       via  36956a7d33c9ee204fcb184484a5aaacbd9ecef8 (commit)
       via  704a1e09e9b31ea39ca41c028c7c6aaf2482283a (commit)
      from  c662c789ed30a1e122967d5d183558e1bfe755a8 (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 7aec165dbc4690c8c2c703d142e2f017bb851d31
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=7aec165dbc4690c8c2c703d142e2f017bb851d31
Author: Ben Pfaff <blp at nicira.com>
		
datapath: s/ODPAT_/ODP_ACTION_ATTR_/ to fit new naming scheme.
		
Jesse suggested this naming scheme, so I'm adjusting existing names to
fit it.

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


commit 3d8c95357fc8fa657c5ed176a464d0c9d33622e9
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3d8c95357fc8fa657c5ed176a464d0c9d33622e9
Author: Ben Pfaff <blp at nicira.com>
		
dpif: Remove dpif_get_all_names().
		
None of the remaining dpif implementations have more than one name per
dpif, so there's no need for this function anymore.

Suggested-by: Jesse Gross <jesse at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


commit 254f2dc8e3eb18debf4a8f238b9c87cf4d4dbd3f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=254f2dc8e3eb18debf4a8f238b9c87cf4d4dbd3f
Author: Ben Pfaff <blp at nicira.com>
		
datapath: Change dp_idx to dp_ifindex, the ifindex of the local port.
		
I can't see any real value in maintaining a dp_idx separate from the
ifindex of the local port.  With the current implementation it also
artificially limits the number of datapaths.

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


commit 957709ea815c68ce83418cf7f59d2b661bafcd25
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=957709ea815c68ce83418cf7f59d2b661bafcd25
Author: Ben Pfaff <blp at nicira.com>
		
dpif-linux: Replace 'minor' by 'dp_idx'.
		
The dp_idx used to be the character device minor number, but there's no
character device anymore, so rename for clarity.

Reviewed by Justin Pettit.


commit 37a1300c3ca05a97160d44dc34298c447b50ed9d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=37a1300c3ca05a97160d44dc34298c447b50ed9d
Author: Ben Pfaff <blp at nicira.com>
		
datapath: Convert ODP_FLOW_* commands to use AF_NETLINK socket layer.
		
This completes the transition to the Generic Netlink interface, and
so this commit restores support for Linux 2.6.18 and later.

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


commit f0fef76062d67bff94a3243a469f182dd6f503a1
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f0fef76062d67bff94a3243a469f182dd6f503a1
Author: Ben Pfaff <blp at nicira.com>
		
datapath: Convert ODP_VPORT_* to use AF_NETLINK socket layer.
		
This commit calls genl_lock() and thus doesn't support Linux before
2.6.35, which wasn't exported before that version.  That problem will
be fixed once the whole userspace interface transitions to Generic
Netlink a few commits from now.

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


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

Summary of changes:
 acinclude.m4                                       |    3 +-
 datapath/Modules.mk                                |    1 -
 datapath/actions.c                                 |  116 +-
 datapath/actions.h                                 |    4 +-
 datapath/brc_procfs.c                              |   16 +-
 datapath/brc_procfs.h                              |    5 +-
 datapath/brcompat.c                                |   61 +-
 datapath/datapath.c                                | 2624 ++++++++++----------
 datapath/datapath.h                                |   58 +-
 datapath/dp_notify.c                               |    9 +-
 datapath/flow.c                                    |  292 +++-
 datapath/flow.h                                    |   33 +-
 datapath/linux-2.6/Modules.mk                      |    5 +-
 datapath/linux-2.6/compat-2.6/genetlink-brcompat.c |   16 +-
 .../linux-2.6/compat-2.6/genetlink-openvswitch.c   |   24 +-
 datapath/linux-2.6/compat-2.6/genetlink.inc        |  139 +
 .../linux-2.6/compat-2.6/include/linux/genetlink.h |   15 +
 .../linux-2.6/compat-2.6/include/linux/kernel.h    |    6 +
 .../linux-2.6/compat-2.6/include/linux/netdevice.h |   14 +
 .../linux-2.6/compat-2.6/include/linux/rtnetlink.h |    2 +-
 .../linux-2.6/compat-2.6/include/net/genetlink.h   |   63 +-
 .../compat-2.6/include/net/net_namespace.h         |   15 +
 .../linux-2.6/compat-2.6/include/net/netlink.h     |   88 +-
 datapath/odp-compat.h                              |   58 -
 datapath/table.c                                   |   67 +-
 datapath/table.h                                   |    1 +
 datapath/tunnel.c                                  |  170 +-
 datapath/tunnel.h                                  |   50 +-
 datapath/vport-capwap.c                            |   21 +-
 datapath/vport-gre.c                               |   38 +-
 datapath/vport-internal_dev.c                      |    8 +-
 datapath/vport-netdev.c                            |    2 +-
 datapath/vport-patch.c                             |   86 +-
 datapath/vport.c                                   |  466 +---
 datapath/vport.h                                   |   49 +-
 include/openvswitch/datapath-protocol.h            |  501 +++--
 include/openvswitch/tunnel.h                       |   44 +-
 lib/automake.mk                                    |    4 +-
 lib/dpif-linux.c                                   | 1589 +++++++++----
 lib/dpif-linux.h                                   |   56 +
 lib/dpif-netdev.c                                  |  505 +++--
 lib/dpif-provider.h                                |  229 +-
 lib/dpif.c                                         |  707 +++---
 lib/dpif.h                                         |  128 +-
 lib/dpif.man                                       |   14 -
 lib/flow.c                                         |   12 +-
 lib/flow.h                                         |    7 +-
 lib/netdev-dummy.c                                 |    4 +-
 lib/netdev-linux.c                                 |   25 +-
 lib/netdev-provider.h                              |    5 +-
 lib/netdev-vport.c                                 |  644 ++++--
 lib/netdev-vport.h                                 |   10 +-
 lib/netdev.c                                       |   36 +-
 lib/netdev.h                                       |    5 +-
 lib/nx-match.c                                     |    7 +-
 lib/odp-util.c                                     |  551 ++++-
 lib/odp-util.h                                     |   35 +-
 lib/ofp-util.c                                     |   25 +-
 lib/ofp-util.h                                     |    4 +
 lib/packets.h                                      |    4 +
 ofproto/in-band.c                                  |    4 +-
 ofproto/ofproto-sflow.c                            |   53 +-
 ofproto/ofproto-sflow.h                            |    6 +-
 ofproto/ofproto.c                                  |  578 ++---
 utilities/ovs-dpctl.8.in                           |   21 +-
 utilities/ovs-dpctl.c                              |  113 +-
 utilities/ovs-openflowd.8.in                       |   10 +-
 vswitchd/bridge.c                                  |  110 +-
 68 files changed, 6312 insertions(+), 4359 deletions(-)
 create mode 100644 datapath/linux-2.6/compat-2.6/genetlink.inc
 create mode 100644 datapath/linux-2.6/compat-2.6/include/linux/genetlink.h
 create mode 100644 datapath/linux-2.6/compat-2.6/include/net/net_namespace.h
 delete mode 100644 datapath/odp-compat.h
 create mode 100644 lib/dpif-linux.h
 delete mode 100644 lib/dpif.man


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list