This is supposed to share information between the driver and the tagger, or used by the tagger to keep some state. Its use is optional.
Signed-off-by: Vladimir Oltean <olte...@gmail.com> Reviewed-by: Florian Fainelli <f.faine...@gmail.com> Reviewed-by: Vivien Didelot <vivien.dide...@gmail.com> --- Changes in v3: - None. Changes in v2: - None. include/net/dsa.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/net/dsa.h b/include/net/dsa.h index 0260b73938e2..e20be1ceb306 100644 --- a/include/net/dsa.h +++ b/include/net/dsa.h @@ -210,6 +210,12 @@ struct dsa_port { struct work_struct xmit_work; struct sk_buff_head xmit_queue; + /* + * Give the switch driver somewhere to hang its per-port private data + * structures (accessible from the tagger). + */ + void *priv; + /* * Original copy of the master netdev ethtool_ops */ -- 2.17.1