diff options
author | 2025-04-24 15:22:08 +0800 | |
---|---|---|
committer | 2025-04-28 13:37:26 -0700 | |
commit | 2725fc2e0b6113ea9e655b77409d6129876e45e9 (patch) | |
tree | 1344dcce6c401a280b7ed7c3e566804fa7224d78 /tools/perf/scripts/python/gecko.py | |
parent | Merge branch 'net-stmmac-socfpga-1000basex-support-and-cleanups' (diff) | |
download | wireguard-linux-2725fc2e0b6113ea9e655b77409d6129876e45e9.tar.xz wireguard-linux-2725fc2e0b6113ea9e655b77409d6129876e45e9.zip |
net: stmmac: dwmac-loongson: Add new multi-chan IP core support
Add a new multi-chan IP core (0x12) support which is used in Loongson-
2K3000/Loongson-3B6000M. Compared with the 0x10 core, the new 0x12 core
reduces channel numbers from 8 to 4, but checksum is supported for all
channels.
Add a "multichan" flag to loongson_data, so that we can simply use a
"if (ld->multichan)" condition rather than the complicated condition
"if (ld->loongson_id == DWMAC_CORE_MULTICHAN_V1 || ld->loongson_id ==
DWMAC_CORE_MULTICHAN_V2)".
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Henry Chen <chenx97@aosc.io>
Tested-by: Biao Dong <dongbiao@loongson.cn>
Signed-off-by: Baoqi Zhang <zhangbaoqi@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Reviewed-by: Yanteng Si <si.yanteng@linux.dev>
Link: https://patch.msgid.link/20250424072209.3134762-3-chenhuacai@loongson.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions