From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 80F3B45837; Wed, 21 Aug 2024 20:43:23 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1F487427BD; Wed, 21 Aug 2024 20:43:23 +0200 (CEST) Received: from mail-oo1-f46.google.com (mail-oo1-f46.google.com [209.85.161.46]) by mails.dpdk.org (Postfix) with ESMTP id 9C3DB4279D for ; Wed, 21 Aug 2024 20:43:21 +0200 (CEST) Received: by mail-oo1-f46.google.com with SMTP id 006d021491bc7-5d5bb451631so5070eaf.2 for ; Wed, 21 Aug 2024 11:43:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1724265800; x=1724870600; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=noHWQMqb53Q32LjzQqWZMV0XCU4q48qmT3u6+oWEFXc=; b=RmrapAeCPHfu4vMV8XBk5Zw6ESm1Y3Ao4NASNHDhW2XO5Fx+AmoqOHubzw6aPoSQV/ 2qeX3gGBzkEVs4re5AuYQ3DA08VRdpBkgdMHJqJI2TkT+ZL5FD5PHh7zsW1T2/wmXIOn QwMbPy16uWpUbXIQ8DrDP2Mb7WkgWqB77OAw4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724265800; x=1724870600; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=noHWQMqb53Q32LjzQqWZMV0XCU4q48qmT3u6+oWEFXc=; b=RjMVAU8t/QThS5BJtJ2QV+iNTVNkueFkqF0jq7UrgI8X1uHGvz4DC2YnM8R6TKeDVh t4xqG3OOqZHwBNoM5LdHN0CsT/boghm48prfFpbxLGJ+cRpOmUThuaBYQ4YHSXRkn9Wm cv3bUJfKr/KvdPhaPpDFlIHujBqON1XP1py8WJFwCzR8xbQFr3yVmH/99H8O/BjWRuS7 kj2yfLnSwrcbmkUW8HXcVyR6DVRnjn3P8PG3vIjAuJQECubi3TJ5+eFRCogLX+PtJeZR COFiQ6L3tOnkJQmMo+/8+oQEOAzIMwm/HY4KaAdll2k38eItacMdE7abxz+0f9N/bl9g ZH1w== X-Gm-Message-State: AOJu0YxW8UiL05iFn5atIGzDZLJJ+h3zZznEQHNVXZL5l/7cShl6dTtf uBI2sYtupHlOxHMv4BujlbNY8PqtwIaybSQQkFWETuZQ0hYmi+CKy/xOX1yb5bY= X-Google-Smtp-Source: AGHT+IFjSIkX8hBNM835KZNSL8K4OoT0Hu16vOybY64Kwq7PdG+nBnftcJ4uD5upSd+h9zKrwm4eYg== X-Received: by 2002:a4a:384:0:b0:5d8:2c3:f9b4 with SMTP id 006d021491bc7-5dca3dac3camr1928419eaf.1.1724265800533; Wed, 21 Aug 2024 11:43:20 -0700 (PDT) Received: from localhost.unh.edu ([2606:4100:3880:1271:e2f8:4ec3:8bf3:864c]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6bf6fef7079sm64251216d6.126.2024.08.21.11.43.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2024 11:43:20 -0700 (PDT) From: Nicholas Pratte To: yoan.picchi@foss.arm.com, luca.vizzarro@arm.com, probb@iol.unh.edu, paul.szczepanek@arm.com, Honnappa.Nagarahalli@arm.com, juraj.linkes@pantheon.tech, dmarx@iol.unh.edu, jspewock@iol.unh.edu, alex.chapman@arm.com Cc: dev@dpdk.org, Nicholas Pratte Subject: [PATCH v1 0/3] dts: rework topology definition in dts config Date: Wed, 21 Aug 2024 14:43:03 -0400 Message-ID: <20240821184305.28028-2-npratte@iol.unh.edu> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Series to rework how testbed topologies are defined within the dts configuration. Bugzilla ID 1360 originally asked for a rework to define physical NIC devices on nodes. However, defining testbeds purely by device negates the ability to create specific, multi-device testers running performance tests, for example. We could keep the device design specified, but adding in this flexibility might make configuration more puzzling and complicated than necessary. Instead, it may make sense to use unique identifiers on ports/interfaces, and have DTS users select ports based on these identifiers within test run configuration; that is what this series achieves. Nicholas Pratte (3): dts: rework port attributes in config module dts: rework testbed_model Port objects to contain unique identifiers dts: rework test suite and dts runner to include test_run configs dts/conf.yaml | 32 ++++++------- dts/framework/config/__init__.py | 12 +++-- dts/framework/config/conf_yaml_schema.json | 52 +++++++++++++--------- dts/framework/config/types.py | 19 +++++--- dts/framework/runner.py | 16 +++++-- dts/framework/test_suite.py | 33 +++++++++----- dts/framework/testbed_model/port.py | 45 +++++-------------- 7 files changed, 113 insertions(+), 96 deletions(-) -- 2.44.0