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.
Unified · Split
| @@ -210,6 +210,12 @@ struct dsa_port { · 209 unmodified lines | ||
| 210 | 210 | struct work_struct xmit_work; |
| 211 | 211 | struct sk_buff_head xmit_queue; |
| 212 | 212 | |
| 213 | + /* | |
| 214 | + * Give the switch driver somewhere to hang its per-port private data | |
| 215 | + * structures (accessible from the tagger). | |
| 216 | + */ | |
| 217 | + void *priv; | |
| 218 | + | |
| 213 | 219 | /* |
| 214 | 220 | * Original copy of the master netdev ethtool_ops |
| 215 | 221 | */ |