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 A462FA0A0C; Mon, 5 Jul 2021 10:22:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6BA7941159; Mon, 5 Jul 2021 10:22:28 +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 CA62C4068C for ; Mon, 5 Jul 2021 10:22:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625473345; 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=SEXXdvahFqmg4lYXuz9efV/GnTzuH+JRiVIZzmnV5PMVTtpmMhAz+yIHg2XotOLeEta0Qq V2ufuGa3pHvSyHxmGf4Py9bJLJ010Zq69wKfcHElIgWhIbbUS3W3poyuA17Z48rCJijb3Y CjWchtblG7H2+hH2atMFuObEYjq74h0= Received: from mail-ua1-f71.google.com (mail-ua1-f71.google.com [209.85.222.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-583-qTRsTOLgMW-LU0u4t04fIg-1; Mon, 05 Jul 2021 04:22:22 -0400 X-MC-Unique: qTRsTOLgMW-LU0u4t04fIg-1 Received: by mail-ua1-f71.google.com with SMTP id c24-20020ab069580000b0290294f1e254c0so5689374uas.21 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=SN5OshBtEgfeJfC71rhy0qLW2VByFBuf5HhcSfer8SzpW+PdSGUE+lf98KUEdpqad7 nxIjURh7au869hmay7zSOtMFmWRx1pOOJmPdUFPoYUZVzrBMXWpnba+LU7qynVN3q5oJ lj21znD6533LSLsSMUWxL9Og00UNmgrD6vTyuBMYmer4inszUndwDkq5CATW4FRDYKaS pOgTBH8/W28Ki4RnWRpgQkTElQo/Hz90Lx6eFsYcHwU94OwQRZWB5HAwGXuYAVDmJLd3 jn7YfX7/pfqmqXLISQ0zDiHFYAhw1SsoNEfCFxROAMbcCZRZjpq6Sfnr/KjnfF0eeEAt eKdQ== X-Gm-Message-State: AOAM533LJDsJH2hg2qTACDLfUpn1nK+RZEkvns+vAHlO5cBKIo51eom8 hkaGCATROSgxGXH1K0i43kw1+4r+nuFB0Z9KShHiikdlAudkdLHPG2P3rW+LQYhRU9ftlcitA2L ByJrFNA/tNRPUF4nOWnM= X-Received: by 2002:a67:3001:: with SMTP id w1mr216548vsw.5.1625473342281; 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-dev] [dpdk-stable] [PATCH] app/test: fix IPv6 header initialization 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 Sender: "dev" 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