2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-22 01:51:26 +00:00
Ilya Maximets 19b8941620 tunnels: Remove support for deprecated STT and LISP.
STT and LISP tunnel types were deprecated and marked for removal in
the following commits in the OVS 3.5 release:

  3b37a6154a59 ("netdev-vport: Deprecate STT tunnel port type.")
  8d7ac031c03d ("netdev-vport: Deprecate LISP tunnel port type.")

Main reasons were that STT was rejected in upstream kernel and the
LISP was never upstreamed as well and doesn't really have a supported
implementation.  Both protocols also appear to have lost their former
relevance.

Removing both now.  While at it, also fixing some small documentation
issues and comments.

Acked-by: Eelco Chaudron <echaudro@redhat.com>
Acked-by: Alin Serdean <aserdean@ovn.org>
Acked-by: Kevin Traynor <ktraynor@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
2025-02-28 17:19:41 +01:00

77 lines
2.5 KiB
C

/*
* Copyright (c) 2014 VMware, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef __DEBUG_H_
#define __DEBUG_H_ 1
#define OVS_DBG_INIT BIT32(0)
#define OVS_DBG_SWITCH BIT32(1)
#define OVS_DBG_VPORT BIT32(2)
#define OVS_DBG_FLOW BIT32(3)
#define OVS_DBG_QOS BIT32(4)
#define OVS_DBG_USER BIT32(5)
#define OVS_DBG_EXECUTE BIT32(6)
#define OVS_DBG_EVENT BIT32(7)
#define OVS_DBG_DISPATCH BIT32(8)
#define OVS_DBG_OID BIT32(9)
#define OVS_DBG_STATUS BIT32(10)
#define OVS_DBG_CHECKSUM BIT32(11)
#define OVS_DBG_VXLAN BIT32(12)
#define OVS_DBG_GRE BIT32(13)
#define OVS_DBG_ACTION BIT32(14)
#define OVS_DBG_DATAPATH BIT32(15)
#define OVS_DBG_PROPERTY BIT32(16)
#define OVS_DBG_IPHELPER BIT32(17)
#define OVS_DBG_BUFMGMT BIT32(18)
#define OVS_DBG_OTHERS BIT32(19)
#define OVS_DBG_NETLINK BIT32(20)
#define OVS_DBG_TUNFLT BIT32(21)
#define OVS_DBG_CONTRK BIT32(22)
#define OVS_DBG_GENEVE BIT32(23)
#define OVS_DBG_IPFRAG BIT32(24)
#define OVS_DBG_LAST 24 /* Set this to the last defined module number. */
/* Please add above OVS_DBG_LAST. */
#define OVS_DBG_ERROR DPFLTR_ERROR_LEVEL
#define OVS_DBG_WARN DPFLTR_WARNING_LEVEL
#define OVS_DBG_TRACE DPFLTR_TRACE_LEVEL
#define OVS_DBG_INFO DPFLTR_INFO_LEVEL
#define OVS_DBG_LOUD (DPFLTR_INFO_LEVEL + 1)
VOID OvsLog(UINT32 level, UINT32 flag, CHAR *funcName,
UINT32 line, CHAR *format, ...);
#define OVS_LOG_LOUD(_format, ...) \
OvsLog(OVS_DBG_LOUD, OVS_DBG_MOD, __FUNCTION__, __LINE__, _format, __VA_ARGS__)
#define OVS_LOG_INFO(_format, ...) \
OvsLog(OVS_DBG_INFO, OVS_DBG_MOD, __FUNCTION__, __LINE__, _format, __VA_ARGS__)
#define OVS_LOG_TRACE(_format, ...) \
OvsLog(OVS_DBG_TRACE, OVS_DBG_MOD, __FUNCTION__, __LINE__, _format, __VA_ARGS__)
#define OVS_LOG_ERROR(_format, ...) \
OvsLog(OVS_DBG_ERROR, OVS_DBG_MOD, __FUNCTION__, __LINE__, _format, __VA_ARGS__)
#define OVS_LOG_WARN(_format, ...) \
OvsLog(OVS_DBG_WARN, OVS_DBG_MOD, __FUNCTION__, __LINE__, _format, __VA_ARGS__)
#endif /* __DEBUG_H_ */