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 C9968A00BE; Tue, 28 Apr 2020 12:15:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B9B0F1D58C; Tue, 28 Apr 2020 12:15:24 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 193A41D593 for ; Tue, 28 Apr 2020 12:15:23 +0200 (CEST) IronPort-SDR: eXaxiBzTYRBnsnoDRuMP3udE9qu3IavubHUnZbMpFmvGUJUs+i7YNvliLUACNS5LBelJk1fvFk VoTaoMEXeXKA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2020 03:15:23 -0700 IronPort-SDR: C2A5QVZlcXeQmxbT+kNKDOv9PqipWzeQDMI+I9Wid9I0jN80KG7hCVCekjim0qEZqeF057SQZt PJvjPpy6D6Fg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,327,1583222400"; d="scan'208";a="246460370" Received: from unknown (HELO dpdk-test60-xueqin.sh.intel.com) ([10.67.117.106]) by orsmga007.jf.intel.com with ESMTP; 28 Apr 2020 03:15:22 -0700 From: Xueqin Lin To: dts@dpdk.org Cc: Xueqin Lin Date: Tue, 28 Apr 2020 00:16:49 -0400 Message-Id: <1588047409-91262-1-git-send-email-xueqin.lin@intel.com> X-Mailer: git-send-email 2.5.5 Subject: [dts] [PATCH 1/3] test_plan/shutdown_api: add rx/tx descriptor status test plan 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" Signed-off-by: Xueqin Lin --- test_plans/shutdown_api_test_plan.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test_plans/shutdown_api_test_plan.rst b/test_plans/shutdown_api_test_plan.rst index 83a495a..f92b08f 100644 --- a/test_plans/shutdown_api_test_plan.rst +++ b/test_plans/shutdown_api_test_plan.rst @@ -245,3 +245,12 @@ Test Case: link stats 7. Run ``set link-up port X`` to set all port link up 8. Start packet generator to transmit and receive packets successfully. + +Test Case: RX/TX descriptor status +---------------------------------- + +1. Lauch testpmd with rx/tx queue number ``--txq=16 --rxq=16`` and rx/tx descriptor size ``--txd=4096 --rxd=4096`` +2. Run ``show port 0 rxq * desc * status`` to check rx descriptor status. +3. Check rx descriptor status can be ``AVAILABLE``, ``DONE`` or ``UNAVAILABLE``. +4. Run ``show port 0 txq * desc * status`` to check tx descriptor status. +5. Check tx descriptor status can be ``FULL``, ``DONE`` or ``UNAVAILABLE``. -- 2.7.5