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 AF3A3A0C4C for ; Tue, 21 Sep 2021 16:50:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 896D74003C; Tue, 21 Sep 2021 16:50:25 +0200 (CEST) Received: from mail-il1-f182.google.com (mail-il1-f182.google.com [209.85.166.182]) by mails.dpdk.org (Postfix) with ESMTP id 76A3F4003C for ; Tue, 21 Sep 2021 16:50:24 +0200 (CEST) Received: by mail-il1-f182.google.com with SMTP id x2so22928320ila.11 for ; Tue, 21 Sep 2021 07:50:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xb/MpAVCXQ/Zi0MEOvlsxvdEgptMz4oPJb7B2Gy/d0g=; b=KL8xAUN8jZdGlfd+2iq0QqFx3v0GpFY4DCTNPCU/Jd8XVVKW3ws417tBlFQJ5HPi78 9hGDMZTNL/TLvPdcou/GzVC6nIThQyK5wC5Vl3A6Re3Sj1rkBwBWucQlrhpgrrQ/dvJK 9nga69iRZkF4ryYEGMotBpUv3/40ldBX4QmJc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xb/MpAVCXQ/Zi0MEOvlsxvdEgptMz4oPJb7B2Gy/d0g=; b=OF8loGf0hakvHSINyvQ1X/rNTvao87n15jOB4k/DKOh/CusnN/FuJaLCRqnDE4kA5t i5uf3br41mw8eZtz1FRJ0RXjcq2rECzwq79D2eULzPO+dZcHW6xMQWrD2eozVKbm+HOi Xdmdkn87qfBm9s3KBkGrU1L2xbrA02O8mjMCzl02+5fBZUvyhWd6M+iRv5QkIin50KyG N92Sis6Kgy8UOp4/fLaOCmVhi2sv815ptXFy7c0BLynl+3zZ/PQhxq2RA7DCoti7ggCA c+aBbywfr2DioIbZadvnqveU6WeiqBbKWzCk4lqikh7ZpQW1f8lLjhc9BTHa3QSE0w1z IS3A== X-Gm-Message-State: AOAM531EkXAYEDSpi/LwPlaM2rzN7zPsJ6+Zxjm6j1D6U5Lwt9gy4HQb 6nv5ISHhIlWbQPrtBEjDdU8wqhjv5Dsbj2unXd5l4w== X-Google-Smtp-Source: ABdhPJy070kzfcl4kWUN6OGNttdrGJwZNIDMwmeHub5grTjXl0JJhHaRj2E4TF+7OTKPBqXgPup7X+375DDj2LJxYFw= X-Received: by 2002:a05:6e02:18cf:: with SMTP id s15mr6198408ilu.186.1632235823704; Tue, 21 Sep 2021 07:50:23 -0700 (PDT) MIME-Version: 1.0 References: <20210916161040.346703-1-lance.richardson@broadcom.com> <98CBD80474FA8B44BF855DF32C47DC35C61A92@smartserver.smartshare.dk> <38a087e1-67dc-f313-6dd6-4ce63a51be50@intel.com> <98CBD80474FA8B44BF855DF32C47DC35C61A9B@smartserver.smartshare.dk> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35C61A9B@smartserver.smartshare.dk> From: Lance Richardson Date: Tue, 21 Sep 2021 10:50:12 -0400 Message-ID: To: =?UTF-8?Q?Morten_Br=C3=B8rup?= Cc: Ferruh Yigit , dev , dpdk stable , Olivier Matz , Konstantin Ananyev , Andrew Rybchenko Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="0000000000007a443205cc82845c" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] net: fix checksum API documentation X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" --0000000000007a443205cc82845c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Sep 21, 2021 at 6:11 AM Morten Br=C3=B8rup wrote: > Ferruh, the description of the return value is technically correct; it me= ntions the IP packet, not the IP header. > So this change is a clarification only. > > However, I agree that the same clarification would also benefit 'rte_ipv4= _udptcp_cksum()'. > Sure, will fix in v2. Also for rte_ipv4_udptcp_cksum(), a comment says "The IP and layer 4 checksum must be set to zero", but only the layer 4 checksum actually needs to be set to zero. I'll fix that at the same time. Thanks, Lance --0000000000007a443205cc82845c--