lists.osmocom.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

gerrit-log

Thread Start a new thread
Download
Threads by month
  • ----- 2026 -----
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
gerrit-log@lists.osmocom.org

April 2025

  • 1 participants
  • 1186 discussions
[S] Change in osmo-ttcn3-hacks[master]: msc: add/expect network-originated MT-Forward-SM.Err
by laforge 08 Apr '25

08 Apr '25
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39951?usp=email ) Change subject: msc: add/expect network-originated MT-Forward-SM.Err ...................................................................... msc: add/expect network-originated MT-Forward-SM.Err The idea is to have two variants of the MT-Forward-SM.Err: * _MS: originated by the MS/UE (via RP-ERROR), * _NET: originated by the network (MSC) itself. In both testcase scenarios we expect the network to indicate the MT_FORWARD_SM_ERROR on its own, due to the lack of response from MS/UE. Use the right template kind for that, expect a specific Cause value. Change-Id: Ic27d943645fdff8d34f958e3bf16c8ee6e8368d2 Related: osmo-msc.git I51d92752471147e6d21a5059bebb0702b32642a5 Related: e9de1515 ("msc: add TC_gsup_mt_sms_{paging,conn}_timeout") Related: SYS#7323 --- M library/GSUP_Templates.ttcn M msc/MSC_Tests.ttcn 2 files changed, 39 insertions(+), 7 deletions(-) Approvals: laforge: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/library/GSUP_Templates.ttcn b/library/GSUP_Templates.ttcn index cbe4566..327f7f6 100644 --- a/library/GSUP_Templates.ttcn +++ b/library/GSUP_Templates.ttcn @@ -1679,7 +1679,8 @@ } ); -template (value) GSUP_PDU ts_GSUP_MT_FORWARD_SM_ERR( +/* MT delivery error indicated by the MS/UE */ +template (value) GSUP_PDU ts_GSUP_MT_FORWARD_SM_ERR_MS( hexstring imsi, OCT1 sm_rp_mr, /* Message Reference, see GSM TS 04.11, 8.2.3 */ OCT1 sm_rp_cause /* RP-Cause value, see GSM TS 04.11, 8.2.5.4 */ @@ -1692,7 +1693,7 @@ valueof(ts_GSUP_IE_Message_Class(OSMO_GSUP_MESSAGE_CLASS_SMS)) } ); -template GSUP_PDU tr_GSUP_MT_FORWARD_SM_ERR( +template GSUP_PDU tr_GSUP_MT_FORWARD_SM_ERR_MS( template hexstring imsi := ?, template OCT1 sm_rp_mr := ?, /* Message Reference, see GSM TS 04.11, 8.2.3 */ template OCT1 sm_rp_cause := ? /* RP-Cause value, see GSM TS 04.11, 8.2.5.4 */ @@ -1707,6 +1708,37 @@ } ); +/* MT delivery error indicated by the network */ +template (value) GSUP_PDU ts_GSUP_MT_FORWARD_SM_ERR_NET( + hexstring imsi, + OCT1 sm_rp_mr, /* Message Reference, see GSM TS 04.11, 8.2.3 */ + integer cause /* Cause (indicated by network) */ +) := ts_GSUP( + OSMO_GSUP_MSGT_MT_FORWARD_SM_ERROR, + { + valueof(ts_GSUP_IE_IMSI(imsi)), + valueof(ts_GSUP_IE_Cause(cause)), + valueof(ts_GSUP_IE_SM_RP_MR(sm_rp_mr)), + /* Cause IE replaces the SM-RP-Cause IE */ + valueof(ts_GSUP_IE_Message_Class(OSMO_GSUP_MESSAGE_CLASS_SMS)) + } +); +template GSUP_PDU tr_GSUP_MT_FORWARD_SM_ERR_NET( + template hexstring imsi := ?, + template OCT1 sm_rp_mr := ?, /* Message Reference, see GSM TS 04.11, 8.2.3 */ + template integer cause := ? /* Cause (indicated by network) */ +) := tr_GSUP( + OSMO_GSUP_MSGT_MT_FORWARD_SM_ERROR, + { + tr_GSUP_IE_IMSI(imsi), + tr_GSUP_IE_Cause(cause), + tr_GSUP_IE_SM_RP_MR(sm_rp_mr), + /* Cause IE replaces the SM-RP-Cause IE */ + tr_GSUP_IE_Message_Class(OSMO_GSUP_MESSAGE_CLASS_SMS), + tr_GSUP_IE_Source_Name(?) + } +); + template (value) GSUP_PDU ts_GSUP_MO_READY_FOR_SM_REQ( hexstring imsi, OCT1 sm_rp_mr, /* Message Reference, see GSM TS 04.11, 8.2.3 */ diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn index a36dbb8..492a551 100644 --- a/msc/MSC_Tests.ttcn +++ b/msc/MSC_Tests.ttcn @@ -2945,7 +2945,7 @@ /* Register an 'expect' for given IMSI (+TMSI) */ f_ran_register_imsi(g_pars.imsi, g_pars.tmsi); - var template GSUP_PDU mt_forwardSM_err := tr_GSUP_MT_FORWARD_SM_ERR( + var template GSUP_PDU mt_forwardSM_err := tr_GSUP_MT_FORWARD_SM_ERR_MS( imsi := g_pars.imsi, /* NOTE: MSC should assign RP-MR itself */ sm_rp_mr := ?, @@ -3297,6 +3297,7 @@ /* Test sending of GSUP MT-forwardSM-Err if MS does not respond to paging */ friend function f_TC_gsup_mt_sms_paging_timeout(charstring id, BSC_ConnHdlrPars pars) runs on BSC_ConnHdlr { + const integer cause := 17; /* GMM_CAUSE_NET_FAIL */ var SmsParameters spars := valueof(t_SmsPars); var boolean released := false; timer T; @@ -3321,9 +3322,8 @@ T.start(10.0 + 2.0); /* X4 + 2 seconds */ alt { /* Expect the MSC to indicate an error after paging timeout - * TODO: expect a specific SM-RP-Cause value * XXX: should we expect SM-RP-REF to be 'FF'O? */ - [] GSUP.receive(tr_GSUP_MT_FORWARD_SM_ERR(g_pars.imsi, ?, ?)); + [] GSUP.receive(tr_GSUP_MT_FORWARD_SM_ERR_NET(g_pars.imsi, ?, cause)); [] as_unexp_gsup_msg(); [] as_unexp_bssap_msg(); [] T.timeout { @@ -3343,6 +3343,7 @@ /* Test sending of GSUP MT-forwardSM-Err if MS does not send RP-ACK */ friend function f_TC_gsup_mt_sms_conn_timeout(charstring id, BSC_ConnHdlrPars pars) runs on BSC_ConnHdlr { + const integer cause := 17; /* GMM_CAUSE_NET_FAIL */ var SmsParameters spars := valueof(t_SmsPars); var boolean released := false; timer T; @@ -3372,9 +3373,8 @@ T.start(5.0 + 2.0); /* X1 + 2 seconds */ alt { /* Expect the MSC to indicate an error after connection timeout - * TODO: expect a specific SM-RP-Cause value * XXX: should we expect SM-RP-REF to be 'FF'O? */ - [] GSUP.receive(tr_GSUP_MT_FORWARD_SM_ERR(g_pars.imsi, ?, ?)); + [] GSUP.receive(tr_GSUP_MT_FORWARD_SM_ERR_NET(g_pars.imsi, ?, cause)); /* Timeout of X1 (5s) will trigger connection release */ [not released] as_expect_clear() { released := true; -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39951?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Ic27d943645fdff8d34f958e3bf16c8ee6e8368d2 Gerrit-Change-Number: 39951 Gerrit-PatchSet: 3 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
1 0
0 0
[S] Change in osmo-ttcn3-hacks[master]: msc: add/expect network-originated MT-Forward-SM.Err
by laforge 08 Apr '25

