From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 908BFA0524; Fri, 27 Nov 2020 04:22:05 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7ED91CAA1; Fri, 27 Nov 2020 04:22:04 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 8A278CA9E for ; Fri, 27 Nov 2020 04:22:01 +0100 (CET) IronPort-SDR: COJOCEptUaDk1CqRiE82bq7QKazVLk+ijUVXbCS0ivrSoAeuBQlIjnkInO1h0Vytj72/LNyWAE Y4Oteu+HzhPw== X-IronPort-AV: E=McAfee;i="6000,8403,9817"; a="151602070" X-IronPort-AV: E=Sophos;i="5.78,373,1599548400"; d="scan'208";a="151602070" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Nov 2020 19:21:59 -0800 IronPort-SDR: zHM1tzlO15n9uHw8RrSpSr7ecyYSR+hilN0ykWOjMcj1U5izC+LRkEgqawrBqPE4ytzGDVmg0U svIdW2mKDKaw== X-IronPort-AV: E=Sophos;i="5.78,373,1599548400"; d="scan'208";a="479547407" Received: from unknown (HELO dpdk-huangzm-d.sh.intel.com) ([10.240.183.72]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Nov 2020 19:21:57 -0800 From: Zhimin Huang To: dts@dpdk.org Cc: qi.fu@intel.com, Zhimin Huang Date: Fri, 27 Nov 2020 11:14:26 +0800 Message-Id: <1606446868-1725-2-git-send-email-zhiminx.huang@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1606446868-1725-1-git-send-email-zhiminx.huang@intel.com> References: <1606446868-1725-1-git-send-email-zhiminx.huang@intel.com> Subject: [dts] [PATCH V1 1/3] tests/TestSuite_flexible_rxd:add flexible rxid 22 case X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "dts" *.add rxid 22 case into flexible_rxd suite. Signed-off-by: Zhimin Huang --- tests/TestSuite_flexible_rxd.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_flexible_rxd.py b/tests/TestSuite_flexible_rxd.py index 733c62e..6ce0a09 100644 --- a/tests/TestSuite_flexible_rxd.py +++ b/tests/TestSuite_flexible_rxd.py @@ -34,7 +34,7 @@ import time from test_case import TestCase from flexible_common import FlexibleRxdBase - +import rte_flow_common as rfc class TestFlexibleRxd(TestCase, FlexibleRxdBase): @@ -85,12 +85,17 @@ class TestFlexibleRxd(TestCase, FlexibleRxdBase): self.pci = self.dut.ports_info[0]['pci'] self.dst_mac = self.dut.get_mac_address(self.dut_ports[0]) self.init_base(self.pci, self.dst_mac, 'pf') + self.ddp_dir = "/lib/firmware/updates/intel/ice/ddp/" + self.suite_config = rfc.get_suite_config(self) + self.os_default_pkg = self.suite_config["os_default_package_file_location"] + self.comms_pkg = self.suite_config["comms_package_file_location"] def tear_down_all(self): """ Run after each test suite. """ self.restore_compilation() + self.replace_pkg(pkg='comms') def set_up(self): """ @@ -213,3 +218,9 @@ class TestFlexibleRxd(TestCase, FlexibleRxdBase): check ip offset with multi MPLS with 2 vlan tag """ self.check_ip_offset_with_multi_MPLS_with_2_vlan_tag() + + def test_check_effect_replace_pkg_RXID_22_to_RXID_16(self): + """ + Check replace pkg RXID #22 to RXID #16 effect of testpmd + """ + self.check_effect_replace_pkg_RXID_22_to_RXID_16() \ No newline at end of file -- 1.8.3.1