From patchwork Mon Mar 7 03:15:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weiyuan Li X-Patchwork-Id: 108562 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 28690A034D; Mon, 7 Mar 2022 04:27:46 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4DB48410FC; Mon, 7 Mar 2022 04:27:45 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id C34E8410FC for ; Mon, 7 Mar 2022 04:27:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646623663; x=1678159663; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=tyihLEmiWQrLvHiew926IeuqLZrFg9rRXZUF3a4I1hA=; b=nrHNoE6q177qMFEAHIBNCry/52zSlEV0D29T5YR34NXMh/F7tlra72Yd pkhJVwqyjNYymUHqFcsAnvM8PSmodFLAzcjow+silPUU71jOJXRJniFX5 Em3cEoBwehAf3SKO82/3oJUud4U2Lhk2srY4HA6sf6lpd8/P7WbURJcyn dfhnDvagMCyqRtB6rRiNeKYXpA91tNyWa0wab0fPj371+b9pP/C/Ch45R WJBkUhZj7Vd0BAZDnYiXwBpmfr/MrxHNS2zripCYFfrM0Fnu6JarDmb2d VyA9di+7uxphlijdu0XH590XBk7Jia0F9ow2EcBDn4dEO9sky8QsnYJIh g==; X-IronPort-AV: E=McAfee;i="6200,9189,10278"; a="234243624" X-IronPort-AV: E=Sophos;i="5.90,160,1643702400"; d="scan'208";a="234243624" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2022 19:27:43 -0800 X-IronPort-AV: E=Sophos;i="5.90,160,1643702400"; d="scan'208";a="552962926" Received: from unknown (HELO localhost.localdomain) ([10.239.251.41]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2022 19:27:41 -0800 From: Weiyuan Li To: dts@dpdk.org, yuan.peng@intel.com Cc: Weiyuan Li Subject: [dts][PATCH V2 2/2] test_plan/vf_daemon: sync add step dpdk pf set mtu. Date: Mon, 7 Mar 2022 11:15:02 +0800 Message-Id: <20220307031502.3830438-2-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220307031502.3830438-1-weiyuanx.li@intel.com> References: <20220307031502.3830438-1-weiyuanx.li@intel.com> 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 Sync test plan add step dpdk pf set mtu value. Signed-off-by: Weiyuan Li --- v2: -Modify comment description. test_plans/vf_daemon_test_plan.rst | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/test_plans/vf_daemon_test_plan.rst b/test_plans/vf_daemon_test_plan.rst index cb7fb41d..42c679ac 100644 --- a/test_plans/vf_daemon_test_plan.rst +++ b/test_plans/vf_daemon_test_plan.rst @@ -301,23 +301,29 @@ Test Case 9: Show/Clear stats for VF from PF Test Case 10: enhancement to identify VF MTU change =================================================== -1. Set VF0 in mac forwarding mode and start testpmd +1. Set DPDK PF mtu size is 9000. -2. Default mtu size is 1500, send one packet with length bigger than default + testpmd> port stop all + testpmd> port config mtu 0 9000 + testpmd> port start all + +2. Set VF0 in mac forwarding mode and start testpmd + +3. Default mtu size is 1500, send one packet with length bigger than default mtu size, such as 2000 from tester, check VF0 can receive but can't transmit packet -3. Set VF0 mtu size as 3000, but need to stop then restart port to active mtu:: +4. Set VF0 mtu size as 3000, but need to stop then restart port to active mtu:: testpmd> port stop all testpmd> port config mtu 0 3000 testpmd> port start all testpmd> start -4. Send one packet with length 2000 from tester, check VF0 can receive and +5. Send one packet with length 2000 from tester, check VF0 can receive and transmit packet -5. Send one packet with length bigger than configured mtu size, such as 5000 +6. Send one packet with length bigger than configured mtu size, such as 5000 from tester, check VF0 can receive but can't transmit packet