summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2013-11-19 16:36:28 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-11-19 07:58:59 -0800
commitb209a304f85f6de82af623bf4b7b316a94ebf4dc (patch)
treef7d9422289d07f35ff2f30e64e4fe91ec018dcc3
parent3f6bfbe3f35ae3eb6d8e5b7f3ac8717682e7a7b3 (diff)
of13: OFPOxmId: update comment
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/ofproto/ofproto_v1_3_parser.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py
index 2ae4a2ed..19ea49cd 100644
--- a/ryu/ofproto/ofproto_v1_3_parser.py
+++ b/ryu/ofproto/ofproto_v1_3_parser.py
@@ -5001,6 +5001,9 @@ class OFPTableFeaturePropActions(OFPTableFeatureProp):
# but they all look broken or incomplete. according to the spec,
# oxm_hasmask should be 1 if a switch supports masking for the type.
# the right value for oxm_length is not clear from the spec.
+# update: OpenFlow 1.3.3 "clarified" that oxm_length here is the payload
+# length. it's still unclear if it should be doubled for hasmask or not,
+# though.
# ofsoftswitch13
# oxm_hasmask always 0
# oxm_length same as ofp_match etc (as without mask)