aboutsummaryrefslogtreecommitdiff
path: root/lib/dpif.h
diff options
context:
space:
mode:
authorpravin shelar <pshelar@nicira.com>2011-07-28 09:05:25 -0700
committerpravin shelar <pshelar@nicira.com>2011-07-28 09:05:25 -0700
commitb85d8d61a6c3b9c2fa578fa62c795a93544764af (patch)
tree5b9d8259b78753e39590b63bc8cdbd81c4163325 /lib/dpif.h
parent79b8c1edcb52286c8f62e0f7350b1817f82815ac (diff)
Datapath action should not refer to controller
ODP_ACTION_ATTR_CONTROLLER in the kernel actually sends packets to userspace, not the controller. To make it generic rename this action to ODP_ACTION_ATTR_USERSPACE. Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Diffstat (limited to 'lib/dpif.h')
-rw-r--r--lib/dpif.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dpif.h b/lib/dpif.h
index 4a71153a..4df23184 100644
--- a/lib/dpif.h
+++ b/lib/dpif.h
@@ -155,7 +155,7 @@ int dpif_execute(struct dpif *,
enum dpif_upcall_type {
DPIF_UC_MISS, /* Miss in flow table. */
- DPIF_UC_ACTION, /* ODP_ACTION_ATTR_CONTROLLER action. */
+ DPIF_UC_ACTION, /* ODP_ACTION_ATTR_USERSPACE action. */
DPIF_UC_SAMPLE, /* Packet sampling. */
DPIF_N_UC_TYPES
};
@@ -177,7 +177,7 @@ struct dpif_upcall {
size_t key_len; /* Length of 'key' in bytes. */
/* DPIF_UC_ACTION only. */
- uint64_t userdata; /* Argument to ODP_ACTION_ATTR_CONTROLLER. */
+ uint64_t userdata; /* Argument to ODP_ACTION_ATTR_USERSPACE. */
/* DPIF_UC_SAMPLE only. */
uint32_t sample_pool; /* # of sampling candidate packets so far. */