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 16E0745B09; Thu, 10 Oct 2024 22:17:33 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CF66F4064F; Thu, 10 Oct 2024 22:17:32 +0200 (CEST) Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) by mails.dpdk.org (Postfix) with ESMTP id 42B2940279 for ; Thu, 10 Oct 2024 22:17:31 +0200 (CEST) Received: by mail-qk1-f169.google.com with SMTP id af79cd13be357-7b111535924so105081585a.2 for ; Thu, 10 Oct 2024 13:17:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1728591450; x=1729196250; 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=MxV80e3ru3ez3Qul2rIW9xN8tWP8eBfoVAjbKQo7bYeoyjAX/6MyJb+APi95HfLzQU 3/LR4VimUOBnRh6yLlcERXAu/M3eTSlhTSJHmk6sQsJZSVjMUOby92WQruXhHOet5So8 wbWY4oQ+y8rhL7bc8omR+85+sKrGHfFekOTB0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728591450; x=1729196250; 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=C40MDfFRW5PHPHGcE/AuZRlkaUuCNIvwwlIA3ZcsC+7sZq4swdosGvBrgigxvEXyRp RQ2YJRh1GUovZLvUdzbXgQTSsLYdBopHMsImL2L8yWwOT99Tx5khcIkZAdcPoipen6cg ztveDDVIgaHi3O352dizeqbttjukhirRPng5sjaXbzFSHOnQ5tNBZ2x+dRGPSqMoVrr6 FEfXsvP5mCWxt3/EPWl5SG64cFiXcpBfZUkeG89BiFONwHUemEa7MPbRZV2ttKJY4zhH kCdl+kkXXcDKQIFFjbwJQUEVxc4r1e4FrT250pkyeIGjweRv9EvirEqUld8D/GaX9QO1 cqCg== X-Gm-Message-State: AOJu0Yy87CiEngTDYd/2kfUL1OruX0WbR2YRg0LFPCM+MiZUJ6LtsFY6 O1DRK5MZz2YyZ0869TzDFsUUEb8horAn5h7wirAuc4RQyZdnXhiH81tMUT5dDOc= X-Google-Smtp-Source: AGHT+IGuDBkMlWziD5Cd6YjO1B4bP4agft0Y2syHrKuIR8k22GuXynWL3evqzl9rfoLCTLaDOybC8A== X-Received: by 2002:a05:620a:468a:b0:7ae:d2d0:f86 with SMTP id af79cd13be357-7b11a396bfcmr45287885a.38.1728591450558; Thu, 10 Oct 2024 13:17:30 -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-7b1148d6a09sm74172385a.42.2024.10.10.13.17.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2024 13:17:29 -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:17:54 -0400 Message-ID: <20241010201756.13894-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