mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
net: dsa: comment hot path requirements
The DSA layer uses inline helpers and copy of the tagging functions for faster access in hot path. Add comments to detail that. Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: Vivien Didelot <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
0266f79778
commit
73a7ece8f7
2 changed files with 4 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ struct dsa_device_ops {
|
|||
};
|
||||
|
||||
struct dsa_slave_priv {
|
||||
/* Copy of dp->ds->dst->tag_ops->xmit for faster access in hot path */
|
||||
struct sk_buff * (*xmit)(struct sk_buff *skb,
|
||||
struct net_device *dev);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue