diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-03-11 16:12:59 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-12 23:54:07 -0700 |
commit | 4314557c6505a14043717de01036dc0e3a357010 (patch) | |
tree | 93defa39c63f39aacb769650bb64a4e981e77760 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6cd456f38207b56ba18c444d50fe49a7fe8b2a0a (diff) |
net: dsa: mv88e6xxx: rework port mode setup
A switch port mode is defined by the association of its egress mode, its
frame mode and if supported or required, the ether type value.
Pack all this in a mv88e6xxx_set_port_mode function and provide helpers
for the Normal Network mode, the DSA mode, and the Ether Type DSA mode,
as well as an helper to setup a port's mode depending on its nature.
Define PORT_ETH_TYPE_DEFAULT for the 0x9100 reset value of port E Type.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions