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 6C4F5A0487 for ; Tue, 2 Jul 2019 17:06:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6174A1B9CA; Tue, 2 Jul 2019 17:06:49 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id A397C1B9CA; Tue, 2 Jul 2019 17:06:48 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x62F5Gh3017756; Tue, 2 Jul 2019 08:06:45 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0818; bh=YnHz/TxxIGkG+x7SfeGC2N8nygNuJh8NkPpQpZuklKg=; b=rxucsXaRPfu/lzpaN72bEPSy9VjvCntw/d1DC58fSdEdauM/kewRsbyKQmMFr+p4SEUf 0MZqRUlj7PQWmrX4Ae7Ix6N7xlXPukHPd6KHKtzp+3Zg9PqFOzafzzbe3sUa5f4Cq6gd e4mj5b/hfKQAmlSjfYfqyvAfzAmdJapQviS4TOuI3RzhNUXe6aKMMMFQ2kIcYAD2zPqJ N76Yqdx7u7VRQAVzfblkcQ6p6SFFfe/QN5XPvE1pnj5uwLR81mneZkTCcGz4IRLjVa5/ W9sKWwADKN7zXbnIJzXiXtogs1HeTJyxichA8J4zAsKB43rhgLpnlfsI2lg8Oz6jlFXc SQ== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0b-0016f401.pphosted.com with ESMTP id 2tg57319gd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 02 Jul 2019 08:06:45 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 2 Jul 2019 08:06:44 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Tue, 2 Jul 2019 08:06:44 -0700 Received: from jerin-lab.marvell.com (jerin-lab.marvell.com [10.28.34.14]) by maili.marvell.com (Postfix) with ESMTP id 8CE713F703F; Tue, 2 Jul 2019 08:06:42 -0700 (PDT) From: To: , Thomas Monjalon CC: , Jerin Jacob , Date: Tue, 2 Jul 2019 20:36:19 +0530 Message-ID: <20190702150619.12945-1-jerinj@marvell.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-07-02_08:, , signatures=0 Subject: [dpdk-stable] [dpdk-dev] [PATCH] mk: fix march for octeontx2 target 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" From: Jerin Jacob Correct the wrong -march=-mcpu=armv8.2-a+crc+crypto+lse for octeontx2 target. Since rte_cc_has_argument drops invalid CFLAG and -mcpu=octeontx2 picks up the correct optimization, this typo is not noticed in performance testing. Fixes: 01d184798731 ("config: add octeontx2 machine") Cc: stable@dpdk.org Signed-off-by: Jerin Jacob --- mk/machine/octeontx2/rte.vars.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/machine/octeontx2/rte.vars.mk b/mk/machine/octeontx2/rte.vars.mk index cbec7f14d..e209cf492 100644 --- a/mk/machine/octeontx2/rte.vars.mk +++ b/mk/machine/octeontx2/rte.vars.mk @@ -30,5 +30,5 @@ include $(RTE_SDK)/mk/rte.helper.mk -MACHINE_CFLAGS += $(call rte_cc_has_argument, -march=-mcpu=armv8.2-a+crc+crypto+lse) +MACHINE_CFLAGS += $(call rte_cc_has_argument, -march=armv8.2-a+crc+crypto+lse) MACHINE_CFLAGS += $(call rte_cc_has_argument, -mcpu=octeontx2) -- 2.21.0