From patchwork Thu Apr 13 05:33:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhichao Zeng X-Patchwork-Id: 125975 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 2B68C4292D; Thu, 13 Apr 2023 07:28:23 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0139040A84; Thu, 13 Apr 2023 07:28:23 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id B1B2B4021F for ; Thu, 13 Apr 2023 07:28:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681363701; x=1712899701; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=C7CNdUseVdPsw1SKD6MOTi+DJBBK+b2Tw3n/M3oySvE=; b=j70SAQsxoL2PF5nWYYA4Vzhuzx5jhHISluSvvCXkkuiB83WOs/HvQ1f8 Po8P3gV6gcapbFclOu7rq0H+Eny2KFI25IKyNmvldtUEOUQDMN2+coU6V 1XgtdjFm8Fxa8CcQW6HUfcOw0NLLzavIp9CQeDZq2IQAYTc4jFDuGFC6N 1RgSw4rQy9uFOkLpEW8dv9vV0WshKao4eutQXbVsNC5xacUV2jmbdtTHg uHmkl09lI6wPfXJ/PXcpDTesnXpsRegW95PcIDK4G6neCEuwiHmga6WIU D5WAVwlEGCI+En5IKLH3U9R55MNx9rcQKhVBELJvZ0+Pf3KxexXbWHqH6 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10678"; a="406929329" X-IronPort-AV: E=Sophos;i="5.98,339,1673942400"; d="scan'208";a="406929329" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2023 22:28:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10678"; a="691793488" X-IronPort-AV: E=Sophos;i="5.98,339,1673942400"; d="scan'208";a="691793488" Received: from unknown (HELO localhost.localdomain) ([10.239.252.103]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2023 22:28:19 -0700 From: Zhichao Zeng To: dev@dpdk.org Cc: Zhichao Zeng Subject: [PATCH 0/4] support UDP fragmentation offload Date: Thu, 13 Apr 2023 13:33:37 +0800 Message-Id: <20230413053337.4190536-1-zhichaox.zeng@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 This patch set supports UDP fragmentation offload for ice and iavf. Zhichao Zeng (4): net: calculate correct UDP pseudo header for UFO app/testpmd: support UFO in checksum engine net/ice: enable UDP fragmentation offload net/iavf: enable UDP fragmentation offload app/test-pmd/csumonly.c | 17 ++++++++++++----- drivers/net/iavf/iavf_rxtx.c | 2 +- drivers/net/iavf/iavf_rxtx.h | 2 ++ drivers/net/ice/ice_rxtx.c | 15 ++++++++++++--- lib/net/rte_ip.h | 4 ++-- lib/net/rte_net.h | 5 +++-- 6 files changed, 32 insertions(+), 13 deletions(-) Tested-by: Ke Xu