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 741CC45C88; Tue, 5 Nov 2024 17:58:11 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0CC3B427A7; Tue, 5 Nov 2024 17:58:11 +0100 (CET) Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com [209.85.219.179]) by mails.dpdk.org (Postfix) with ESMTP id 68DC340151 for ; Tue, 5 Nov 2024 17:58:09 +0100 (CET) Received: by mail-yb1-f179.google.com with SMTP id 3f1490d57ef6-e30eca40c44so5114758276.2 for ; Tue, 05 Nov 2024 08:58:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1730825889; x=1731430689; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Os1U/xCOMO04nZuACv01S27AI3kTEZAf3xxFKzXVpCc=; b=Uo8tE/FkzUlw/kwv3Jc0TYJFlgIgPprptVOoZsB94F/yK/SAUPM0DpsGN7tJOGDD2+ v0Sq85UFWmjZjjTCuvHT4my1g3u/n9c8mlyXj+sJ7hVHPxBc9cn35bbLoYO7ALQcw/EQ s1Xca6zBeHp0vEqlnacFa1Ch9HMlgbcT8ntsI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730825889; x=1731430689; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Os1U/xCOMO04nZuACv01S27AI3kTEZAf3xxFKzXVpCc=; b=E2uuISyEdQ0DQgHkBhOszdMP3RMJUGyWEDT4rMKS1A2snrnMOphvuxlf5HlvGdsGR2 VtUNP4rlkKpMDmzJfOv3yqKQydflcdgIXqLzDKdX1OHexwFBchwTVhqLJ8SHFTSaZ/zu opF9m0slq6ISnjBnrfLohyZ6xT7ud1XFUhdXIub0ZT2SYGq38xH0fxl3Hy7yABvjgXYW Dv1OezkL7KlKWkwlXSrF0XXsVriH8ult6OeSGtI+Mi4p3eEULq9WZSjwg+vPelPI9ENY x/0bAIuzRjDRinyq2IWUmvmi5dcu1xSsLqfwcU6PnLwC+vamhMgK+RRoyjfA0EUSfZ3v S5EQ== X-Gm-Message-State: AOJu0YxqzCT6ZRcSeQNy3y3OAfleV+fjjdfeFE6ioa4FfalIogGTcKGM 0SJylNo0X0iDi67Ce/Kc4eX+PxNVxXw+6rNGhoEBoDdTMGSo3aLOLGeRx+MrPG8= X-Google-Smtp-Source: AGHT+IHs2icYSwQKeTPhXe88nTMG9i/xB7DGuHuH4l8ATZw2ehknok8cnP3BtiAvnPYtTJgkNbLjNw== X-Received: by 2002:a25:d0c7:0:b0:e30:c872:176d with SMTP id 3f1490d57ef6-e30c8721929mr20599847276.49.1730825888743; Tue, 05 Nov 2024 08:58:08 -0800 (PST) Received: from dean-laptop.iol.unh.edu ([2606:4100:3880:1271:f9bd:24da:464d:6294]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-462ad161597sm61017051cf.63.2024.11.05.08.58.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Nov 2024 08:58:08 -0800 (PST) From: Dean Marx To: probb@iol.unh.edu, npratte@iol.unh.edu, luca.vizzarro@arm.com, yoan.picchi@foss.arm.com, Honnappa.Nagarahalli@arm.com, paul.szczepanek@arm.com Cc: dev@dpdk.org, Dean Marx Subject: [PATCH v6 0/2] dts: add dynamic queue configuration test suite Date: Tue, 5 Nov 2024 11:58:28 -0500 Message-ID: <20241105165830.15881-1-dmarx@iol.unh.edu> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240925192013.17446-1-jspewock@iol.unh.edu> References: <20240925192013.17446-1-jspewock@iol.unh.edu> 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 This patch ports over a test suite from old DTS that tests the implementation of runtime port queue configuration of PMDs. It also includes necessary framework changes to allow this to happen such as: * Sending multiple packets and not capturing the result * Only adjusting addresses of packets if they are still their default values (i.e. not modified by the developer beforehand) * Testpmd methods for port queue configuration and querying v5: * applied on next-dts v6: * rebased off of capabilities dataclass and methods Dean Marx (2): dts: add port queue modification and forwarding stats to testpmd dts: add dynamic queue test suite dts/framework/config/conf_yaml_schema.json | 3 +- dts/framework/remote_session/testpmd_shell.py | 216 +++++++++++-- dts/tests/TestSuite_dynamic_queue_conf.py | 293 ++++++++++++++++++ 3 files changed, 477 insertions(+), 35 deletions(-) create mode 100644 dts/tests/TestSuite_dynamic_queue_conf.py -- 2.44.0