diff options
author | Jesse Gross <jesse@nicira.com> | 2010-08-29 10:49:11 -0700 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2010-09-22 13:43:01 -0700 |
commit | 3976f6d57b1134c5c3ed054c9da4aa6786fbf5bf (patch) | |
tree | b41b47ef995a1eae300b8b4ed705f0aa3b7d9161 /datapath/vport.h | |
parent | fb8c93473efacd67a50117d0f2a3084f2d96ceca (diff) |
datapath: Enable usage of cached flows.
An upcoming commit will add support for supplying cached flows for
packets entering the datapath. This adds the code in the datapath
itself to recognize these cached flows and use them instead of
extracting the flow fields and doing a lookup.
Signed-off-by: Jesse Gross <jesse@nicira.com>
Reviewed-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'datapath/vport.h')
-rw-r--r-- | datapath/vport.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/datapath/vport.h b/datapath/vport.h index fca5f1ab..30b0cc6b 100644 --- a/datapath/vport.h +++ b/datapath/vport.h @@ -112,7 +112,8 @@ struct vport { #define VPORT_F_REQUIRED (1 << 0) /* If init fails, module loading fails. */ #define VPORT_F_GEN_STATS (1 << 1) /* Track stats at the generic layer. */ -#define VPORT_F_TUN_ID (1 << 2) /* Sets OVS_CB(skb)->tun_id. */ +#define VPORT_F_FLOW (1 << 2) /* Sets OVS_CB(skb)->flow. */ +#define VPORT_F_TUN_ID (1 << 3) /* Sets OVS_CB(skb)->tun_id. */ /** * struct vport_ops - definition of a type of virtual port |