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 C1DC842847; Mon, 27 Mar 2023 05:01:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AAE7740ED8; Mon, 27 Mar 2023 05:01:10 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id CAD6F40ED5 for ; Mon, 27 Mar 2023 05:01:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679886068; x=1711422068; h=from:to:cc:subject:date:message-id; bh=VDuZZqJtAO0rVNcnH6Fn8ImPHFXPZ5RTgyK5rcen01Y=; b=fj9OwhxY3fjI95IWEBEkyTeJ9poXc3Tui33674/bIxQAKkCuQy2fOPoS N/9bdkolCQJYwNq1Uc7i7P1huHbqmFxnXeLU53LusVzjLYAi9X8tjSTyC 1k5yf+tVy90zXoBTC6Tu/l/E+eSnDllCrpO8hBG6WvLRZn9UTjMgnwuTF XPHEsO4f1R0fIpBSpPsIbCWv/p2KpGERrIlb91PA2ACRX1Atf5yrbJslt elm+gCQAX+ctQV8WJWOPu6Hggqizf9u0nNKNJIZQlRrcLqqcsWJn59XNV cbg+Y2HWpyL3nx9q71UkH1ea4ACqDzuxsEMX3kTeHHdtAcWzRozs9MZFi A==; X-IronPort-AV: E=McAfee;i="6600,9927,10661"; a="405091829" X-IronPort-AV: E=Sophos;i="5.98,293,1673942400"; d="scan'208";a="405091829" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2023 20:01:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10661"; a="685826261" X-IronPort-AV: E=Sophos;i="5.98,293,1673942400"; d="scan'208";a="685826261" Received: from unknown (HELO localhost.localdomain) ([10.239.252.203]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2023 20:01:01 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1] tests/ice_vf_support_multicast_address: modify script to adapt the intree kernel driver Date: Mon, 27 Mar 2023 11:04:37 +0000 Message-Id: <20230327110437.22556-1-songx.jiale@intel.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org modify the script to adapt to the situation that the kernel driver cannot set "vf-vlan-running". Signed-off-by: Jiale Song --- tests/TestSuite_ice_vf_support_multicast_address.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_ice_vf_support_multicast_address.py b/tests/TestSuite_ice_vf_support_multicast_address.py index cd088ad4..9915b927 100644 --- a/tests/TestSuite_ice_vf_support_multicast_address.py +++ b/tests/TestSuite_ice_vf_support_multicast_address.py @@ -720,7 +720,10 @@ class TestICEVfSupportMulticastAdress(TestCase): # send 4 packets p.send_pkt(self.tester, tx_port=self.tester_itf) out_4 = self.check_pkts_received() - self.verify(len(out_4) == 1, "Wrong number of pkts received") + if self.default_stats: + self.verify(len(out_4) == 1, "Wrong number of pkts received") + else: + self.verify(len(out_4) == 2, "Wrong number of pkts received") self.verify(("0", mul_mac_0) in out_4, "pkt1 can't be received by port 0") # remove the multicast address configuration -- 2.17.1