summaryrefslogtreecommitdiff
path: root/datapath
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2014-08-06 14:15:52 -0700
committerJustin Pettit <jpettit@nicira.com>2014-08-07 14:34:06 -0700
commita445095f0110623eaccbda1fb6937270b4dcc239 (patch)
tree7dd306a3242ec353e7094683daac21a97ade301e /datapath
parentfb66fbd15b98e897841f326b6dd0842ba6bde1a9 (diff)
downloadopenvswitch-a445095f0110623eaccbda1fb6937270b4dcc239.tar.gz
datapath: Update comments about 'OVS_KEY_ATTR_8021Q'.
Commit fea393b1 (datapath: Describe policy for extending flow key, implement needed changes.) changed the key 'OVS_KEY_ATTR_8021Q' to 'OVS_KEY_ATTR_VLAN' and the size of the attribute structure. A couple of comments were missed, so this commit updates them. Signed-off-by: Justin Pettit <jpettit@nicira.com> Acked-by: Pravin B Shelar <pshelar@nicira.com>
Diffstat (limited to 'datapath')
-rw-r--r--datapath/datapath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/datapath/datapath.c b/datapath/datapath.c
index 19d41c885..c18a8bde9 100644
--- a/datapath/datapath.c
+++ b/datapath/datapath.c
@@ -392,7 +392,7 @@ static size_t key_attr_size(void)
+ nla_total_size(4) /* OVS_KEY_ATTR_RECIRC_ID */
+ nla_total_size(12) /* OVS_KEY_ATTR_ETHERNET */
+ nla_total_size(2) /* OVS_KEY_ATTR_ETHERTYPE */
- + nla_total_size(4) /* OVS_KEY_ATTR_8021Q */
+ + nla_total_size(4) /* OVS_KEY_ATTR_VLAN */
+ nla_total_size(0) /* OVS_KEY_ATTR_ENCAP */
+ nla_total_size(2) /* OVS_KEY_ATTR_ETHERTYPE */
+ nla_total_size(40) /* OVS_KEY_ATTR_IPV6 */