Message ID | 20240617194638.12926-2-dmarx@iol.unh.edu (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9BD7F45484; Mon, 17 Jun 2024 21:47:47 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6D8FD402DA; Mon, 17 Jun 2024 21:47:47 +0200 (CEST) Received: from mail-ot1-f52.google.com (mail-ot1-f52.google.com [209.85.210.52]) by mails.dpdk.org (Postfix) with ESMTP id 078A9402DA for <dev@dpdk.org>; Mon, 17 Jun 2024 21:47:47 +0200 (CEST) Received: by mail-ot1-f52.google.com with SMTP id 46e09a7af769-6f986b92acaso2715095a34.2 for <dev@dpdk.org>; Mon, 17 Jun 2024 12:47:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1718653666; x=1719258466; 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=s0VwPvMwD8hZYxw6MuSCezswzMylNI4pr3oxVKlPstk=; b=MaPsZiNculjMN4Jh8ia9oZuGK7r1CU4RayOvdFkXUNRloPWdh9F5Cx9mMc30qSVMfo DuQ0oFxHWFLbWE1dG7GHf7zy7f7FtnqbeiVnj/4IXrInLzWvsoXRohtziX8wUFDx/yso cgrJjIwQvcLy9PqMxEWd8yAzmr2ioLuCZ65gA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718653666; x=1719258466; 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=s0VwPvMwD8hZYxw6MuSCezswzMylNI4pr3oxVKlPstk=; b=XMomHcWOw/3JvCQfUdgQZhM7vI18XwzyVL/nv3ymJfjoBK6QAwbq59msyKJGlFohS7 KLmmwsGM5gHcU+4pFOXqYw9gSiXRJK9IFrHCW4Qg2gdlYQ7f9ziXX8AQsYUyIkhVvkS0 QWC1yioUnla6LuKZ5rGtagNCFnUKRaW7BoCFA0dBTX2JmKdlU4/2F0u6wWnWFIphO0b3 cO0kKU1TYaEoEXW0NJX+HXJfLByEHQ0RNvtDU7MrpoaCAI6YQzoqUmqacs8qbznyPTaV yF4wGiDAtmVlm6phkU7V7OeklGn/F0pJBwJQNFBGD3rned3Mi3iIr2CUwK0JpFYCvrkP Zc1Q== X-Gm-Message-State: AOJu0YyHXv2LEK011asY4kbnjnLbmyXE6osNo72CFS6souXxO4d1XKzq zw476QVGI3RZbh1mYaaOt0zxidTigY5q8gf1MLNwG2e/5hnifNtS883BFEbxeUs= X-Google-Smtp-Source: AGHT+IG8nM0FBGfG9XpRKqFk7vD3vnHP46maIp745hWlu+jiGwBHf7jskkFUutiVpBcef02Oq37KMw== X-Received: by 2002:a05:6870:1586:b0:254:7dbe:1b82 with SMTP id 586e51a60fabf-25842b830c2mr11462973fac.48.1718653666049; Mon, 17 Jun 2024 12:47:46 -0700 (PDT) Received: from dean-laptop.iol.unh.edu ([2606:4100:3880:1210:52ef:3eaf:5f1e:6f6a]) by smtp.gmail.com with ESMTPSA id af79cd13be357-798aacae6eesm459167185a.16.2024.06.17.12.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 12:47:45 -0700 (PDT) From: Dean Marx <dmarx@iol.unh.edu> To: Honnappa.Nagarahalli@arm.com, juraj.linkes@pantheon.tech, probb@iol.unh.edu, paul.szczepanek@arm.com, yoan.picchi@foss.arm.com, jspewock@iol.unh.edu, bruce.richardson@intel.com, luca.vizzarro@arm.com Cc: dev@dpdk.org, Dean Marx <dmarx@iol.unh.edu> Subject: [PATCH v2 0/3] dts: queue start/stop suite Date: Mon, 17 Jun 2024 15:46:36 -0400 Message-ID: <20240617194638.12926-2-dmarx@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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
dts: queue start/stop suite
|
|
Message
Dean Marx
June 17, 2024, 7:46 p.m. UTC
Queue start/stop suite ensures the Poll Mode Driver can functionally enable and disable Rx/Tx queues on ports. The suite contains two test cases: 1. All queues enabled - verifies that packets are received when all queues on all ports are enabled. 2. Queue start/stop - verifies that packets are not received when the Rx queue on port 0 is disabled, and then again when the Tx queue on port 1 is disabled. An important aspect of DPDK is queueing packets for transmission to bypass the kernel, which makes this test suite necessary to ensure performance. Dean Marx (3): dts: initial queue start/stop suite implementation dts: added promisc/verbose func to testpmd shell dts: queue suite conf schema dts/framework/config/conf_yaml_schema.json | 3 +- dts/framework/remote_session/testpmd_shell.py | 179 +++++++++++++++++- dts/tests/TestSuite_queue_start_stop.py | 79 ++++++++ 3 files changed, 259 insertions(+), 2 deletions(-) create mode 100644 dts/tests/TestSuite_queue_start_stop.py
Comments
Hey Dean, One thing I think might make sense in this series is switching the order of the commits so that the additions to the testpmd shell come before the test suite. Since the test suite relies on these methods, if they aren't implemented anywhere that commit would actually be broken until the testpmd shell commit is applied. Putting the testpmd shell patch first shows that the test suite should actually be added after the methods are added to testpmd. On Mon, Jun 17, 2024 at 3:47 PM Dean Marx <dmarx@iol.unh.edu> wrote: > > Queue start/stop suite ensures the Poll Mode Driver can functionally > enable and disable Rx/Tx queues on ports. The suite contains two test > cases: > > 1. All queues enabled - verifies that packets are received when all > queues on all ports are enabled. > 2. Queue start/stop - verifies that packets are not received when the Rx > queue on port 0 is disabled, and then again when the Tx queue on port 1 > is disabled. > > An important aspect of DPDK is queueing packets for transmission to > bypass the kernel, which makes this test suite necessary to ensure > performance. > > Dean Marx (3): > dts: initial queue start/stop suite implementation > dts: added promisc/verbose func to testpmd shell > dts: queue suite conf schema > > dts/framework/config/conf_yaml_schema.json | 3 +- > dts/framework/remote_session/testpmd_shell.py | 179 +++++++++++++++++- > dts/tests/TestSuite_queue_start_stop.py | 79 ++++++++ > 3 files changed, 259 insertions(+), 2 deletions(-) > create mode 100644 dts/tests/TestSuite_queue_start_stop.py > > -- > 2.44.0 >