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 46E1D45B09; Thu, 10 Oct 2024 22:20:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3200440659; Thu, 10 Oct 2024 22:20:41 +0200 (CEST) Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) by mails.dpdk.org (Postfix) with ESMTP id BF3904064F for ; Thu, 10 Oct 2024 22:20:39 +0200 (CEST) Received: by mail-qk1-f180.google.com with SMTP id af79cd13be357-7ae6f4b1f16so97591485a.0 for ; Thu, 10 Oct 2024 13:20:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1728591639; x=1729196439; 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=DaRprT2ad9DQZc4Q5Ym38aCtfCHkgKBZYLL8NL9J6Bc=; b=T7kmDVbyit8OYGITreK80XWsR3J2FGi6611KmuUYXTZD3H4phenFlcaddGtqgfpke9 kCyvyXjyMS55dOAp3FbqrfVA5WJbTLUoyUtBW0Xu9KQWTAwMjJdAhzq2D8sKOBNwmKNZ YsW5Cw4lOqY1/yMOgZo4mF9iVQj5FfFZwITKw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728591639; x=1729196439; 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=DaRprT2ad9DQZc4Q5Ym38aCtfCHkgKBZYLL8NL9J6Bc=; b=A4yzSHFWbvE77+t1fbHDhcPMn8FYsLMXAJ5zYYkbgwZ9gdHZ9nYJUfCoIqb3dS2X2J RXjExqFvpiqpYx0wU4XUKpjotwoLOVMObwzrmNOFa1B1I5/FpJWuQ79cHOXGNGLE/R3E Tzf8T66nKk0t9Jf+XMt0fXiqnmeIkcRytw5fG7ELHdyTLrg7Imwt5imVfnR0bPlCJxYe G03XMrmxK1rOMkIJ8N/mOINV8QY6sXrbkT7+6YyaHjVvwlgqFfask6FAqvSEwx5Abdxz mKqycCUzPqprkKvhAiRoIGajD/etkkJUet4fUdOat1greNTVa3nVrQMEGtzHXkvIlfIA wyAg== X-Gm-Message-State: AOJu0YxXGJ2RATxA8ysXun6Flt2cJvHOLVsc17tD+e4MDtaxchkaCKjZ fvhNLylTaugIfesWZOkdV9jcuu2SPLRNT+fSoXUEYzEpdv/uHz+ZACuwt6k+0PY= X-Google-Smtp-Source: AGHT+IFkd6ONGgtbO98qVR8xYesubBRpnpr6rnSWhZ+Vh70M16MBEheCNJsGWWZJ5ZYMl+IqauRCOA== X-Received: by 2002:a05:620a:2886:b0:7b1:1079:ea94 with SMTP id af79cd13be357-7b11a379bb9mr55396385a.33.1728591638921; Thu, 10 Oct 2024 13:20:38 -0700 (PDT) Received: from dean-laptop.iol.unh.edu ([2606:4100:3880:1271:f9bd:24da:464d:6294]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b114958016sm73878185a.81.2024.10.10.13.20.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2024 13:20:38 -0700 (PDT) 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 v7 0/2] dts: port over dynamic config suite Date: Thu, 10 Oct 2024 16:21:02 -0400 Message-ID: <20241010202104.15364-1-dmarx@iol.unh.edu> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240807191818.15978-1-dmarx@iol.unh.edu> References: <20240807191818.15978-1-dmarx@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 Dynamic Configuration suite for verifying 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. -------------------- v6: * Combined configuration schema with test suite patch v7: * Rebased off next-dts Dean Marx (2): dts: add multicast set funciton to shell dts: port over dynamic config test suite dts/framework/config/conf_yaml_schema.json | 3 +- dts/framework/remote_session/testpmd_shell.py | 24 +++ dts/tests/TestSuite_dynamic_config.py | 143 ++++++++++++++++++ 3 files changed, 169 insertions(+), 1 deletion(-) create mode 100644 dts/tests/TestSuite_dynamic_config.py -- 2.44.0