diff options
author | Florian Fainelli | 2018-09-07 20:09:02 +0200 |
---|---|---|
committer | David S. Miller | 2018-09-07 23:49:55 +0200 |
commit | 98cdb480712320880d9d5d9db052990a9609427e (patch) | |
tree | 0d459b194330e0605578c05a409674e1c5cb4e5d /drivers/net/ethernet/netronome/nfp/nfp_net_common.c | |
parent | freescale: ethernet: remove unnecessary unlikely() (diff) | |
download | kernel-qcow2-linux-98cdb480712320880d9d5d9db052990a9609427e.tar.gz kernel-qcow2-linux-98cdb480712320880d9d5d9db052990a9609427e.tar.xz kernel-qcow2-linux-98cdb480712320880d9d5d9db052990a9609427e.zip |
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 'drivers/net/ethernet/netronome/nfp/nfp_net_common.c')
0 files changed, 0 insertions, 0 deletions