dsa.h (53da0ebaad102626f56495e0967a614f89a2acc8) | dsa.h (7c83a7c539abe9f980996063ac20532a7a7f6eb1) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * include/net/dsa.h - Driver for Distributed Switch Architecture switch chips 4 * Copyright (c) 2008-2009 Marvell Semiconductor 5 */ 6 7#ifndef __LINUX_NET_DSA_H 8#define __LINUX_NET_DSA_H --- 33 unchanged lines hidden (view full) --- 42#define DSA_TAG_PROTO_8021Q_VALUE 12 43#define DSA_TAG_PROTO_SJA1105_VALUE 13 44#define DSA_TAG_PROTO_KSZ8795_VALUE 14 45#define DSA_TAG_PROTO_OCELOT_VALUE 15 46#define DSA_TAG_PROTO_AR9331_VALUE 16 47#define DSA_TAG_PROTO_RTL4_A_VALUE 17 48#define DSA_TAG_PROTO_HELLCREEK_VALUE 18 49#define DSA_TAG_PROTO_XRS700X_VALUE 19 | 1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * include/net/dsa.h - Driver for Distributed Switch Architecture switch chips 4 * Copyright (c) 2008-2009 Marvell Semiconductor 5 */ 6 7#ifndef __LINUX_NET_DSA_H 8#define __LINUX_NET_DSA_H --- 33 unchanged lines hidden (view full) --- 42#define DSA_TAG_PROTO_8021Q_VALUE 12 43#define DSA_TAG_PROTO_SJA1105_VALUE 13 44#define DSA_TAG_PROTO_KSZ8795_VALUE 14 45#define DSA_TAG_PROTO_OCELOT_VALUE 15 46#define DSA_TAG_PROTO_AR9331_VALUE 16 47#define DSA_TAG_PROTO_RTL4_A_VALUE 17 48#define DSA_TAG_PROTO_HELLCREEK_VALUE 18 49#define DSA_TAG_PROTO_XRS700X_VALUE 19 |
50#define DSA_TAG_PROTO_OCELOT_8021Q_VALUE 20 |
|
50 51enum dsa_tag_protocol { 52 DSA_TAG_PROTO_NONE = DSA_TAG_PROTO_NONE_VALUE, 53 DSA_TAG_PROTO_BRCM = DSA_TAG_PROTO_BRCM_VALUE, 54 DSA_TAG_PROTO_BRCM_PREPEND = DSA_TAG_PROTO_BRCM_PREPEND_VALUE, 55 DSA_TAG_PROTO_DSA = DSA_TAG_PROTO_DSA_VALUE, 56 DSA_TAG_PROTO_EDSA = DSA_TAG_PROTO_EDSA_VALUE, 57 DSA_TAG_PROTO_GSWIP = DSA_TAG_PROTO_GSWIP_VALUE, --- 6 unchanged lines hidden (view full) --- 64 DSA_TAG_PROTO_8021Q = DSA_TAG_PROTO_8021Q_VALUE, 65 DSA_TAG_PROTO_SJA1105 = DSA_TAG_PROTO_SJA1105_VALUE, 66 DSA_TAG_PROTO_KSZ8795 = DSA_TAG_PROTO_KSZ8795_VALUE, 67 DSA_TAG_PROTO_OCELOT = DSA_TAG_PROTO_OCELOT_VALUE, 68 DSA_TAG_PROTO_AR9331 = DSA_TAG_PROTO_AR9331_VALUE, 69 DSA_TAG_PROTO_RTL4_A = DSA_TAG_PROTO_RTL4_A_VALUE, 70 DSA_TAG_PROTO_HELLCREEK = DSA_TAG_PROTO_HELLCREEK_VALUE, 71 DSA_TAG_PROTO_XRS700X = DSA_TAG_PROTO_XRS700X_VALUE, | 51 52enum dsa_tag_protocol { 53 DSA_TAG_PROTO_NONE = DSA_TAG_PROTO_NONE_VALUE, 54 DSA_TAG_PROTO_BRCM = DSA_TAG_PROTO_BRCM_VALUE, 55 DSA_TAG_PROTO_BRCM_PREPEND = DSA_TAG_PROTO_BRCM_PREPEND_VALUE, 56 DSA_TAG_PROTO_DSA = DSA_TAG_PROTO_DSA_VALUE, 57 DSA_TAG_PROTO_EDSA = DSA_TAG_PROTO_EDSA_VALUE, 58 DSA_TAG_PROTO_GSWIP = DSA_TAG_PROTO_GSWIP_VALUE, --- 6 unchanged lines hidden (view full) --- 65 DSA_TAG_PROTO_8021Q = DSA_TAG_PROTO_8021Q_VALUE, 66 DSA_TAG_PROTO_SJA1105 = DSA_TAG_PROTO_SJA1105_VALUE, 67 DSA_TAG_PROTO_KSZ8795 = DSA_TAG_PROTO_KSZ8795_VALUE, 68 DSA_TAG_PROTO_OCELOT = DSA_TAG_PROTO_OCELOT_VALUE, 69 DSA_TAG_PROTO_AR9331 = DSA_TAG_PROTO_AR9331_VALUE, 70 DSA_TAG_PROTO_RTL4_A = DSA_TAG_PROTO_RTL4_A_VALUE, 71 DSA_TAG_PROTO_HELLCREEK = DSA_TAG_PROTO_HELLCREEK_VALUE, 72 DSA_TAG_PROTO_XRS700X = DSA_TAG_PROTO_XRS700X_VALUE, |
73 DSA_TAG_PROTO_OCELOT_8021Q = DSA_TAG_PROTO_OCELOT_8021Q_VALUE, |
|
72}; 73 74struct packet_type; 75struct dsa_switch; 76 77struct dsa_device_ops { 78 struct sk_buff *(*xmit)(struct sk_buff *skb, struct net_device *dev); 79 struct sk_buff *(*rcv)(struct sk_buff *skb, struct net_device *dev, --- 945 unchanged lines hidden --- | 74}; 75 76struct packet_type; 77struct dsa_switch; 78 79struct dsa_device_ops { 80 struct sk_buff *(*xmit)(struct sk_buff *skb, struct net_device *dev); 81 struct sk_buff *(*rcv)(struct sk_buff *skb, struct net_device *dev, --- 945 unchanged lines hidden --- |