From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 49AC37D14 for ; Fri, 25 Aug 2017 04:06:48 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Aug 2017 19:06:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,423,1498546800"; d="scan'208";a="1187946207" Received: from dpdk-lixiaoyun.sh.intel.com ([10.67.111.119]) by fmsmga001.fm.intel.com with ESMTP; 24 Aug 2017 19:06:46 -0700 From: Xiaoyun Li To: bruce.richardson@intel.com Cc: dev@dpdk.org, wenzhuo.lu@intel.com, zhihong.wang@intel.com, qi.z.zhang@intel.com, Xiaoyun Li Date: Fri, 25 Aug 2017 10:06:10 +0800 Message-Id: <1503626773-184682-1-git-send-email-xiaoyun.li@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH 0/3] dynamic linking support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Aug 2017 02:06:49 -0000 This patchset dynamically selects functions at run-time based on CPU flags that current machine supports. This patchset modifies mempcy, memcpy perf test and x86 EFD, using function pointers and bind them at constructor time. Xiaoyun Li (3): eal/x86: run-time dispatch over memcpy app/test: run-time dispatch over memcpy perf test efd: run-time dispatch over x86 EFD functions .../common/include/arch/x86/rte_memcpy.h | 305 ++++++++++++--------- lib/librte_efd/rte_efd_x86.h | 35 ++- mk/machine/native/rte.vars.mk | 2 + test/test/test_memcpy_perf.c | 36 ++- 4 files changed, 236 insertions(+), 142 deletions(-) -- 2.7.4