aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dsa
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/dsa')
-rw-r--r--include/linux/dsa/sja1105.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/dsa/sja1105.h b/include/linux/dsa/sja1105.h
index 2c4fce4eaf0d..79435cfc20eb 100644
--- a/include/linux/dsa/sja1105.h
+++ b/include/linux/dsa/sja1105.h
@@ -45,6 +45,13 @@ struct sja1105_tagger_data {
45 bool hwts_rx_en; 45 bool hwts_rx_en;
46}; 46};
47 47
48struct sja1105_skb_cb {
49 u32 meta_tstamp;
50};
51
52#define SJA1105_SKB_CB(skb) \
53 ((struct sja1105_skb_cb *)DSA_SKB_CB_PRIV(skb))
54
48struct sja1105_port { 55struct sja1105_port {
49 struct sja1105_tagger_data *data; 56 struct sja1105_tagger_data *data;
50 struct dsa_port *dp; 57 struct dsa_port *dp;