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 22C75A0506 for ; Thu, 19 May 2022 18:28:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 088F042B6E; Thu, 19 May 2022 18:28:06 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 68B0340223 for ; Thu, 19 May 2022 18:28:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652977683; 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=O/bc4f+mKSLn4oMmo20ywW/Nb1RRefSUVxiFUVs/Kug=; b=JDCGv8IldpzyxEVBRiUmoIF7KWt8N6uCNdTkwYANt8QLMgaVwu1oG/gY4/X45OXLGcxaFq IQOKInb3Q9wminy77hCwP18tCaZ7n4uECLiPMKfHGr0swm3N2aylzf2Hs0tjFc6ws18qNr 1GovKCzky/FXmL8A3miyfB4mwKzMl8E= Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-587-HiiY5kGbMSC_Gwqsx_xfYg-1; Thu, 19 May 2022 12:28:02 -0400 X-MC-Unique: HiiY5kGbMSC_Gwqsx_xfYg-1 Received: by mail-lj1-f197.google.com with SMTP id h14-20020a2eb0ee000000b00253ca8c5c87so1221028ljl.9 for ; Thu, 19 May 2022 09:28:02 -0700 (PDT) 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=O/bc4f+mKSLn4oMmo20ywW/Nb1RRefSUVxiFUVs/Kug=; b=aAZ2EPDkp1gz3mObaK9FbVxvK/SHg8WmGEKajJZx2ztR3VeWCxuqtj0JnHD3LQxdy0 wjhwmZSzT5l8LJqmFbUJnT7aW5kqRXxRircqpJK4qTIOby9/1704o/prGo7PngRkkmLu z0ZYW48sClZ/LUueu8KlWj1uwKsD/p7fF8kNozXgyApvcagk69aFKcKHlMy/1oAFBt9P 8VMOpnWzC1vptdlytsLgtwQjPfRSJ65PBhronKe6q1P3Ye+dD51q7riQRKhVTwJxOEjB YYB0MyDEl+OpzjBmYhnHO6RGF9J23/4oKCsYKK86dks12AwLIeYYobJ8o5VQyBg8admN 1/vA== X-Gm-Message-State: AOAM53175f7rK9qqa04kOuPWas6mW0MzmvjLL6578HM240mLDwKMOMeg 8GHThpiyPvmeXtgjDrnnAsKNv4PeG8u5OwAp/59VTaW0emsXS9BdAtIsCoi805FPf8O+fX+C5gb 4VhTTnXRaz6qikQq739PtQYw= X-Received: by 2002:a05:6512:3f8c:b0:45d:cb2a:8779 with SMTP id x12-20020a0565123f8c00b0045dcb2a8779mr3990774lfa.499.1652977681151; Thu, 19 May 2022 09:28:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwh/zRxMGmPAkpxbwROZHiDTWhoVz0aQD/Kg8cP88+Bhrdy8vNe2fFDfUFhg/SIK1n8bD7EfP2r1PisU0pKpYI= X-Received: by 2002:a05:6512:3f8c:b0:45d:cb2a:8779 with SMTP id x12-20020a0565123f8c00b0045dcb2a8779mr3990755lfa.499.1652977680958; Thu, 19 May 2022 09:28:00 -0700 (PDT) MIME-Version: 1.0 References: <20220505102729.821075-1-maxime.coquelin@redhat.com> <20220505102729.821075-2-maxime.coquelin@redhat.com> In-Reply-To: <20220505102729.821075-2-maxime.coquelin@redhat.com> From: David Marchand Date: Thu, 19 May 2022 18:27:49 +0200 Message-ID: Subject: Re: [PATCH 1/6] Revert "app/testpmd: modify mac in csum forwarding" To: Maxime Coquelin Cc: dev , Jason Wang , "Xia, Chenbo" , Olivier Matz , dpdk stable , dts@dpdk.org, "Tu, Lijuan" 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" 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 On Thu, May 5, 2022 at 12:27 PM Maxime Coquelin wrote: > > This patch reverts commit 10f4620f02e1 ("app/testpmd: modify mac in csum forwarding"), > as the checksum forwarding is expected to only perform > checksum and not also overwritte the source and destination > MAC addresses. > > Doing so, we can test checksum offloading with real traffic > without breaking broadcast packets. > > Fixes: 10f4620f02e1 ("app/testpmd: modify mac in csum forwarding") > Cc: stable@dpdk.org > > Signed-off-by: Maxime Coquelin Thanks Maxime, this lgtm. Cc: dts ml since dts was dropping this code for some tests. origin/main:test_plans/dpdk_gro_lib_cbdma_test_plan.rst: ether_addr_copy(&peer_eth_addrs[fs->peer_addr], origin/main:test_plans/dpdk_gro_lib_cbdma_test_plan.rst: ether_addr_copy(&ports[fs->tx_port].eth_addr, origin/main:test_plans/dpdk_gro_lib_test_plan.rst: ether_addr_copy(&peer_eth_addrs[fs->peer_addr], origin/main:test_plans/dpdk_gro_lib_test_plan.rst: ether_addr_copy(&ports[fs->tx_port].eth_addr, origin/main:test_plans/dpdk_gso_lib_test_plan.rst: ether_addr_copy(&peer_eth_addrs[fs->peer_addr], origin/main:test_plans/dpdk_gso_lib_test_plan.rst: ether_addr_copy(&ports[fs->tx_port].eth_addr, origin/main:test_plans/virtio_user_as_exceptional_path_test_plan.rst: ether_addr_copy(&peer_eth_addrs[fs->peer_addr], origin/main:test_plans/virtio_user_as_exceptional_path_test_plan.rst: ether_addr_copy(&ports[fs->tx_port].eth_addr, origin/main:tests/TestSuite_dpdk_gro_lib.py: "sed -i '/ether_addr_copy(&peer_eth/i\#if 0' ./app/test-pmd/csumonly.c", "#" origin/main:tests/TestSuite_dpdk_gro_lib_cbdma.py: "sed -i '/ether_addr_copy(&peer_eth/i\#if 0' ./app/test-pmd/csumonly.c", "#" origin/main:tests/TestSuite_dpdk_gso_lib.py: "sed -i '/ether_addr_copy(&peer_eth/i\#if 0' ./app/test-pmd/csumonly.c", "#" origin/main:tests/TestSuite_virtio_user_as_exceptional_path.py: "sed -i '/ether_addr_copy(&peer_eth/i\#if 0' ./app/test-pmd/csumonly.c", "#" -- David Marchand