From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5A715A00C2; Wed, 4 Jan 2023 08:22:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 83781410EA; Wed, 4 Jan 2023 08:22:34 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 7714C40697 for ; Wed, 4 Jan 2023 08:22:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672816952; x=1704352952; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=HnSTSaKbDKE4UjHOzTUIMwXurEnTH+W9SvbBEpsFtpc=; b=LYAMPbt88xZ3C2UjzG7NLJHiHwkgyaHDUrj3eX9mFZT1wrRI9NQ+jYn6 FA6htuNA7ArvxJE1eH5QUm9sFcEH7irGYwRovdxr0qd8sYZvItd1vQEyt SZtpkTcz8r2iQhlZUanRyxaAsc8cCHoU9TGT1cVhWE0Wv88yACcuxPwqP 8qWsDznJx06x5E/QQFdLePWS/0bWnYedhww4azvFyJmVGSWwmzInqxYSs QwyZ62SxBSEToi3qvUeX2zRY47H59QQt6cd8PErGZdlN6kWs/3CsnQPZz wgI4T9VgfmNahFApkq/LW/q9dIzvQ1Kaw/DtdvlZS6gZrW5t38WE0Mn2M A==; X-IronPort-AV: E=McAfee;i="6500,9779,10579"; a="321928100" X-IronPort-AV: E=Sophos;i="5.96,299,1665471600"; d="scan'208";a="321928100" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jan 2023 23:22:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10579"; a="657022759" X-IronPort-AV: E=Sophos;i="5.96,299,1665471600"; d="scan'208";a="657022759" Received: from dpdk-xuke-lab.sh.intel.com ([10.67.119.8]) by fmsmga007.fm.intel.com with ESMTP; 03 Jan 2023 23:22:30 -0800 From: Ke Xu To: dts@dpdk.org Cc: lijuan.tu@intel.com, yuan.peng@intel.com, ke1.xu@intel.com Subject: [DTS][PATCH V3 1/3] test_plans/vf_offload: fix wrong example packets. Date: Wed, 4 Jan 2023 15:20:51 +0800 Message-Id: <20230104072053.86366-2-ke1.xu@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230104072053.86366-1-ke1.xu@intel.com> References: <20230104072053.86366-1-ke1.xu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Here we are to use TCP packets for TSO but UDP is listed in the test plan. Signed-off-by: Ke Xu --- test_plans/vf_offload_test_plan.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test_plans/vf_offload_test_plan.rst b/test_plans/vf_offload_test_plan.rst index f1720e41..4a4e49f6 100644 --- a/test_plans/vf_offload_test_plan.rst +++ b/test_plans/vf_offload_test_plan.rst @@ -445,11 +445,11 @@ Launch the userland ``testpmd`` application on DUT as follows:: Test IPv4() in scapy:: - sendp([Ether(dst="%s", src="52:00:00:00:00:00")/IP(src="192.168.1.1",dst="192.168.1.2")/UDP(sport=1021,dport=1021)/Raw(load="\x50"*%s)], iface="%s") + sendp([Ether(dst="%s", src="52:00:00:00:00:00")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/Raw(load="\x50"*%s)], iface="%s") Test IPv6() in scapy:: - sendp([Ether(dst="%s", src="52:00:00:00:00:00")/IPv6(src="FE80:0:0:0:200:1FF:FE00:200", dst="3555:5555:6666:6666:7777:7777:8888:8888")/UDP(sport=1021,dport=1021)/Raw(load="\x50"*%s)], iface="%s") + sendp([Ether(dst="%s", src="52:00:00:00:00:00")/IPv6(src="FE80:0:0:0:200:1FF:FE00:200", dst="3555:5555:6666:6666:7777:7777:8888:8888")/TCP(sport=1021,dport=1021)/Raw(load="\x50"*%s)], iface="%s") Test case: csum fwd engine, use tunnel TSO @@ -497,9 +497,9 @@ Launch the userland ``testpmd`` application on DUT as follows:: Test IPv4() in scapy:: for one_outer_packet in outer_packet_list: - sendp([Ether(dst="%s", src="52:00:00:00:00:00")/one_outer_packet/IP(src="192.168.1.1",dst="192.168.1.2")/UDP(sport=1021,dport=1021)/Raw(load="\x50"*%s)], iface="%s") + sendp([Ether(dst="%s", src="52:00:00:00:00:00")/one_outer_packet/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/Raw(load="\x50"*%s)], iface="%s") Test IPv6() in scapy:: for one_outer_packet in outer_packet_list: - sendp([Ether(dst="%s", src="52:00:00:00:00:00")/one_outer_packet/IPv6(src="FE80:0:0:0:200:1FF:FE00:200", dst="3555:5555:6666:6666:7777:7777:8888:8888")/UDP(sport=1021,dport=1021)/Raw(load="\x50"*%s)], iface="%s") + sendp([Ether(dst="%s", src="52:00:00:00:00:00")/one_outer_packet/IPv6(src="FE80:0:0:0:200:1FF:FE00:200", dst="3555:5555:6666:6666:7777:7777:8888:8888")/TCP(sport=1021,dport=1021)/Raw(load="\x50"*%s)], iface="%s") -- 2.25.1