From patchwork Fri Jun 10 05:15:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 112641 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6B3FAA0557; Fri, 10 Jun 2022 07:15:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 16A1C40689; Fri, 10 Jun 2022 07:15:59 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id BD29340221 for ; Fri, 10 Jun 2022 07:15:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654838157; x=1686374157; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=TpQmjntl5TJBCtt+1SSq2hHx7K5iRIQ3tE0GknKH7/o=; b=S2M+p1IPEpricF9fzfs3YA6OBcmAo65kTaLKfk33JJq5kc2szBbwqZdr agS2SlRpxJdXe5ZPBSwYW1bSvaTJavlNWSGaR0c/PO2JqW+3FgW9BlxCG cgTe0I7Jp7xP3q56gDeQpjsmZutOSblkRg99uF9G0p5L/cmgtnKDxKBMP JKo+Yv8T5jS41louOwCWeYwuEjJqGn8VWKMahwWSBuG2Ujxr7vFhtGlnE N0hkcXwk7SI7NcEL5xGNcQ/EPUCgS65oj8P9y+Ac1UuIx39munXmYBj6k x+L5wVbESq59LPDsm1RPxtAlLqM92HpHS57wGg8EcEU127KF9U+Vr7n+s A==; X-IronPort-AV: E=McAfee;i="6400,9594,10373"; a="302891475" X-IronPort-AV: E=Sophos;i="5.91,288,1647327600"; d="scan'208";a="302891475" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jun 2022 22:15:52 -0700 X-IronPort-AV: E=Sophos;i="5.91,288,1647327600"; d="scan'208";a="637936632" Received: from unknown (HELO daily-regression-131.intel.com) ([10.239.251.131]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jun 2022 22:15:51 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1] tests/generic_flow_api: add ICE nic to checklist and check link status Date: Fri, 10 Jun 2022 13:15:48 +0800 Message-Id: <20220610051548.890350-1-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 fix 2 issue: 1."jumbo_frame_size" is designed for NIC (82599, I350, 82576 and 82580) in testplan, so ICE NIC not support this case, add to checklist. 2.confirm that the port link status is up before sending the package. Signed-off-by: Jiale Song --- conf/test_case_checklist.json | 5 ++++- tests/TestSuite_generic_flow_api.py | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.json index 053841ce..b3fd5c1f 100644 --- a/conf/test_case_checklist.json +++ b/conf/test_case_checklist.json @@ -126,7 +126,10 @@ "cavium_a011", "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", - "I40E_10G-10G_BASE_T_BC" + "I40E_10G-10G_BASE_T_BC", + "ICE_100G-E810C_QSFP", + "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP" ], "Target": [ "ALL" diff --git a/tests/TestSuite_generic_flow_api.py b/tests/TestSuite_generic_flow_api.py index 1f1c5d0f..0e414bbf 100644 --- a/tests/TestSuite_generic_flow_api.py +++ b/tests/TestSuite_generic_flow_api.py @@ -4887,6 +4887,7 @@ class TestGeneric_flow_api(TestCase): "created", ) + self.pmdout.wait_link_status_up(0) self.sendpkt( pktstr='Ether(dst="%s")/IP(src="2.2.2.5",dst="2.2.2.4")/TCP(dport=80,flags="S")/Raw(load="\x50"*8962)' % self.pf_mac