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 BED92A04A7; Mon, 24 Jan 2022 13:39:47 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 998C241142; Mon, 24 Jan 2022 13:39:47 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 40D1D40E0F for ; Mon, 24 Jan 2022 13:39:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643027986; x=1674563986; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=22KuwSD+HwuGFCuO2Q3PJxRXUbA5XgtCvsQrUyYyFTA=; b=jzAeBEhnDIqlbFN9pfcBGGg1Mb9wqnTyFQd7xHgSXaCRSEbFu/yJsDtI eZ7/3KCSs7h0qbIQzJb/T4jHBv1bCJfyuBhmFShLooANe3U6cu5WWu5+c AQDUtMQOwpF6L6T9rPTBd+Hr9SeU4jzqkoKIR1cxFbwjoG1CCNfYhNeaA BDr6GG1IuJwArcHvkc78TX/rlwMajIRUO3QhdIf5maxApnFmyAZ9wxTOw 3vnApW+wWQfdk988Hht9RcV+oIFfOR0t3jrtaUI5f/Y+o1cxGQAbvHszM JHVYMsFZPu/EQ/B0LcpITHXYxSuPSr1Ow8ZkgXREPyNVGE3nBtnIBF38J g==; X-IronPort-AV: E=McAfee;i="6200,9189,10236"; a="309354961" X-IronPort-AV: E=Sophos;i="5.88,311,1635231600"; d="scan'208";a="309354961" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jan 2022 04:39:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,311,1635231600"; d="scan'208";a="695408419" Received: from dpdk-xiaoyun3.sh.intel.com ([10.67.119.214]) by orsmga005.jf.intel.com with ESMTP; 24 Jan 2022 04:39:42 -0800 From: Xiaoyun Li To: ktraynor@redhat.com, Aman.Deep.Singh@intel.com, ferruh.yigit@intel.com, olivier.matz@6wind.com, mb@smartsharesystems.com, konstantin.ananyev@intel.com, stephen@networkplumber.org, vladimir.medvedkin@intel.com Cc: dev@dpdk.org, Xiaoyun Li Subject: [PATCH v6 0/2] Add functions to calculate UDP/TCP cksum in mbuf Date: Mon, 24 Jan 2022 20:28:55 +0800 Message-Id: <20220124122857.1104668-1-xiaoyun.li@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211015051306.320328-1-xiaoyun.li@intel.com> References: <20211015051306.320328-1-xiaoyun.li@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Added functions to calculate UDP/TCP checksum for packets which may be over multi-segments and called the functions in testpmd csum forwarding mode to support UDP/TCP sotfware checksum over multi-segments. Xiaoyun Li (2): net: add functions to calculate UDP/TCP cksum in mbuf app/testpmd: enable L4 SW csum over multi segments --- v6: * Fixed testpmd patch name issue. * Added release note for enabling L4 SW checksum in testpmd. * Added Ferruh's Acked-by tag. v5: * Fixed commit log intendation issue. * Removed added inline experimental APIs in version.map to fix windows * linkage issue. * Added Sunil's Tested-by tag and Aman's Acked-by tag. v4: * Called rte_raw_cksum_mbuf() to calculate cksum in lib instead of * implementing it in testpmd for better maintenance. * Removed fix tag for testpmd since it relies on the lib change. v3: * Use rte_raw_cksum() for multi-segs case instead of copying the whole * packet. v2: * Use static stack memory instead of dynamic allocating in datapath. --- app/test-pmd/csumonly.c | 41 ++++-- doc/guides/rel_notes/release_22_03.rst | 13 ++ lib/net/rte_ip.h | 186 +++++++++++++++++++++++++ 3 files changed, 225 insertions(+), 15 deletions(-) -- 2.25.1