From patchwork Thu Nov 26 16:36:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Fu, Qi" X-Patchwork-Id: 84564 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 91E90A0524; Thu, 26 Nov 2020 08:50:43 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 41516C93C; Thu, 26 Nov 2020 08:50:42 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 8E3B2C928 for ; Thu, 26 Nov 2020 08:50:39 +0100 (CET) IronPort-SDR: luNJdmh/TCoXfOkU26NJ3Fk9he7ppd1TnCEuW7DpVU4f2VBXpgydJT5f9+jX7h4Md5x0/hjY9t 6yfQIBScwqbA== X-IronPort-AV: E=McAfee;i="6000,8403,9816"; a="159297434" X-IronPort-AV: E=Sophos;i="5.78,371,1599548400"; d="scan'208";a="159297434" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Nov 2020 23:50:37 -0800 IronPort-SDR: 2HA8PsKMyLi7EuxdhPYHBcRBgDYQWI/q0JZLMO8tptUj6BbeONRbQBZcmA3W/TvNBLUai6iLs+ jMu2lkzL/Sjg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,371,1599548400"; d="scan'208";a="371058257" Received: from dpdk-qifu-cxl.sh.intel.com ([10.67.119.67]) by orsmga007.jf.intel.com with ESMTP; 25 Nov 2020 23:50:35 -0800 From: qifu To: dts@dpdk.org Cc: qifu Date: Thu, 26 Nov 2020 11:36:58 -0500 Message-Id: <20201126163658.35222-1-qi.fu@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1]test_plans/flexible_rxd_test_plan: add flexible descriptor RXID #22 test 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 flexible descriptor RXID #22 test case this feature can be covered by regression test cases, just need to add 1 new case. Check effect of replacing pkg from RXID #22 to RXID #16. Signed-off-by: qifu --- test_plans/flexible_rxd_test_plan.rst | 33 ++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/test_plans/flexible_rxd_test_plan.rst b/test_plans/flexible_rxd_test_plan.rst index 49850022..1520d5f6 100644 --- a/test_plans/flexible_rxd_test_plan.rst +++ b/test_plans/flexible_rxd_test_plan.rst @@ -340,4 +340,35 @@ Expected output in testpmd:: Receive queue=0x3f doff=5 - flags=AS \ No newline at end of file + flags=AS + + +Test Case 12: Check effect of replacing pkg from RXID #22 to RXID #16 +===================================================================== + +Put the ice.pkg with RXID #16(ice-1.3.7.0.pkg and more) to /lib/firmware/updates/intel/ice/ddp/ice.pkg, then reload ice driver:: + + rmmod ice + modprobe ice + +Make sure the new ice.pkg is different with the original one. Take 'dmesg' command to get ice.pkg version:: + + dmesg | grep package + +Start the testpmd:: + + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xff -n 4 -- -i --rxq=64 --txq=64 + +Check the testpmd started failed. Failed info output:: + + Port (0) - Rx queue (0) is set with RXDID : 16 + ice_rx_queue_start(): fail to program RX queue 0 + ice_dev_start(): fail to start Rx queue 0 + Fail to start port 0 + Please stop the ports first + Port (0) - Rx queue (0) is set with RXDID : 16 + +Replace correct ice.pkg to /lib/firmware/updates/intel/ice/ddp/ice.pkg,then reload ice driver:: + + rmmod ice + modprobe ice.ko