Re: [PATCH net-next] net: dsa: Remove unused __DSA_SKB_CB macro

2019-10-02 Thread David Miller
From: Vladimir Oltean Date: Tue, 1 Oct 2019 22:12:50 +0300 > The struct __dsa_skb_cb is supposed to span the entire 48-byte skb > control block, while the struct dsa_skb_cb only the portion of it which > is used by the DSA core (the rest is available as private data to > drivers). > > The DSA_S

[PATCH net-next] net: dsa: Remove unused __DSA_SKB_CB macro

2019-10-01 Thread Vladimir Oltean
The struct __dsa_skb_cb is supposed to span the entire 48-byte skb control block, while the struct dsa_skb_cb only the portion of it which is used by the DSA core (the rest is available as private data to drivers). The DSA_SKB_CB and __DSA_SKB_CB helpers are supposed to help retrieve this pointer