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 624EE455CA; Mon, 8 Jul 2024 21:20:00 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4D740427A4; Mon, 8 Jul 2024 21:20:00 +0200 (CEST) Received: from mail-qv1-f48.google.com (mail-qv1-f48.google.com [209.85.219.48]) by mails.dpdk.org (Postfix) with ESMTP id 7D175427A4 for ; Mon, 8 Jul 2024 21:19:58 +0200 (CEST) Received: by mail-qv1-f48.google.com with SMTP id 6a1803df08f44-6b613921035so5519976d6.1 for ; Mon, 08 Jul 2024 12:19:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1720466398; x=1721071198; 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=x8QSaAusjmPt+ZZewfDjoxqR5vHbnn5R2R11ztL2tP0=; b=Pikxq5IAP/PY/GRE81hHS8eqhzmvIl4hLcPoKYrwRrnFpp85hxyvFUmlS38F5i1zdh jVMaCb+jHycYsbqqWSJ7GJhfjPQjhPmcy1lBGoRA/KU/dycKgK4rJwWnHxIZ52brsfIW yWkODR6KYckEC1MnAuqMllCYxWa8ImXT+lXc4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720466398; x=1721071198; 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=x8QSaAusjmPt+ZZewfDjoxqR5vHbnn5R2R11ztL2tP0=; b=vVPIOq8xfPFXtG0EAKO+ysZWF61jB0gBW552Xog5vkPMeWjXFyDdVNDMsBofakjKvG zGraiKtubqvv7Hmp8RV4Jicq0ife+LRYkTrNT/SIwzSlMYgnaGkfJEu2mMUQ8uWgMPDu AZd3Ryov+vIU4tYnWfTz8N437AxUOd+8daRHfXk4+Ks2OKfV8lqf/6XzBVc2BMAM+VQq ugF9SyiEuKiawNjvGNHqmunDx4dgqJx7MOkYuepiJzElOy/b4qxuFH5RCjRkMu5eKaDZ kT2MSHqGgCgcQCkp/RTGQY53TkWAwt3pKq8y2bMIf2oZrtpTUfMmDkEQ67Gp0fWaRSoO m7UQ== X-Gm-Message-State: AOJu0YxQD5zsj4rcB4L2MAmHaGRBQ3kBSCjACRddizDTBp7wxfwlFY2+ EkBaBzGFNCevsRFYsQy+88Srtrlm5eCsmd9vmGKVR0jp6JossQQsTCbZ7APMcek= X-Google-Smtp-Source: AGHT+IH7TQz8FsxbGL1cflV7OrjojIkqJba9GqkN2gATTDNvlPIkO1lo+os5oahdQgMll5ZNvr85gw== X-Received: by 2002:a05:6214:400f:b0:6b4:fbec:952f with SMTP id 6a1803df08f44-6b61bce3312mr9303946d6.25.1720466397792; Mon, 08 Jul 2024 12:19:57 -0700 (PDT) Received: from dean-laptop.iol.unh.edu ([2606:4100:3880:1271:f9bd:24da:464d:6294]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6b61b9d5f89sm2128796d6.34.2024.07.08.12.19.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jul 2024 12:19:57 -0700 (PDT) From: Dean Marx 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 Subject: [PATCH v2 0/4] dts: initial dynamic config suite Date: Mon, 8 Jul 2024 15:19:34 -0400 Message-ID: <20240708191938.32132-1-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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Dynamic Configuration suite for ensuring the Poll Mode Driver's ability to enable/disable promiscuous and allmulticast mode. Verifies the expected behavior in the following four test cases: 1. Default mode - verifies that promiscuous mode is enabled by default, and packets with any destination MAC address are forwarded. 2. Disable promisc - turns off promiscuous mode, verifies that packets with destination MAC addresses matching that of the Rx port are forwarded, while packets with unknown addresses are dropped. 3. Disable promisc broadcast - turns off promiscuous mode, verifies that packets with matching or broadcast destination MAC addresses are forwarded. 4. Disable promisc multicast - turns off promiscuous mode, verifies that packets with multicast destination MAC addresses are dropped when allmulticast mode is turned off, and forwarded when it is turned on. Dean Marx (4): dts: add multicast set function to shell dts: add toggle option to send and capture dts: dynamic config conf schema dts: dynamic config test suite dts/framework/config/conf_yaml_schema.json | 3 +- dts/framework/remote_session/testpmd_shell.py | 46 ++++++ dts/framework/test_suite.py | 7 +- dts/tests/TestSuite_dynamic_config.py | 149 ++++++++++++++++++ 4 files changed, 203 insertions(+), 2 deletions(-) create mode 100644 dts/tests/TestSuite_dynamic_config.py -- 2.44.0