/* * Copyright (c) 2015 HiSilicon Technologies Co., Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef __DTS_HI3519_CLOCK_H #define __DTS_HI3519_CLOCK_H #define HI3519_FMC_CLK 1 #define HI3519_SPI0_CLK 2 #define HI3519_SPI1_CLK 3 #define HI3519_SPI2_CLK 4 #define HI3519_UART0_CLK 5 #define HI3519_UART1_CLK 6 #define HI3519_UART2_CLK 7 #define HI3519_UART3_CLK 8 #define HI3519_UART4_CLK 9 #define HI3519_PWM_CLK 10 #define HI3519_DMA_CLK 11 #define HI3519_IR_CLK 12 #define HI3519_ETH_PHY_CLK 13 #define HI3519_ETH_MAC_CLK 14 #define HI3519_ETH_MACIF_CLK 15 #define HI3519_USB2_BUS_CLK 16 #define HI3519_USB2_PORT_CLK 17 #define HI3519_USB3_CLK 18 #endif /* __DTS_HI3519_CLOCK_H */ ut type='submit' value='switch'/> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRoopa Prabhu <roopa@cumulusnetworks.com>2017-01-31 22:59:55 -0800
committerDavid S. Miller <davem@davemloft.net>2017-02-03 15:21:22 -0500
commit11538d039ac6efcf4f1a6c536e1b87cd3668a9fd (patch)
tree48288a17219c037942267db3c6c469cf47bf7ecb /net
parentefa5356b0d9753b9d7e63e41459eba106cce30f3 (diff)
bridge: vlan dst_metadata hooks in ingress and egress paths
- ingress hook: - if port is a tunnel port, use tunnel info in attached dst_metadata to map it to a local vlan - egress hook: - if port is a tunnel port, use tunnel info attached to vlan to set dst_metadata on the skb CC: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/bridge/br_forward.c2
-rw-r--r--net/bridge/br_input.c8
-rw-r--r--net/bridge/br_private.h2
-rw-r--r--net/bridge/br_private_tunnel.h11
-rw-r--r--net/bridge/br_vlan.c7
-rw-r--r--net/bridge/br_vlan_tunnel.c54
6 files changed, 82 insertions, 2 deletions
diff --git a/net/bridge/br_forward.c b/net/bridge/br_forward.c