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 640DD455CA; Mon, 8 Jul 2024 21:09:20 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 51FFA40298; Mon, 8 Jul 2024 21:09:20 +0200 (CEST) Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) by mails.dpdk.org (Postfix) with ESMTP id EB9FC40265 for ; Mon, 8 Jul 2024 21:09:18 +0200 (CEST) Received: by mail-qk1-f181.google.com with SMTP id af79cd13be357-79efb877760so156612785a.3 for ; Mon, 08 Jul 2024 12:09:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1720465758; x=1721070558; 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=vZwcfU+V19wSX4TPtVmIFEfrLAH7G3tP0utZDVWPvQw=; b=Tr6EBS1cjtDQJf890wY1kEoKnPYSwnmMFKAtywhGvON8ykfT2fIR9GQEMKXjUWjcoI FVqJoiyvBskndtQ4t2atI5nP8L5eP5fX8ryd3+7ijaG1qBmsyT8ywRRWszVirXWLeqWg ZrLRtmKtgjqarhV9igJIuAsf+0y6vewPx4ND8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720465758; x=1721070558; 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=vZwcfU+V19wSX4TPtVmIFEfrLAH7G3tP0utZDVWPvQw=; b=wULdBAkViiHHxe1zo98dd7P19wxZ0uFKqBFr9UY5K6oTuUHSyDUFBiiGu6303Rzd1O 4dUWXzgM5Fy3NH4kOnYLbaQfKZOgmilTNLvIPfTcM8sq8vw1KR8bbS0MhfPb7R2HP4/z 2TKUM7ZcpyEZ9TwnYsPUNIIPHxbqZ6076WXvGXbQuLkNrItTH3bpkIfYLMQIDEdZw0ou jCfb/YGUjqFEMVOG4S5xeigTCgM7SblZYca2QlIUDn/BWHnwwYL3HvLZYpS6kT+PPS7i 4LkBmYTWZfZyS+BFPeX/Lk1O0hVbEk4W+SFKbzkrNsBUzRrnO9DXn8P21LkRPuqRFOKY 93Ig== X-Gm-Message-State: AOJu0YyWMiIqDgJaWjPP9EPK5OYSdRsvDrtqrQ37nj06kL3QckM7wKGw WSnJu/qcqRa3cpvD6JLwpx700IxU7CygvbnAskMc26vOyl+GTKFKNrOMm5xmJw0= X-Google-Smtp-Source: AGHT+IH7MynyFLywt+10fqDvf4maC20dTaIAERUHs6TcgCsLxnZSL+zl2GLnBHJXW1BT6uaQSrz7Fw== X-Received: by 2002:a05:620a:1449:b0:79e:f9cf:8cdf with SMTP id af79cd13be357-79f19a6fbe5mr45339385a.28.1720465758308; Mon, 08 Jul 2024 12:09:18 -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-79f18ff6762sm19655885a.10.2024.07.08.12.09.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jul 2024 12:09:17 -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: dts: dynamic config test suite implementation Date: Mon, 8 Jul 2024 15:08:54 -0400 Message-ID: <20240708190858.26583-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 test suite for ensuring Poll Mode Driver's ability to enable/disable promiscuous and allmulticast mode, and verify 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 received and forwarded. 2. Disable promisc - turns off promiscuous mode and verifies that packets with a destination MAC address matching that of the Rx port are forwarded, while unknown MAC addresses are dropped. 3. Disable promisc broadcast - turns off promiscuous mode and verifies that packets with a matching or broadcast destination MAC address are forwarded. 4. Disable promisc multicast - turns off promiscuous mode and verifies that packets with a multicast destination MAC address 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 test suite dts: dynamic config conf schema 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