08 Apr '25
Attention is currently required from: fixeria. laforge has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39951?usp=email ) Change subject: msc: add/expect network-originated MT-Forward-SM.Err ...................................................................... Patch Set 3: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39951?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Ic27d943645fdff8d34f958e3bf16c8ee6e8368d2 Gerrit-Change-Number: 39951 Gerrit-PatchSet: 3 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Tue, 08 Apr 2025 09:19:16 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in upf-benchmark[master]: testsuites: trex: Add trex_cfg.yaml for epyc1 host
by laforge 08 Apr '25

08 Apr '25
laforge has submitted this change. ( https://gerrit.osmocom.org/c/upf-benchmark/+/39928?usp=email ) Change subject: testsuites: trex: Add trex_cfg.yaml for epyc1 host ...................................................................... testsuites: trex: Add trex_cfg.yaml for epyc1 host Change-Id: I2b5cfe9b62aa8b00025fbe314e44be58ac0f576f --- A testsuites/gtplab-sysmo2025/tunend/trex/trex_cfg_epyc1.yaml A testsuites/gtplab-sysmo2025/tunmap/trex/trex_cfg_epyc1.yaml 2 files changed, 48 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/testsuites/gtplab-sysmo2025/tunend/trex/trex_cfg_epyc1.yaml b/testsuites/gtplab-sysmo2025/tunend/trex/trex_cfg_epyc1.yaml new file mode 100644 index 0000000..4f38c55 --- /dev/null +++ b/testsuites/gtplab-sysmo2025/tunend/trex/trex_cfg_epyc1.yaml @@ -0,0 +1,24 @@ +### Config file generated by dpdk_setup_ports.py ### + +- version: 2 + interfaces: ['81:00.0', '81:00.1'] + c: 22 + rx_desc: 4096 + tx_desc: 4096 + port_info: + - ip: 172.16.32.2 + default_gw: 172.16.32.1 + - ip: 172.16.31.200 + default_gw: 172.16.31.2 + + platform: + master_thread_id: 0 + latency_thread_id: 1 + dual_if: + - socket: 0 + threads: [2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23] + + memory: + mbuf_2048: 128000 + global: 256000 + diff --git a/testsuites/gtplab-sysmo2025/tunmap/trex/trex_cfg_epyc1.yaml b/testsuites/gtplab-sysmo2025/tunmap/trex/trex_cfg_epyc1.yaml new file mode 100644 index 0000000..4f38c55 --- /dev/null +++ b/testsuites/gtplab-sysmo2025/tunmap/trex/trex_cfg_epyc1.yaml @@ -0,0 +1,24 @@ +### Config file generated by dpdk_setup_ports.py ### + +- version: 2 + interfaces: ['81:00.0', '81:00.1'] + c: 22 + rx_desc: 4096 + tx_desc: 4096 + port_info: + - ip: 172.16.32.2 + default_gw: 172.16.32.1 + - ip: 172.16.31.200 + default_gw: 172.16.31.2 + + platform: + master_thread_id: 0 + latency_thread_id: 1 + dual_if: + - socket: 0 + threads: [2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23] + + memory: + mbuf_2048: 128000 + global: 256000 + -- To view, visit https://gerrit.osmocom.org/c/upf-benchmark/+/39928?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: upf-benchmark Gerrit-Branch: master Gerrit-Change-Id: I2b5cfe9b62aa8b00025fbe314e44be58ac0f576f Gerrit-Change-Number: 39928 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
1 0
0 0
[S] Change in upf-benchmark[master]: testsuites: upf: Update config c240-2 files to use epyc1 as TRex
by laforge 08 Apr '25

08 Apr '25
laforge has submitted this change. ( https://gerrit.osmocom.org/c/upf-benchmark/+/39929?usp=email ) Change subject: testsuites: upf: Update config c240-2 files to use epyc1 as TRex ...................................................................... testsuites: upf: Update config c240-2 files to use epyc1 as TRex We ended up using the epyc1 host to generate enough traffic with TRex, so update the MAC addresses accordingly. Change-Id: I93b288bdfdfe13864c1460a6b3bae418f5963b6a --- M testsuites/gtplab-sysmo2025/tunend/upf/eupf/configure.sh M testsuites/gtplab-sysmo2025/tunend/upf/osmo-upf/configure.sh M testsuites/gtplab-sysmo2025/tunmap/upf/configure.sh 3 files changed, 8 insertions(+), 5 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/testsuites/gtplab-sysmo2025/tunend/upf/eupf/configure.sh b/testsuites/gtplab-sysmo2025/tunend/upf/eupf/configure.sh index a949e2d..ec57655 100755 --- a/testsuites/gtplab-sysmo2025/tunend/upf/eupf/configure.sh +++ b/testsuites/gtplab-sysmo2025/tunend/upf/eupf/configure.sh @@ -16,8 +16,9 @@ c240-2) IFACE_RAN="ens2f0np0" IFACE_CN="ens2f1np1" - MAC_RAN_PEER="88:e9:a4:3b:f0:48" - MAC_CN_PEER="88:e9:a4:3b:f0:49" + # TRex peer is epyc1's Mellanox NIC: + MAC_RAN_PEER="b8:ce:f6:fe:62:e0" + MAC_CN_PEER="b8:ce:f6:fe:62:e1" # Adapt Rx/Tx Queues and IRQs to Numa Node of device: # cat /sys/class/net/$IFACE_RAN/device/numa_node # 0 diff --git a/testsuites/gtplab-sysmo2025/tunend/upf/osmo-upf/configure.sh b/testsuites/gtplab-sysmo2025/tunend/upf/osmo-upf/configure.sh index f41e98a..92f4fb3 100755 --- a/testsuites/gtplab-sysmo2025/tunend/upf/osmo-upf/configure.sh +++ b/testsuites/gtplab-sysmo2025/tunend/upf/osmo-upf/configure.sh @@ -17,8 +17,9 @@ c240-2) IFACE_RAN="ens2f0np0" IFACE_CN="ens2f1np1" - MAC_RAN_PEER="88:e9:a4:3b:f0:48" - MAC_CN_PEER="88:e9:a4:3b:f0:49" + # TRex peer is epyc1's Mellanox NIC: + MAC_RAN_PEER="b8:ce:f6:fe:62:e0" + MAC_CN_PEER="b8:ce:f6:fe:62:e1" # Adapt Rx/Tx Queues and IRQs to Numa Node of device: # cat /sys/class/net/$IFACE_RAN/device/numa_node # 0 diff --git a/testsuites/gtplab-sysmo2025/tunmap/upf/configure.sh b/testsuites/gtplab-sysmo2025/tunmap/upf/configure.sh index 947c465..ca12881 100755 --- a/testsuites/gtplab-sysmo2025/tunmap/upf/configure.sh +++ b/testsuites/gtplab-sysmo2025/tunmap/upf/configure.sh @@ -12,7 +12,8 @@ c240-2) IFACE_RAN="ens2f0np0" IFACE_CN="ens2f1np1" - MAC_CN_PEER="88:e9:a4:3b:f0:49" + # TRex peer is epyc1's Mellanox NIC: + MAC_CN_PEER="b8:ce:f6:fe:62:e1" # Adapt Rx/Tx Queues and IRQs to Numa Node of device: # cat /sys/class/net/$IFACE_RAN/device/numa_node # 0 -- To view, visit https://gerrit.osmocom.org/c/upf-benchmark/+/39929?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: upf-benchmark Gerrit-Branch: master Gerrit-Change-Id: I93b288bdfdfe13864c1460a6b3bae418f5963b6a Gerrit-Change-Number: 39929 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
1 0
0 0
[XS] Change in upf-benchmark[master]: testsuites: upf: Use specific configure.sh script for each UPF implem...
by laforge 08 Apr '25

08 Apr '25
laforge has submitted this change. ( https://gerrit.osmocom.org/c/upf-benchmark/+/39930?usp=email ) Change subject: testsuites: upf: Use specific configure.sh script for each UPF implementation ...................................................................... testsuites: upf: Use specific configure.sh script for each UPF implementation We'll want to do specific stuff on each upf implementation in the future, eg. patching config file with iface names based on host. Change-Id: Iddc9147e25d6c3e682e7739e3bfdf7bd71a3441d --- R testsuites/gtplab-sysmo2025/tunmap/upf/eupf/configure.sh C testsuites/gtplab-sysmo2025/tunmap/upf/osmo-upf/configure.sh 2 files changed, 4 insertions(+), 4 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/testsuites/gtplab-sysmo2025/tunmap/upf/configure.sh b/testsuites/gtplab-sysmo2025/tunmap/upf/eupf/configure.sh similarity index 90% rename from testsuites/gtplab-sysmo2025/tunmap/upf/configure.sh rename to testsuites/gtplab-sysmo2025/tunmap/upf/eupf/configure.sh index ca12881..42526ff 100755 --- a/testsuites/gtplab-sysmo2025/tunmap/upf/configure.sh +++ b/testsuites/gtplab-sysmo2025/tunmap/upf/eupf/configure.sh @@ -21,8 +21,8 @@ # 0-19 sudo ethtool -L $IFACE_RAN combined 20 sudo ethtool -L $IFACE_CN combined 20 - sudo "$SCRIPT_DIR/../../../../scripts/set_irq_affinity_cpulist.sh" 0-19 $IFACE_RAN - sudo "$SCRIPT_DIR/../../../../scripts/set_irq_affinity_cpulist.sh" 0-19 $IFACE_CN + sudo "$SCRIPT_DIR/../../../../../scripts/set_irq_affinity_cpulist.sh" 0-19 $IFACE_RAN + sudo "$SCRIPT_DIR/../../../../../scripts/set_irq_affinity_cpulist.sh" 0-19 $IFACE_CN ;; *) echo "UNEXPECTED HOSTNAME: $(hostname)" diff --git a/testsuites/gtplab-sysmo2025/tunmap/upf/configure.sh b/testsuites/gtplab-sysmo2025/tunmap/upf/osmo-upf/configure.sh similarity index 90% copy from testsuites/gtplab-sysmo2025/tunmap/upf/configure.sh copy to testsuites/gtplab-sysmo2025/tunmap/upf/osmo-upf/configure.sh index ca12881..42526ff 100755 --- a/testsuites/gtplab-sysmo2025/tunmap/upf/configure.sh +++ b/testsuites/gtplab-sysmo2025/tunmap/upf/osmo-upf/configure.sh @@ -21,8 +21,8 @@ # 0-19 sudo ethtool -L $IFACE_RAN combined 20 sudo ethtool -L $IFACE_CN combined 20 - sudo "$SCRIPT_DIR/../../../../scripts/set_irq_affinity_cpulist.sh" 0-19 $IFACE_RAN - sudo "$SCRIPT_DIR/../../../../scripts/set_irq_affinity_cpulist.sh" 0-19 $IFACE_CN + sudo "$SCRIPT_DIR/../../../../../scripts/set_irq_affinity_cpulist.sh" 0-19 $IFACE_RAN + sudo "$SCRIPT_DIR/../../../../../scripts/set_irq_affinity_cpulist.sh" 0-19 $IFACE_CN ;; *) echo "UNEXPECTED HOSTNAME: $(hostname)" -- To view, visit https://gerrit.osmocom.org/c/upf-benchmark/+/39930?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: upf-benchmark Gerrit-Branch: master Gerrit-Change-Id: Iddc9147e25d6c3e682e7739e3bfdf7bd71a3441d Gerrit-Change-Number: 39930 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
1 0
0 0
[S] Change in upf-benchmark[master]: testsuites: eupf: Apply correct iface name in yaml file
by laforge 08 Apr '25

08 Apr '25
laforge has submitted this change. ( https://gerrit.osmocom.org/c/upf-benchmark/+/39931?usp=email ) Change subject: testsuites: eupf: Apply correct iface name in yaml file ...................................................................... testsuites: eupf: Apply correct iface name in yaml file Change-Id: Idde13ca376fa97ddc509a9f2d53a0ca903e7f46f --- M testsuites/gtplab-sysmo2025/tunend/upf/eupf/configure.sh M testsuites/gtplab-sysmo2025/tunend/upf/eupf/eupf.yaml M testsuites/gtplab-sysmo2025/tunmap/upf/eupf/configure.sh M testsuites/gtplab-sysmo2025/tunmap/upf/eupf/eupf.yaml M testsuites/gtplab-sysmo2025/tunmap/upf/osmo-upf/configure.sh 5 files changed, 11 insertions(+), 2 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/testsuites/gtplab-sysmo2025/tunend/upf/eupf/configure.sh b/testsuites/gtplab-sysmo2025/tunend/upf/eupf/configure.sh index ec57655..fb76737 100755 --- a/testsuites/gtplab-sysmo2025/tunend/upf/eupf/configure.sh +++ b/testsuites/gtplab-sysmo2025/tunend/upf/eupf/configure.sh @@ -75,3 +75,7 @@ # Add route towards HTTP server on the CN side, aka "the Internet" sudo ip route add 48.0.0.0/16 via $ADDR_GW_CN dev $IFACE_CN || true + +# Apply host specific iface names: +sed -i "s/TEMPLATE_IFACE_RAN/$IFACE_RAN/g" "${SCRIPT_DIR}/eupf.yaml" +sed -i "s/TEMPLATE_IFACE_CN/$IFACE_CN/g" "${SCRIPT_DIR}/eupf.yaml" diff --git a/testsuites/gtplab-sysmo2025/tunend/upf/eupf/eupf.yaml b/testsuites/gtplab-sysmo2025/tunend/upf/eupf/eupf.yaml index 2d41730..3f7326b 100644 --- a/testsuites/gtplab-sysmo2025/tunend/upf/eupf/eupf.yaml +++ b/testsuites/gtplab-sysmo2025/tunend/upf/eupf/eupf.yaml @@ -1,4 +1,4 @@ -interface_name: [enp2s0f0np0, enp2s0f1np1] +interface_name: [TEMPLATE_IFACE_RAN, TEMPLATE_IFACE_CN] xdp_attach_mode: native api_address: :8080 pfcp_address: 172.16.31.2:8805 diff --git a/testsuites/gtplab-sysmo2025/tunmap/upf/eupf/configure.sh b/testsuites/gtplab-sysmo2025/tunmap/upf/eupf/configure.sh index 42526ff..bcd9ee7 100755 --- a/testsuites/gtplab-sysmo2025/tunmap/upf/eupf/configure.sh +++ b/testsuites/gtplab-sysmo2025/tunmap/upf/eupf/configure.sh @@ -58,3 +58,7 @@ # TRex doesn't answer ARPs, so we need to set up the CN-side peer: sudo ip neigh add 172.16.31.200 lladdr "$MAC_CN_PEER" nud permanent dev $IFACE_CN || true; + +# Apply host specific iface names: +sed -i "s/TEMPLATE_IFACE_RAN/$IFACE_RAN/g" "${SCRIPT_DIR}/eupf.yaml" +sed -i "s/TEMPLATE_IFACE_CN/$IFACE_CN/g" "${SCRIPT_DIR}/eupf.yaml" diff --git a/testsuites/gtplab-sysmo2025/tunmap/upf/eupf/eupf.yaml b/testsuites/gtplab-sysmo2025/tunmap/upf/eupf/eupf.yaml index 2483a72..bdc60d8 100644 --- a/testsuites/gtplab-sysmo2025/tunmap/upf/eupf/eupf.yaml +++ b/testsuites/gtplab-sysmo2025/tunmap/upf/eupf/eupf.yaml @@ -1,4 +1,4 @@ -interface_name: [enp2s0f0np0, enp2s0f1np1] +interface_name: [TEMPLATE_IFACE_RAN, TEMPLATE_IFACE_CN] xdp_attach_mode: native api_address: :8080 pfcp_address: 172.16.31.2:8805 diff --git a/testsuites/gtplab-sysmo2025/tunmap/upf/osmo-upf/configure.sh b/testsuites/gtplab-sysmo2025/tunmap/upf/osmo-upf/configure.sh index 42526ff..7c308ce 100755 --- a/testsuites/gtplab-sysmo2025/tunmap/upf/osmo-upf/configure.sh +++ b/testsuites/gtplab-sysmo2025/tunmap/upf/osmo-upf/configure.sh @@ -58,3 +58,4 @@ # TRex doesn't answer ARPs, so we need to set up the CN-side peer: sudo ip neigh add 172.16.31.200 lladdr "$MAC_CN_PEER" nud permanent dev $IFACE_CN || true; + -- To view, visit https://gerrit.osmocom.org/c/upf-benchmark/+/39931?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: upf-benchmark Gerrit-Branch: master Gerrit-Change-Id: Idde13ca376fa97ddc509a9f2d53a0ca903e7f46f Gerrit-Change-Number: 39931 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
1 0
0 0
[XS] Change in upf-benchmark[master]: tunmap: trex: Allow configuring payload size
by laforge 08 Apr '25

08 Apr '25
laforge has submitted this change. ( https://gerrit.osmocom.org/c/upf-benchmark/+/39933?usp=email ) Change subject: tunmap: trex: Allow configuring payload size ...................................................................... tunmap: trex: Allow configuring payload size Change-Id: I3760a1f8c2577d340f75b530cfaa6857eae3d73d --- M testsuites/gtplab-sysmo2025/tunmap/trex/gtp_1pkt_simple.py 1 file changed, 6 insertions(+), 1 deletion(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/testsuites/gtplab-sysmo2025/tunmap/trex/gtp_1pkt_simple.py b/testsuites/gtplab-sysmo2025/tunmap/trex/gtp_1pkt_simple.py index 18bb5a7..f7f7d67 100644 --- a/testsuites/gtplab-sysmo2025/tunmap/trex/gtp_1pkt_simple.py +++ b/testsuites/gtplab-sysmo2025/tunmap/trex/gtp_1pkt_simple.py @@ -55,7 +55,7 @@ GTPPDUSessionContainer(type=1,QFI=1)/ IP(src="10.45.0.2",dst="192.168.16.152",version=4)/ UDP()/ - (1400*'x'), + (self.payload_len*'x'), vm = vm ), mode = STLTXCont()) @@ -71,9 +71,14 @@ type=int, default=1, help="The number of src IP addresses.") + parser.add_argument('--payload-len', + type=int, + default=1400, + help="Payload size in bytes.") args = parser.parse_args(tunables) self.num_streams = args.num_streams self.num_addrs = args.num_addrs + self.payload_len = args.payload_len streams = [] for addr_idx in range(self.num_addrs): streams.append(self.create_stream(direction = 0, addr_idx = addr_idx)) -- To view, visit https://gerrit.osmocom.org/c/upf-benchmark/+/39933?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: upf-benchmark Gerrit-Branch: master Gerrit-Change-Id: I3760a1f8c2577d340f75b530cfaa6857eae3d73d Gerrit-Change-Number: 39933 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
1 0
0 0
[XS] Change in upf-benchmark[master]: testsuites: tunmap: trex: Set default run time to 600 seconds
by laforge 08 Apr '25

08 Apr '25
laforge has submitted this change. ( https://gerrit.osmocom.org/c/upf-benchmark/+/39932?usp=email ) Change subject: testsuites: tunmap: trex: Set default run time to 600 seconds ...................................................................... testsuites: tunmap: trex: Set default run time to 600 seconds Previous default of 60 was too short and I was all the time changing it manually. Also change the default target rate to 8275 kpps, which is aproximatelly the amount needed to fill the 100 gbps NIC. Change-Id: I9a20d71f542956eee08eff75eeab6a284cfdd16e --- M testsuites/gtplab-sysmo2025/tunmap/trex/run.sh 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified diff --git a/testsuites/gtplab-sysmo2025/tunmap/trex/run.sh b/testsuites/gtplab-sysmo2025/tunmap/trex/run.sh index 99f5e3c..d402c89 100755 --- a/testsuites/gtplab-sysmo2025/tunmap/trex/run.sh +++ b/testsuites/gtplab-sysmo2025/tunmap/trex/run.sh @@ -8,7 +8,7 @@ NUM_ADDRS=100 # TODO: apply this automatically with "expect": -echo "To start the test, run: > reset; start -f ${SCRIPT_DIR}/gtp_1pkt_simple.py -p 0 -m 4000kpps -d 60 -t num-streams=${NUM_STREAMS},num-addrs=${NUM_ADDRS}" +echo "To start the test, run: > reset; start -f ${SCRIPT_DIR}/gtp_1pkt_simple.py -p 0 -m 8275kpps -d 600 -t num-streams=${NUM_STREAMS},num-addrs=${NUM_ADDRS}" echo "Once the test finishes, run: > stats" # Needs to be executed from /opt/trex ... -- To view, visit https://gerrit.osmocom.org/c/upf-benchmark/+/39932?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: upf-benchmark Gerrit-Branch: master Gerrit-Change-Id: I9a20d71f542956eee08eff75eeab6a284cfdd16e Gerrit-Change-Number: 39932 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
1 0
0 0
[XS] Change in upf-benchmark[master]: testsuites: tunmap: trex: Remove unneeded copy
by laforge 08 Apr '25

08 Apr '25
laforge has submitted this change. ( https://gerrit.osmocom.org/c/upf-benchmark/+/39925?usp=email ) Change subject: testsuites: tunmap: trex: Remove unneeded copy ...................................................................... testsuites: tunmap: trex: Remove unneeded copy The file is accessed from git dir directly in run.sh. Change-Id: I3929941be6b4c74f22da450e0e5ab40f2e589b22 --- M testsuites/gtplab-sysmo2025/tunmap/trex/configure.sh 1 file changed, 0 insertions(+), 1 deletion(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/testsuites/gtplab-sysmo2025/tunmap/trex/configure.sh b/testsuites/gtplab-sysmo2025/tunmap/trex/configure.sh index e86e6c2..9e86d78 100755 --- a/testsuites/gtplab-sysmo2025/tunmap/trex/configure.sh +++ b/testsuites/gtplab-sysmo2025/tunmap/trex/configure.sh @@ -4,6 +4,5 @@ sudo sysctl -w vm.nr_hugepages=4096 -sudo cp ${SCRIPT_DIR}/gtp_1pkt_simple.py /opt/trex/stl/gtp_1pkt_simple.py cd /opt/trex sudo /opt/trex/t-rex-64 -i --no-scapy-server --cfg "${SCRIPT_DIR}/trex_cfg.yaml" --no-ofed-check -- To view, visit https://gerrit.osmocom.org/c/upf-benchmark/+/39925?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: upf-benchmark Gerrit-Branch: master Gerrit-Change-Id: I3929941be6b4c74f22da450e0e5ab40f2e589b22 Gerrit-Change-Number: 39925 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
1 0
0 0
[S] Change in upf-benchmark[master]: testsuites: trex: Use different cfg file depending on host
by laforge 08 Apr '25

08 Apr '25
laforge has submitted this change. ( https://gerrit.osmocom.org/c/upf-benchmark/+/39926?usp=email ) Change subject: testsuites: trex: Use different cfg file depending on host ...................................................................... testsuites: trex: Use different cfg file depending on host Different hosts have different hw topology (NICs, cores, etc.) which need to be adapted. Simply store those in a per-host file. Change-Id: Iedb9104f1e407fb03866d0cc02e7ed48b0756a96 --- M testsuites/gtplab-sysmo2025/tunend/trex/configure.sh R testsuites/gtplab-sysmo2025/tunend/trex/trex_cfg_gtplab2.yaml M testsuites/gtplab-sysmo2025/tunmap/trex/configure.sh R testsuites/gtplab-sysmo2025/tunmap/trex/trex_cfg_gtplab2.yaml 4 files changed, 6 insertions(+), 5 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/testsuites/gtplab-sysmo2025/tunend/trex/configure.sh b/testsuites/gtplab-sysmo2025/tunend/trex/configure.sh index 2667cb1..e7f1287 100755 --- a/testsuites/gtplab-sysmo2025/tunend/trex/configure.sh +++ b/testsuites/gtplab-sysmo2025/tunend/trex/configure.sh @@ -1,9 +1,10 @@ #!/bin/bash -xe SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +HOSTNAME="$(hostname)" -case $(hostname) in -gtplab0) +case $HOSTNAME in +gtplab2) TREX_BIN="/opt/trex/t-rex-64" ;; c240-1) @@ -23,4 +24,4 @@ sudo sysctl -w vm.nr_hugepages=4096 cd /opt/trex -sudo $TREX_BIN -i --astf --software --tso-disable --no-scapy-server --cfg "${SCRIPT_DIR}/trex_cfg.yaml" --no-ofed-check +sudo $TREX_BIN -i --astf --software --tso-disable --no-scapy-server --cfg "${SCRIPT_DIR}/trex_cfg_$HOSTNAME.yaml" --no-ofed-check diff --git a/testsuites/gtplab-sysmo2025/tunend/trex/trex_cfg.yaml b/testsuites/gtplab-sysmo2025/tunend/trex/trex_cfg_gtplab2.yaml similarity index 100% rename from testsuites/gtplab-sysmo2025/tunend/trex/trex_cfg.yaml rename to testsuites/gtplab-sysmo2025/tunend/trex/trex_cfg_gtplab2.yaml diff --git a/testsuites/gtplab-sysmo2025/tunmap/trex/configure.sh b/testsuites/gtplab-sysmo2025/tunmap/trex/configure.sh index 9e86d78..cc6eeea 100755 --- a/testsuites/gtplab-sysmo2025/tunmap/trex/configure.sh +++ b/testsuites/gtplab-sysmo2025/tunmap/trex/configure.sh @@ -1,8 +1,8 @@ #!/bin/bash -xe SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) - +HOSTNAME="$(hostname)" sudo sysctl -w vm.nr_hugepages=4096 cd /opt/trex -sudo /opt/trex/t-rex-64 -i --no-scapy-server --cfg "${SCRIPT_DIR}/trex_cfg.yaml" --no-ofed-check +sudo /opt/trex/t-rex-64 -i --no-scapy-server --cfg "${SCRIPT_DIR}/trex_cfg_${HOSTNAME}.yaml" --no-ofed-check diff --git a/testsuites/gtplab-sysmo2025/tunmap/trex/trex_cfg.yaml b/testsuites/gtplab-sysmo2025/tunmap/trex/trex_cfg_gtplab2.yaml similarity index 100% rename from testsuites/gtplab-sysmo2025/tunmap/trex/trex_cfg.yaml rename to testsuites/gtplab-sysmo2025/tunmap/trex/trex_cfg_gtplab2.yaml -- To view, visit https://gerrit.osmocom.org/c/upf-benchmark/+/39926?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: upf-benchmark Gerrit-Branch: master Gerrit-Change-Id: Iedb9104f1e407fb03866d0cc02e7ed48b0756a96 Gerrit-Change-Number: 39926 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • ...
  • 119
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.