From patchwork Mon Mar 7 02:26:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weiyuan Li X-Patchwork-Id: 108560 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 A2F86A034E; Mon, 7 Mar 2022 03:39:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 30DBA4114B; Mon, 7 Mar 2022 03:39:12 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 412EF4068A for ; Mon, 7 Mar 2022 03:39:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646620751; x=1678156751; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=kyw2ys99cC/e9PBe4l+ujqK/gljNJ+x06KQpqmowUlQ=; b=cxtql5Dmt9/WIwC/h3uyrdN8KAQQ9XVve9t9XSKad7OeKH8zR30gsPcc HXdwzosSPnjMm/PYtZ5RNKtpeJDYooF/vIHfCqp7aX7k0K8q0TMFM3YaZ 7l8h1mFI4xLFuAWeho2XQa6ld6ckFQcLud8p2glgVPU45UQgUr+At3suD g2rlAGvw0loEIvDfSI5CfV+lJr/uesN3dTu4e/WtfsVwMmt6ujEsJ2rEu 8AjGif4CQI/sLvUE0b8aGHZIDAyERWMbT+dZElytVF5jIaR78LrzJk9Qn lEDMJ3f5TORXVfTIHGw4zEzwg0ExNTmlRXf7jE+yx6sJyuoblBpAtU1Zh A==; X-IronPort-AV: E=McAfee;i="6200,9189,10278"; a="234890816" X-IronPort-AV: E=Sophos;i="5.90,160,1643702400"; d="scan'208";a="234890816" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2022 18:39:10 -0800 X-IronPort-AV: E=Sophos;i="5.90,160,1643702400"; d="scan'208";a="494898027" Received: from unknown (HELO localhost.localdomain) ([10.239.251.41]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2022 18:39:09 -0800 From: Weiyuan Li To: dts@dpdk.org, yuan.peng@intel.com Cc: Weiyuan Li Subject: [dts][PATCH V1 2/2] test_plan/vf_daemon: sync add step dpdk pf set mtu. Date: Mon, 7 Mar 2022 10:26:28 +0800 Message-Id: <20220307022628.3829950-2-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220307022628.3829950-1-weiyuanx.li@intel.com> References: <20220307022628.3829950-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 --- 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