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 B8083A0351; Thu, 6 Jan 2022 17:13:43 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5E71B41154; Thu, 6 Jan 2022 17:13:43 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 74F0E41152 for ; Thu, 6 Jan 2022 17:13:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1641485621; x=1673021621; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=LIgijjwYksrcXzGROMUB4eXso5IcggWa4blgGfoDVzQ=; b=EEd/FH4j0jJT1hyA6nDuKAyhQmYujx99CFs6nJgb4WKmVfec1p5J07fw 9Ai0uaJoOrOKL1L9ZpLDqQnKKwiINpF5nbfpfVRtcM2DfgG//+FpvdNQO 6gyG3H/4afAoHaWfZkp1xyzlvpeto1hv5OA6Yhw9u40NmzEef5kkIx5xi f/5xr8CCQnr/wR8/YUGDmKB9T9nlJ2F2TO3QAw5sUnsOfsiZMc7pEcOhh DaEeQBgBQUyWFRAVKQYVd747S6MuQsDSAGdwjXVuC5LyMKIxCCdwHWp47 xZeMMWdUGXACeUd5sfyOuC+nX3KO45tQPB/AYi8rZGFhMEMPamplN3JFe g==; X-IronPort-AV: E=McAfee;i="6200,9189,10217"; a="241500741" X-IronPort-AV: E=Sophos;i="5.88,267,1635231600"; d="scan'208";a="241500741" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jan 2022 08:13:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,267,1635231600"; d="scan'208";a="513457474" Received: from dpdk-xiaoyun3.sh.intel.com ([10.67.119.214]) by orsmga007.jf.intel.com with ESMTP; 06 Jan 2022 08:13:20 -0800 From: Xiaoyun Li To: 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 v5 0/2] Add functions to calculate UDP/TCP cksum in mbuf Date: Fri, 7 Jan 2022 00:03:31 +0800 Message-Id: <20220106160333.762686-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 fix the checksum issue with testpmd csum forwarding mode. Xiaoyun Li (2): net: add functions to calculate UDP/TCP cksum in mbuf testpmd: fix l4 sw csum over multi segments --- 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 | 11 ++ lib/net/rte_ip.h | 186 +++++++++++++++++++++++++ 3 files changed, 223 insertions(+), 15 deletions(-) -- 2.25.1