From patchwork Mon Mar 20 18:05:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 125310 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 C05F6427E1; Mon, 20 Mar 2023 11:08:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BC14C410F3; Mon, 20 Mar 2023 11:08:25 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id D767E406BC for ; Mon, 20 Mar 2023 11:08:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679306904; x=1710842904; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=cPkO+dCPmJL6+7zMqHka8Qr6ERZ45VXuJ9d0s49PLWM=; b=iShJOA6sJHP51r315NfBw9stajDBPyK+k8O9hRGgmPnpNfOCdgdB2jVh Y8T/Uz0lAHcLAi8MJ4j0kK045v1y5eMBKGtSHhZeyrQZ8eXJh/Vwt1a0c Oo8EqJCDrbvLwxnwLGupwjFojKtPrl3u8LjID5Obg35xX/b4YxfYBfF34 o6KnNQFV3adcPgIkLkV96kydnSz7XUYztYWtpa9l/UtIGqOKIEXT1jbSp Dcw6289oa0eut1wuTvCYO/k3OhzYsA1dm3nNuqSzipgkN0+aCnOQTg2aS 1fp/evmO/EOCFQZWQtprfoLBNlYJA1wAPiSNizKuw3ec/osl99HDZNkVi w==; X-IronPort-AV: E=McAfee;i="6600,9927,10654"; a="366339385" X-IronPort-AV: E=Sophos;i="5.98,274,1673942400"; d="scan'208";a="366339385" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2023 03:08:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10654"; a="926914598" X-IronPort-AV: E=Sophos;i="5.98,274,1673942400"; d="scan'208";a="926914598" Received: from unknown (HELO localhost.localdomain) ([10.239.252.20]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2023 03:08:22 -0700 From: Song Jiale To: dts@dpdk.org Cc: Song Jiale Subject: [dts] [PATCH V2 1/2] test_plans/ipv4_reassembly: modify script to adapt changes in dpdk Date: Mon, 20 Mar 2023 18:05:02 +0000 Message-Id: <20230320180503.3307034-2-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230320180503.3307034-1-songx.jiale@intel.com> References: <20230320180503.3307034-1-songx.jiale@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 DPDK increase default value for config parameter RTE_LIBRTE_IP_FRAG_MAX_FRAG from 4 to 8. Modify the script to adapt to this change. According to dpdk commit f8e0f8ce90303b("ip_frag: increase default maximum of fragments"). Signed-off-by: Song Jiale --- test_plans/ipv4_reassembly_test_plan.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test_plans/ipv4_reassembly_test_plan.rst b/test_plans/ipv4_reassembly_test_plan.rst index 7f721123..43d18590 100644 --- a/test_plans/ipv4_reassembly_test_plan.rst +++ b/test_plans/ipv4_reassembly_test_plan.rst @@ -153,12 +153,11 @@ Sample command:: .//examples/dpdk-ip_reassembly -c 0x2 -n 4 -- \ -P -p 0x2 --config "(1,0,1)" --maxflows=1024 --flowttl=10s -Sends 1 packet split in 5 fragments while the maximum number of supported -fragments per packet is 4. +Sends 1 frame split in into maximum fragments + 1 fragment, the packet can't be forwarded back. It expects: - - 5 IP packets to be sent to the DUT. + - (maximum fragments + 1 fragment) IP packets to be sent to the DUT. - 0 TCP packets being forwarded back to the TESTER. - 0 packets with a valid TCP checksum.