From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by dpdk.org (Postfix) with ESMTP id 7B81F493D; Fri, 9 Nov 2018 14:46:23 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 50875C6F; Fri, 9 Nov 2018 08:46:22 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 09 Nov 2018 08:46:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=mesmtp; bh=ocYSUknorotyLAlsefsSzfG S348rD2fCu4h8FMfvga8=; b=GQmr5Wnh9DWtFc0it8Uiz0W63M+9tG2F6Y+7iBA ObUWbF5k+VLiKjbRtPj6kTVofzVI3PkfZZkmPnbElEnPEzuKYVO0JIQsCKmOoshY kUGvC8gpten/GKd70OYaD/qO3GLroKuxEKSC+7FjlhJ/uaf6buivrwxXWkYURbYn sT0E= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ocYSUknorotyLAlse fsSzfGS348rD2fCu4h8FMfvga8=; b=vg5/beWPyAPCywirBBJ1xbG0yX2wSyyQm UFTtkoVKAkuEl31gc1Y8ziHqq1vv3Em4uDdwFuRtfeWPI7JKWFrXohtDfVidW8Gs Y3ihyYDICgd4oC+KrgN4GA8M8ZTMENjI9QPDCWm393yJ0uusAwcqe9He6Kh3eTLL Y+wGtZoNL5nmwSp7q8NXhHEaz8jPTtLlXTyxj/TVOhAT6a69hgqAeV0SoSxkwLk3 b8adHlM9YaYQ4mvIPtsCDCOWE0Z7OwzudvHO3ovWM71P1H8VDdRjfkWK6xiK3lr9 uDMnZlBl3eP8sCsKxhuTr829aU0v7vfWKkpk11sp1awwUKNIB+S7A== X-ME-Sender: X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id DD2AD102F8; Fri, 9 Nov 2018 08:46:20 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: ferruh.yigit@intel.com, stable@dpdk.org, xiaoyun.li@intel.com Date: Fri, 9 Nov 2018 14:46:08 +0100 Message-Id: <20181109134608.24524-1-thomas@monjalon.net> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH] eal/x86: remove unused memcpy file 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: , X-List-Received-Date: Fri, 09 Nov 2018 13:46:23 -0000 The use of rte_memcpy_ptr was removed in revert below, but it was missing removing the file arch/x86/rte_memcpy.c. Fixes: d35cc1fe6a7a ("eal/x86: revert select optimized memcpy at run-time") Cc: stable@dpdk.org Cc: xiaoyun.li@intel.com Signed-off-by: Thomas Monjalon --- lib/librte_eal/common/arch/x86/rte_memcpy.c | 29 --------------------- 1 file changed, 29 deletions(-) delete mode 100644 lib/librte_eal/common/arch/x86/rte_memcpy.c diff --git a/lib/librte_eal/common/arch/x86/rte_memcpy.c b/lib/librte_eal/common/arch/x86/rte_memcpy.c deleted file mode 100644 index 648c8f680..000000000 --- a/lib/librte_eal/common/arch/x86/rte_memcpy.c +++ /dev/null @@ -1,29 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(c) 2010-2017 Intel Corporation - */ - -#include -#include -#include - -void *(*rte_memcpy_ptr)(void *dst, const void *src, size_t n) = NULL; - -RTE_INIT(rte_memcpy_init) -{ -#ifdef CC_SUPPORT_AVX512F - if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX512F)) { - rte_memcpy_ptr = rte_memcpy_avx512f; - RTE_LOG(DEBUG, EAL, "AVX512 memcpy is using!\n"); - return; - } -#endif -#ifdef CC_SUPPORT_AVX2 - if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX2)) { - rte_memcpy_ptr = rte_memcpy_avx2; - RTE_LOG(DEBUG, EAL, "AVX2 memcpy is using!\n"); - return; - } -#endif - rte_memcpy_ptr = rte_memcpy_sse; - RTE_LOG(DEBUG, EAL, "Default SSE/AVX memcpy is using!\n"); -} -- 2.19.0