xref: /linux/Documentation/ABI/testing/sysfs-class-net-dsa (revision d0034a7a4ac7fae708146ac0059b9c47a1543f0d)
1a3d7e01dSFlorian FainelliWhat:		/sys/class/net/<iface>/dsa/tagging
298cdb480SFlorian FainelliDate:		August 2018
398cdb480SFlorian FainelliKernelVersion:	4.20
498cdb480SFlorian FainelliContact:	netdev@vger.kernel.org
598cdb480SFlorian FainelliDescription:
6*53da0ebaSVladimir Oltean		On read, this file returns a string indicating the type of
7*53da0ebaSVladimir Oltean		tagging protocol used by the DSA network devices that are
8*53da0ebaSVladimir Oltean		attached to this master interface.
9*53da0ebaSVladimir Oltean		On write, this file changes the tagging protocol of the
10*53da0ebaSVladimir Oltean		attached DSA switches, if this operation is supported by the
11*53da0ebaSVladimir Oltean		driver. Changing the tagging protocol must be done with the DSA
12*53da0ebaSVladimir Oltean		interfaces and the master interface all administratively down.
13*53da0ebaSVladimir Oltean		See the "name" field of each registered struct dsa_device_ops
14*53da0ebaSVladimir Oltean		for a list of valid values.
15