OSDN Git Service

net: dsa: Add a private structure pointer to dsa_port
authorVladimir Oltean <olteanv@gmail.com>
Sun, 5 May 2019 10:19:26 +0000 (13:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 May 2019 04:52:42 +0000 (21:52 -0700)
commitc362beb072e14b929eb657dc174d83ccdd9b0eed
treea3efa2e9ed23f07fcdb3929c6a80b31a2988b9cd
parent97a69a0dea9a048c6769249f1552de5f56731524
net: dsa: Add a private structure pointer to dsa_port

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 <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vivien Didelot <vivien.didelot@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h