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 9333643E06; Fri, 5 Apr 2024 16:46:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1EC64402CE; Fri, 5 Apr 2024 16:46:19 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 5E7824029C for ; Fri, 5 Apr 2024 16:46:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1712328377; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WOjd5IiI/nnK6ytXyrVuILiz78H+wkOk2bGnZHaaC8E=; b=gwhrnYkirtKxJfaSy/ViREQgAIks2fx5e6MUEFCNbE7SPGnsaHD8B6OBRI/2GOL09OwPf/ VJGf9b+rFF2Jm4knPlvJlVgpHGq7HlVAONF2ZN/ihLRUqqcDsgMT/Ai3hZr+juu0Wt4BSO LWM74tMgKDhTD2IZG61pmbFIeRkWtUo= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-66-TggpSCgYMLmt8705eHCWNQ-1; Fri, 05 Apr 2024 10:46:11 -0400 X-MC-Unique: TggpSCgYMLmt8705eHCWNQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3D5AC88CE02; Fri, 5 Apr 2024 14:46:11 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.225.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id 688AF1C060A4; Fri, 5 Apr 2024 14:46:10 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, ferruh.yigit@amd.com Subject: [PATCH v2 0/8] Fix outer UDP checksum for Intel nics Date: Fri, 5 Apr 2024 16:45:54 +0200 Message-ID: <20240405144604.906695-1-david.marchand@redhat.com> In-Reply-To: <20240405125039.897933-1-david.marchand@redhat.com> References: <20240405125039.897933-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true 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 series aims at fixing outer UDP checksum for Intel nics (i40e and ice). While reviewing the API, I found out some discrepancies in the mbuf documentation that I tried to fix. I also noticed that the net/hns3 is really similar in its internals and aligned its implementation. As I touched testpmd csumonly engine, this series may break other vendors outer offloads, so please vendors, review and test this ASAP. Thanks. -- David Marchand Changes since v1: - fix outer udp checksum for real (*sigh*), David Marchand (8): net/ice: fix check for outer UDP checksum offload net/ice: enhance debug when HW fails to transmit mbuf: fix Tx checksum offload examples app/testpmd: fix outer IP checksum offload net: fix outer UDP checksum in Intel prepare helper net/i40e: fix outer UDP checksum offload for X710 net/iavf: remove outer UDP checksum offload for X710 VF net: clear outer UDP checksum in Intel prepare helper .mailmap | 1 + app/test-pmd/csumonly.c | 31 ++++------- doc/guides/nics/features/iavf.ini | 2 +- doc/guides/prog_guide/mbuf_lib.rst | 22 +++----- drivers/net/hns3/hns3_rxtx.c | 87 ------------------------------ drivers/net/i40e/i40e_ethdev.c | 6 ++- drivers/net/i40e/i40e_rxtx.c | 9 ++++ drivers/net/iavf/iavf_ethdev.c | 5 +- drivers/net/ice/ice_ethdev.c | 29 ++++++++-- drivers/net/ice/ice_rxtx.c | 6 +-- lib/net/rte_net.h | 30 ++++++++++- 11 files changed, 93 insertions(+), 135 deletions(-) -- 2.44.0