diff options
author | Ansuel Smith <ansuelsmth@gmail.com> | 2021-10-14 00:39:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-15 11:06:37 +0100 |
commit | 5654ec78dd7e64b1e04777b24007344329e6a63b (patch) | |
tree | 929f280684e2dde14ae2a7ce2e080fc9fbac73a3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3fcf734aa482487df83cf8f18608438fcf59127f (diff) |
net: dsa: qca8k: rework rgmii delay logic and scan for cpu port 6
Future proof commit. This switch have 2 CPU ports and one valid
configuration is first CPU port set to sgmii and second CPU port set to
rgmii-id. The current implementation detects delay only for CPU port
zero set to rgmii and doesn't count any delay set in a secondary CPU
port. Drop the current delay scan function and move it to the sgmii
parser function to generalize and implicitly add support for secondary
CPU port set to rgmii-id. Introduce new logic where delay is enabled
also with internal delay binding declared and rgmii set as PHY mode.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.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