From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.elyzion.net (freeside.gandi.net [217.70.181.31]) by dpdk.org (Postfix) with ESMTP id E0A7293F6 for ; Tue, 14 Jun 2016 15:03:34 +0200 (CEST) Received: from nikita (uid 1001) (envelope-from nikita@elyzion.net) id 1d1a4 by mail.elyzion.net (DragonFly Mail Agent v0.10); Tue, 14 Jun 2016 15:03:34 +0200 From: Nikita Kozlov To: dev@dpdk.org Cc: Bruce Richardson Date: Tue, 14 Jun 2016 15:03:28 +0200 Message-Id: <1465909410-4668-3-git-send-email-nikita@elyzion.net> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1465909410-4668-1-git-send-email-nikita@elyzion.net> References: <1462539092-24389-1-git-send-email-bruce.richardson@intel.com> <1465909410-4668-1-git-send-email-nikita@elyzion.net> Subject: [dpdk-dev] [PATCH 2/4] test: change lpm routes file from header to data file X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2016 13:03:35 -0000 Change the file extension of the test_lpm_routes file from .h to .dat. This makes the lines-of-code counts for DPDK more realistic as they are not affected by the huge counts from the lpm data. Signed-off-by: Nikita Kozlov Signed-off-by: Bruce Richardson --- app/test/Makefile | 1 + app/test/{test_lpm_routes.h => test_lpm_routes.dat} | 0 2 files changed, 1 insertion(+) rename app/test/{test_lpm_routes.h => test_lpm_routes.dat} (100%) diff --git a/app/test/Makefile b/app/test/Makefile index 7e4d484..a3f317d 100644 --- a/app/test/Makefile +++ b/app/test/Makefile @@ -118,6 +118,7 @@ SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_hash_perf.c SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_hash_functions.c SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_hash_scaling.c +$(eval $(call linked_resource,test_lpm_data,test_lpm_routes.dat)) SRCS-$(CONFIG_RTE_LIBRTE_LPM) += test_lpm.c SRCS-$(CONFIG_RTE_LIBRTE_LPM) += test_lpm_perf.c SRCS-$(CONFIG_RTE_LIBRTE_LPM) += test_lpm6.c diff --git a/app/test/test_lpm_routes.h b/app/test/test_lpm_routes.dat similarity index 100% rename from app/test/test_lpm_routes.h rename to app/test/test_lpm_routes.dat -- 2.8.1