diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2018-09-07 21:09:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-08 00:49:55 +0300 |
commit | 98cdb480712320880d9d5d9db052990a9609427e (patch) | |
tree | 0d459b194330e0605578c05a409674e1c5cb4e5d /Documentation/ABI | |
parent | 0fdc0d675b92ba8e0f4a5a7845b0c12c8e1baee2 (diff) | |
download | linux-98cdb480712320880d9d5d9db052990a9609427e.tar.xz |
net: dsa: Expose tagging protocol to user-space
There is no way for user-space to know what a given DSA network device's
tagging protocol is. Expose this information through a dsa/tagging
attribute which reflects the tagging protocol currently in use.
This is helpful for configuration (e.g: none behaves dramatically
different wrt. bridges) as well as for packet capture tools when there
is not a proper Ethernet type available.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-class-net-dsa | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-net-dsa b/Documentation/ABI/testing/sysfs-class-net-dsa new file mode 100644 index 000000000000..f240221e071e --- /dev/null +++ b/Documentation/ABI/testing/sysfs-class-net-dsa @@ -0,0 +1,7 @@ +What: /sys/class/net/<iface>/tagging +Date: August 2018 +KernelVersion: 4.20 +Contact: netdev@vger.kernel.org +Description: + String indicating the type of tagging protocol used by the + DSA slave network device. |