34 lines
1.4 KiB
Diff
34 lines
1.4 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: builder <builder@localhost>
|
|
Date: Sun, 10 May 2026 00:00:00 +0000
|
|
Subject: [PATCH] gateway-dk: use standard CDX offline port IDs
|
|
|
|
The CDX soft-parser logic treats logical port IDs >= 9 as offline
|
|
ports, and the bundled CDX configs consistently use portid 9 and 10
|
|
for dpa-fman0-oh@2 and dpa-fman0-oh@3.
|
|
|
|
Keep the Gateway DK OFFLINE port numbers unchanged, because number 1
|
|
and 2 are what dpa_app maps to dpa-fman0-oh@2 and dpa-fman0-oh@3.
|
|
Only adjust the logical port IDs.
|
|
---
|
|
config/gateway-dk/cdx_cfg.xml | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/config/gateway-dk/cdx_cfg.xml b/config/gateway-dk/cdx_cfg.xml
|
|
index 1111111..2222222 100644
|
|
--- a/config/gateway-dk/cdx_cfg.xml
|
|
+++ b/config/gateway-dk/cdx_cfg.xml
|
|
@@ -11,8 +11,8 @@
|
|
<port type="10G" number="1" policy="cdx_ethport_7_policy" portid="7"/>
|
|
<!-- OFFLINE ports for CDX -->
|
|
<!-- number="1" -> dpa-fman0-oh@2 (IPsec), number="2" -> dpa-fman0-oh@3 (WiFi) -->
|
|
- <port type="OFFLINE" number="1" policy="cdx_port_of2_policy" portid="8"/>
|
|
- <port type="OFFLINE" number="2" policy="cdx_port_of3_policy" portid="9"/>
|
|
+ <port type="OFFLINE" number="1" policy="cdx_port_of2_policy" portid="9"/>
|
|
+ <port type="OFFLINE" number="2" policy="cdx_port_of3_policy" portid="10"/>
|
|
</engine>
|
|
</config>
|
|
</cfgdata>
|
|
--
|
|
2.43.0
|