[ovs-dev] [PATCH 1/2] compat: Backport IP_TUNNEL_INFO_BRIDGE

Greg Rose gvrose8192 at gmail.com
Tue Oct 8 23:51:11 UTC 2019


From: Roopa Prabhu <roopa at cumulusnetworks.com>

Upstream commit:
    commit f35581d64e55fc65753a62957b3b98127d560d07
    Author: Roopa Prabhu <roopa at cumulusnetworks.com>
    Date:   Tue Jan 31 22:59:51 2017 -0800

    ip_tunnels: new IP_TUNNEL_INFO_BRIDGE flag for ip_tunnel_info mode

    New ip_tunnel_info flag to represent bridged tunnel metadata.
    Used by bridge driver later in the series to pass per vlan dst
    metadata to bridge ports.

    Signed-off-by: Roopa Prabhu <roopa at cumulusnetworks.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

Cc: Roopa Prabhu <roopa at cumulusnetworks.com>
Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
---
 datapath/linux/compat/include/net/ip_tunnels.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/datapath/linux/compat/include/net/ip_tunnels.h b/datapath/linux/compat/include/net/ip_tunnels.h
index da64a94..e70c54a 100644
--- a/datapath/linux/compat/include/net/ip_tunnels.h
+++ b/datapath/linux/compat/include/net/ip_tunnels.h
@@ -165,6 +165,7 @@ struct ip_tunnel_key {
 /* Flags for ip_tunnel_info mode. */
 #define IP_TUNNEL_INFO_TX	0x01	/* represents tx tunnel parameters */
 #define IP_TUNNEL_INFO_IPV6	0x02	/* key contains IPv6 addresses */
+#define IP_TUNNEL_INFO_BRIDGE	0x04	/* represents a bridged tunnel id */
 
 struct ip_tunnel_info {
 	struct ip_tunnel_key	key;
-- 
1.8.3.1



More information about the dev mailing list