diff options
| author | Justin Pettit <jpettit@nicira.com> | 2011-08-18 10:35:40 -0700 |
|---|---|---|
| committer | Justin Pettit <jpettit@nicira.com> | 2011-08-19 22:48:23 -0700 |
| commit | df2c07f4338faac04f4969f243fe4e8083b309ac (patch) | |
| tree | 33d2b377ab21c76a122e656a032e340105d16ef9 /datapath/dp_sysfs_dp.c | |
| parent | 1c313b88e1ba908b4f30ce2b3702d57e8f4d9a38 (diff) | |
| download | openvswitch-df2c07f4338faac04f4969f243fe4e8083b309ac.tar.gz | |
datapath: Use "OVS_*" as opposed to "ODP_*" for user<->kernel interactions.
The prefix "ODP_*" is not overly descriptive in the context of the
larger Linux tree. This commit changes the prefix to "OVS_*" for the
userpace to kernel interactions. The userspace libraries still use
"ODP_" in many of their interfaces since it is more descriptive in the
OVS oeuvre.
Feature #6904
Signed-off-by: Justin Pettit <jpettit@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'datapath/dp_sysfs_dp.c')
| -rw-r--r-- | datapath/dp_sysfs_dp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/datapath/dp_sysfs_dp.c b/datapath/dp_sysfs_dp.c index 587b8bc2d..16aa78790 100644 --- a/datapath/dp_sysfs_dp.c +++ b/datapath/dp_sysfs_dp.c @@ -351,7 +351,7 @@ static struct attribute_group bridge_group = { int dp_sysfs_add_dp(struct datapath *dp) { struct kobject *kobj = - vport_get_kobj(rtnl_dereference(dp->ports[ODPP_LOCAL])); + vport_get_kobj(rtnl_dereference(dp->ports[OVSP_LOCAL])); int err; /* Create /sys/class/net/<devname>/bridge directory. */ @@ -381,7 +381,7 @@ int dp_sysfs_add_dp(struct datapath *dp) int dp_sysfs_del_dp(struct datapath *dp) { struct kobject *kobj = - vport_get_kobj(rtnl_dereference(dp->ports[ODPP_LOCAL])); + vport_get_kobj(rtnl_dereference(dp->ports[OVSP_LOCAL])); kobject_del(&dp->ifobj); sysfs_remove_group(kobj, &bridge_group); |
