From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EFB88A09E0 for ; Fri, 13 Nov 2020 15:52:49 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4A1DFC8B0; Fri, 13 Nov 2020 15:52:44 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id 512E9C87E for ; Fri, 13 Nov 2020 15:52:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605279160; 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: content-transfer-encoding:content-transfer-encoding; bh=3aTj8/SRrvka6uLogdooyxABnXWMzjyE6QLLTy2PI+U=; b=aPi6NIfFnhV+N1kHC6EL6JLDxFfq3wwRx8Kb5v+4yUk+fypNv3ho8je9uRwbCowJNP0CZQ u4Fo88PeRUjNVRqHc1hj3NTjd7/nwn4ZM8Ik1kq8MW8mafcQ/FMbiMFrsh8WgsBiHl/ow1 PuuJLt96xZPyNXkQmpZRpaaO19/5S6o= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-21-0s1VwbIrOmeqHNZVrj_f0g-1; Fri, 13 Nov 2020 09:52:35 -0500 X-MC-Unique: 0s1VwbIrOmeqHNZVrj_f0g-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B50C584A607; Fri, 13 Nov 2020 14:52:16 +0000 (UTC) Received: from localhost.localdomain (unknown [10.36.110.32]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0AB8E55793; Fri, 13 Nov 2020 14:52:14 +0000 (UTC) From: Maxime Coquelin To: dev@dpdk.org, bruce.richardson@intel.com, yong.liu@intel.com, david.marchand@redhat.com Cc: Maxime Coquelin , stable@dpdk.org Date: Fri, 13 Nov 2020 15:52:12 +0100 Message-Id: <20201113145212.486443-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=maxime.coquelin@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Subject: [dpdk-stable] [PATCH] config: enable packet prefetching with Meson X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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" With Make build system, RTE_PMD_PACKET_PREFETCH was enabled by default. It got lost when transitioning to Meson build system. In order to avoid performance changes, this patch enables packet prefetching in rte_config.h. Reported-by: Marvin Liu Suggested-by: David Marchand Signed-off-by: Maxime Coquelin --- Hi Bruce, We were not sure whether adding below Fixes tag so that it is backported to LTSes. What do you think? Fixes: 9314afb68a53 ("drivers: add infrastructure for meson build") Cc: stable@dpdk.org config/rte_config.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/rte_config.h b/config/rte_config.h index 25219f04af..a0b5160ff2 100644 --- a/config/rte_config.h +++ b/config/rte_config.h @@ -103,6 +103,9 @@ /****** driver defines ********/ +/* Packet prefetching in PMDs */ +#define RTE_PMD_PACKET_PREFETCH 1 + /* QuickAssist device */ /* Max. number of QuickAssist devices which can be attached */ #define RTE_PMD_QAT_MAX_PCI_DEVICES 48 -- 2.26.2