diff options
| author | John Crispin <john@phrozen.org> | 2017-08-09 08:41:16 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-08-10 01:51:47 -0400 |
| commit | 68277a2c9d32fd9090247a5c08aaf1353049c0b1 (patch) | |
| tree | 342c69a2ca30843b54ed50f3887bba078904df21 /net | |
| parent | 098b8d7e50736f959e8b76aea09105a86a71a58b (diff) | |
net-next: dsa: move struct dsa_device_ops to the global header file
We need to access this struct from within the flow_dissector to fix
dissection for packets coming in on DSA devices.
Signed-off-by: Muciri Gatimu <muciri@openmesh.com>
Signed-off-by: Shashidhar Lakkavalli <shashidhar.lakkavalli@openmesh.com>
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
| -rw-r--r-- | net/dsa/dsa_priv.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/net/dsa/dsa_priv.h b/net/dsa/dsa_priv.h index 1debf9c42fc4..9c3eeb72462d 100644 --- a/net/dsa/dsa_priv.h +++ b/net/dsa/dsa_priv.h | |||
| @@ -65,13 +65,6 @@ struct dsa_notifier_vlan_info { | |||
| 65 | int port; | 65 | int port; |
| 66 | }; | 66 | }; |
| 67 | 67 | ||
| 68 | struct dsa_device_ops { | ||
| 69 | struct sk_buff *(*xmit)(struct sk_buff *skb, struct net_device *dev); | ||
| 70 | struct sk_buff *(*rcv)(struct sk_buff *skb, struct net_device *dev, | ||
| 71 | struct packet_type *pt, | ||
| 72 | struct net_device *orig_dev); | ||
| 73 | }; | ||
| 74 | |||
| 75 | struct dsa_slave_priv { | 68 | struct dsa_slave_priv { |
| 76 | /* Copy of dp->ds->dst->tag_ops->xmit for faster access in hot path */ | 69 | /* Copy of dp->ds->dst->tag_ops->xmit for faster access in hot path */ |
| 77 | struct sk_buff * (*xmit)(struct sk_buff *skb, | 70 | struct sk_buff * (*xmit)(struct sk_buff *skb, |
