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 7AB88A0A0C for ; Mon, 5 Jul 2021 10:22:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 454DD4003C; Mon, 5 Jul 2021 10:22:26 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id CB2304003C for ; Mon, 5 Jul 2021 10:22:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625473343; 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: in-reply-to:in-reply-to:references:references; bh=2e9wfjGmSTG+kBMiEEZibRTiYPWxmYPzzBClTwLVivw=; b=Wj2zc0rE5ad+tgiPMjYzNGfwdNDCMtRHuXGVCBcffAyeZhuuRoUbuGEjGLctWrJxyDLZKB 53JIMnsPl0vWI1CwgS4/2pMwfEEcQdBi0f9mpxIy91bXV2IkxHkPr9yrNsrSMysQ+Nvy/P oSG0azVTrC33AEdFGqDEwmONGiQeaWw= Received: from mail-vs1-f70.google.com (mail-vs1-f70.google.com [209.85.217.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-65-S2hn1sINMXGezRQ4Bs1j5A-1; Mon, 05 Jul 2021 04:22:22 -0400 X-MC-Unique: S2hn1sINMXGezRQ4Bs1j5A-1 Received: by mail-vs1-f70.google.com with SMTP id n124-20020a6772820000b029026ec17d2dd5so3857606vsc.20 for ; Mon, 05 Jul 2021 01:22:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2e9wfjGmSTG+kBMiEEZibRTiYPWxmYPzzBClTwLVivw=; b=heeN8zDp2yOKX6xSY4nWLzA6lVPecYFOUQiNWng82SjTh+MDZ6kU6vA10MAoRDZ5dS z0sfDWtt7NgkpPV2O+MEJTjpSHQ5ur6J+a9SJWZhtY2xVUn1/yk+vj0j3mkfVpyl218B hYhjmxODKB51yTUMp2pA2us/POGWXlAwkargxNnleRADa5BTREMlEFUxa3avbpwF79iR LBer8fvqLMDEG2h4JVIi5Uvd7lPDQM6xAAEcHdAhGjbAgHlOEAlErdtFIYowvtQ10BRr dm4E84KXAdYbVuCu+V4reVyMgz6v98wwsoAKtxXyuqNvRcg5ngo+EAqJFFkO0Cp0mXP9 8fHQ== X-Gm-Message-State: AOAM533jqqcJfUdfK0bOGp9qLfCa6/99KHlio5z/HG8R1Zc7JZ70t2ag 1/1NU0P2x+YstzheGGMoplyS+Qx6FwT2lIo1H/J2D9zF5vGbRKgPpWfHCUIP3sFMGHZLx8yW+nO wrS2vbRBWjl2iEyWwh4XE1+A= X-Received: by 2002:a67:3001:: with SMTP id w1mr216549vsw.5.1625473342306; Mon, 05 Jul 2021 01:22:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdn58z5lYpAktRRBX5fJTnL5eyaZHL3Mem8mVNkSrI79bkkAbYlJ/wamLIEgKO0zbDgYMRs17EOJum7E9VpDU= X-Received: by 2002:a67:3001:: with SMTP id w1mr216537vsw.5.1625473342074; Mon, 05 Jul 2021 01:22:22 -0700 (PDT) MIME-Version: 1.0 References: <20210326163732.763862-1-lance.richardson@broadcom.com> In-Reply-To: <20210326163732.763862-1-lance.richardson@broadcom.com> From: David Marchand Date: Mon, 5 Jul 2021 10:22:11 +0200 Message-ID: To: Lance Richardson Cc: Declan Doherty , Pablo de Lara , dev , dpdk stable Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [PATCH] app/test: fix IPv6 header initialization 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" On Fri, Mar 26, 2021 at 5:37 PM Lance Richardson wrote: > > Fix two issues found when writing PMD unit tests for HW ptype and > L4 checksum offload: > > - The version field in the IPv6 header was being set to zero, > which prevented hardware from recognizing it as IPv6. The > IP version field is now set to six. > - The payload_len field was being initialized using host byte > order, which (among other things) resulted in incorrect L4 > checksum computation. The payload_len field is now set using > network (big-endian) byte order. > > Fixes: 92073ef961ee ("bond: unit tests") > Cc: stable@dpdk.org > > Signed-off-by: Lance Richardson Reviewed-by: David Marchand Applied, thanks. -- David Marchand