summaryrefslogtreecommitdiff
path: root/lib/learning-switch.c
diff options
context:
space:
mode:
authorMengke Liu <mengke.liu@intel.com>2015-12-16 02:47:50 +0800
committerJesse Gross <jesse@kernel.org>2015-12-15 13:06:11 -0800
commit4e548ad9e60f8248090a467fefcc58da5f298c96 (patch)
tree6a3becb2d557b741e23cca80926a6aeb74fe5de4 /lib/learning-switch.c
parentaa68cf38e14d159ae3fef061765d7986b7376f6e (diff)
downloadopenvswitch-4e548ad9e60f8248090a467fefcc58da5f298c96.tar.gz
geneve-map-rename: rename geneve-map to tlv-map.
This patch renames the command name related with geneve-map to a more generic name as following: add-geneve-map -> add-tlv-map del-geneve-map -> del-tlv-map dump-geneve-map -> dump-tlv-map It also renames the Geneve_table to tlv_table. By doing this renaming, the NSH variable context header (the same TLV format as Geneve) or other protocol can reuse the field tun_metadata<N> in the future. Signed-off-by: Mengke Liu <mengke.liu@intel.com> Signed-off-by: Ricky Li <ricky.li@intel.com> Signed-off-by: Jesse Gross <jesse@kernel.org>
Diffstat (limited to 'lib/learning-switch.c')
-rw-r--r--lib/learning-switch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/learning-switch.c b/lib/learning-switch.c
index 7ddf69b9d..a45cf98b9 100644
--- a/lib/learning-switch.c
+++ b/lib/learning-switch.c
@@ -452,9 +452,9 @@ lswitch_process_packet(struct lswitch *sw, const struct ofpbuf *msg)
case OFPTYPE_TABLE_DESC_REPLY:
case OFPTYPE_BUNDLE_CONTROL:
case OFPTYPE_BUNDLE_ADD_MESSAGE:
- case OFPTYPE_NXT_GENEVE_TABLE_MOD:
- case OFPTYPE_NXT_GENEVE_TABLE_REQUEST:
- case OFPTYPE_NXT_GENEVE_TABLE_REPLY:
+ case OFPTYPE_NXT_TLV_TABLE_MOD:
+ case OFPTYPE_NXT_TLV_TABLE_REQUEST:
+ case OFPTYPE_NXT_TLV_TABLE_REPLY:
default:
if (VLOG_IS_DBG_ENABLED()) {
char *s = ofp_to_string(msg->data, msg->size, 2);