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 C8E88A0505; Wed, 23 Mar 2022 15:57:46 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 78933427F6; Wed, 23 Mar 2022 15:57:46 +0100 (CET) Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by mails.dpdk.org (Postfix) with ESMTP id 80BEE41140 for ; Wed, 23 Mar 2022 15:57:45 +0100 (CET) Received: by mail-pj1-f42.google.com with SMTP id bx24-20020a17090af49800b001c6872a9e4eso2045358pjb.5 for ; Wed, 23 Mar 2022 07:57:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=aloq5ZxQ5tI80RxISFPJiTtLMiI32eM0u16G9MkuzTY=; b=PFvlxRlNtNfWQqfXoE/qovc6sGH4u2pz4Y5xr205cMFPXp3XxOUxVNFN75m2/+rj6y BQKilSIfrxiz8wr65O1zhcSjzUWFcvOpranQRqsybrl8y8A1vp0f61xJXNHuFY69gtls JN9MVFWiA+0grHv3HzPFCckd1d8f9XAZJR9JyK5afo98LIwos3KQvYeNsUyG6ZTDl144 Vd6Vx7oMjOKky+U4toNMfnTfhy84sj2FZirIKtB0/rI+rdJI7CviULH37gPzdptD9+Ru rnFZ4uml3Ikh/deETIXd60uD9TaeayywOfEW49mZtboMH3ondXUdFE0v+f0gjJvmTBwk m/dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aloq5ZxQ5tI80RxISFPJiTtLMiI32eM0u16G9MkuzTY=; b=QAlQx7iF4Yo85u5RUE26Db8jCjuxP5d98H/FuDWKu+aUUDfXHgAkQOymuU+Tu0ma0b BUR0jHkz18hTkbcywjNY+6fvhrQtO+1VH+ZjG1YNm+Jyx4798f0XRpIojVIsV8vJX8xY d8l4uqPk/S69MzX+kcttWgkFnxI9xuhvxGZmEl+0dvq6NSIJX8OUo8sb7JtclrAmSQiz TF9KZtb0TkotgKPKN/IKWrHDKQoMzoRzMSfnvpL2zFeDdpvW6LBWICAoGZhkd94pabVu l89ZebvwU98aA2zj2SVq+9YZOkKg1NxGG4+DqJGzo7UxDLzqkh5n6X2Z+9qI8nl4f9fK 3fKg== X-Gm-Message-State: AOAM533Nn6WylYnIrvSjel0YAoJ6XS98+Y2FG8v+4nIXG0GVHuEWJVbE pTgVfaKC/qpa5qBXXTLymC/FRg== X-Google-Smtp-Source: ABdhPJxapkZIJjjqWq2WT1YLAiNbnEUwfG8cBUYpvw74UBTzv8ljEAzOqbTZ7vVNQP5KoNQXChygGg== X-Received: by 2002:a17:90b:4c8c:b0:1c6:f86d:a6f5 with SMTP id my12-20020a17090b4c8c00b001c6f86da6f5mr12174445pjb.15.1648047464222; Wed, 23 Mar 2022 07:57:44 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id u10-20020a6540ca000000b0037445e95c93sm145766pgp.15.2022.03.23.07.57.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Mar 2022 07:57:43 -0700 (PDT) Date: Wed, 23 Mar 2022 07:57:41 -0700 From: Stephen Hemminger To: longli@linuxonhyperv.com Cc: dev@dpdk.org, Stephen Hemminger , Long Li Subject: Re: [PATCH] net/netvsc: fix the calculation of checksums based on mbuf flag Message-ID: <20220323075741.3232e60d@hermes.local> In-Reply-To: <1648009687-19957-1-git-send-email-longli@linuxonhyperv.com> References: <1648009687-19957-1-git-send-email-longli@linuxonhyperv.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Tue, 22 Mar 2022 21:28:07 -0700 longli@linuxonhyperv.com wrote: > From: Long Li > > The netvsc should use RTE_MBUF_F_TX_L4_MASK and check the value to decide > the correct way to calculate checksums. > > Signed-off-by: Long Li Acked-by: Stephen Hemminger