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 ACE4CA0032; Fri, 24 Jun 2022 08:57:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A5B0B40A8A; Fri, 24 Jun 2022 08:57:57 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 2C70B40A82 for ; Fri, 24 Jun 2022 08:57:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656053876; x=1687589876; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=OO3l9zONLOkNlBLyhqm+BF3+jDP5sPGXYddFKMMhtyM=; b=lDDsPux8U44wLMUk6BH9BkdDPCDnLailj0k0Am6QM9V1VO2ns5YG8VTW rT7Fdp6My45qYVAncayBrr5QdxKm83cOCe3ke01mUGqyv2yJMTgaNHf8B 63AgaUVq2o8xh3A5gU/D+42w27Zvht1C5trQoJnWSJYmGNXZ4AdZs9xwz La+EZC2K3t3u41kAvKuxpt/rH6CrWssqAQqZsU4rfCfVXaG3AYcnia1z5 6MQPO/X9kNX2xdFwE3Zs14CIOanIsx7zanJgq0rsVwz8OPt3fc4Yj8U4n JdBhHVZlIPE1QqTl4jZaX2+TeRZb5nAw14496/l+KoqYpx9SLwCDjmwOa A==; X-IronPort-AV: E=McAfee;i="6400,9594,10387"; a="269667779" X-IronPort-AV: E=Sophos;i="5.92,218,1650956400"; d="scan'208";a="269667779" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jun 2022 23:57:55 -0700 X-IronPort-AV: E=Sophos;i="5.92,218,1650956400"; d="scan'208";a="621626386" Received: from unknown (HELO localhost.localdomain) ([10.239.252.222]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jun 2022 23:57:54 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 1/2] test_plans/virtio_user_as_exceptional_path_test_plan: delete modify dpdk code content Date: Fri, 24 Jun 2022 02:55:20 -0400 Message-Id: <20220624065520.2832886-1-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=y 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 According to the dpdk commit 1945c64674(app/testpmd: perform SW IP checksum for GRO/GSO packets) and commit 8ba1723783(net/vhost: perform SW checksum in Tx path), no need to modify DPDK code to test. Signed-off-by: Wei Ling --- ...virtio_user_as_exceptional_path_test_plan.rst | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/test_plans/virtio_user_as_exceptional_path_test_plan.rst b/test_plans/virtio_user_as_exceptional_path_test_plan.rst index e1d2feb2..81399ea2 100644 --- a/test_plans/virtio_user_as_exceptional_path_test_plan.rst +++ b/test_plans/virtio_user_as_exceptional_path_test_plan.rst @@ -10,22 +10,6 @@ This test plan will test exceptional path with virtio_user and measure throughpu Prerequisites ============= -Modify the testpmd code as following:: - - --- a/app/test-pmd/csumonly.c - +++ b/app/test-pmd/csumonly.c - @@ -693,10 +693,12 @@ pkt_burst_checksum_forward(struct fwd_stream *fs) -                  * and inner headers */ -                 eth_hdr = rte_pktmbuf_mtod(m, struct ether_hdr *); - +#if 0 -                 ether_addr_copy(&peer_eth_addrs[fs->peer_addr], -                                 ð_hdr->d_addr); -                 ether_addr_copy(&ports[fs->tx_port].eth_addr, -                                 ð_hdr->s_addr); - +#endif -                 parse_ethernet(eth_hdr, &info); -                 l3_hdr = (char *)eth_hdr + info.l2_len; - Test Case1:test exceptional path with virtio_user ================================================= Flow:tap0-->vhost-net-->virtio_user-->nic0-->nic1 -- 2.25.1