From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0047.outbound.protection.outlook.com [104.47.34.47]) by dpdk.org (Postfix) with ESMTP id 08F2E37A8 for ; Tue, 27 Dec 2016 11:10:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=VbC5Wn0lcF1R5gKvYrVr0uiCnlHyOIco8Atl9NT/NSU=; b=Nb+Oz2pYC3LQ4JF1+yFL8m8BrQ2x6PE35wOfJCfmgCoVRAjegJ8Eaev3ycEWu8gfy7BdrFOJSIP7MVaZD31Vz2orcLhGX2cCzKbXnROBHikGiAsrmEt13+iV8cBg613JnJLEeMZ2nwHXNxwvLICt5l4WuCLDZKZUtjR5qHN8QfI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain.localdomain (202.83.56.97) by CY1PR0701MB1727.namprd07.prod.outlook.com (10.163.21.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.11; Tue, 27 Dec 2016 10:10:51 +0000 From: Jerin Jacob To: CC: , , , Jerin Jacob Date: Tue, 27 Dec 2016 15:39:58 +0530 Message-ID: <1482833398-30145-2-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1482833398-30145-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1482833398-30145-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [202.83.56.97] X-ClientProxiedBy: PN1PR01CA0015.INDPRD01.PROD.OUTLOOK.COM (10.164.137.22) To CY1PR0701MB1727.namprd07.prod.outlook.com (10.163.21.141) X-MS-Office365-Filtering-Correlation-Id: 17f2855a-0eed-407f-0f6e-08d42e40a4ad X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:CY1PR0701MB1727; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 3:dnJglIgeyBQTeZesbl7Wfp0ue4vSqul+4uVTuJ9KGCtShb4F9e4yYqxvMtCyTLviGRBMRjXThQjuVOY7gjpW2sHsXH+ZTEkmjT5tsLCw7Kyo48nynkyUEJ8shJ+9JPKmB84ocpIzfu7EK7nKjKYtCKY8j7AHAwt+sm+ybxiabBSjZpvTlKsCU5x90InQTbIzXCKtM9v+ybHKKeZ+4UaZWaxQU8gUFhTIVHZvZU5FaaJMr3WVauGoclEmLnd7Wlr9lLRgmVGQsNTUML3vDgucdQ==; 25:rQi26CkgmqA0IzzHEeUwWbRgVL8WJFL21n/FIc+W29Qgq3JmCADMmKLJpeCO/CZ9oKuxo49gyQZb8TiuULYopt16NsmsVA/IkXg8+fNpuNAg452TK1XLUrZ4rMDT8kdAP/ov/dTbVC6zXTe7fo+tXxc0RECb9lSghLNilXv3V+AY/yL6BrMgXyYSl1TEHM774A5PlEG3O3MnOHHCBuBxMp+Jmsz/U/uMqc9mm2MGS6JofSDQSSyst0u5qPahm52M8wukWGpY1zfuBYNCbyf7wwrUHxrtGuFVtOMqYQqw8BYNieGwO80z183YEHIKnHTM41MtGB5HLX6RmPlS17kLgMDu+8NElI9uWNeM/DyemXeeJHZpwz0l0nWWcVME16wklvihQt7fpWKOahsSDabxnt+i+M2aspvXxzV+or5pL9Z7fnTUMnH8WqOq62fsMxtmA5kyyNEG+AcojCfYPk2UOQ== X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 31:KtYY7Y1ugzjIDP3rnjkyyor/tbNXc+hxa1X52LaN39238wsMZYBtTQvBG025EXIthsoMc8C6S5M6IsOmILyB9ArpJvNddBShI0J8keA6xPm6i6k+F9+EcWe4yCglMZnsn1DjdXVRj1yh9q6oxVSDG8fKqMkgprry8uM4a+fUIGqqBcKJdHlh7MT2KUlbeFq31F5PwlX4g85vmDH8oSyuSG/iVEGulANcXKxyri+agq4CXpcqQ44vomqSz/cERknh; 20:2kQHI0mztfcKUfiwHFPDKc+/Dfh7P6m0aqmJp8tzxL46mboV6wojghxDRbDz5l1Jj/3DpZGmJNMD6TSHXib+y0muVTWHpECtrFcXG2ORIxg5z7WAaQG3U4ke0wzhHGAPbwKRj3USXyzXZjLkIbmrdl/Nfo/pD5DLzQzA1daXRD5sW4tByVF0qONaER0dC6PzSjnZ4A6c+UPIJe60sPrq2nGx6F2yWPn1+QrVb/SG8DqPnpq60x5QH/5MOHOzy39PeC+/P5tgnthT0JgYw4sSgn5Ki6sdDtRA+j03+vi4/j4EQNfsqPvguWxqfuDpRDO/+fQoOV3fYCvvFfdmL/LuE8GG82aiFNvS3zRev9J6x9u4VJqm/AVixdfcIMM2p6eAID0dpna7B6FgJwYZL3IKu1vtPdqV8faFZK3q4C5QDatJh2WOtyqw2CAX3NwY/chCDcjYmrp9tCVqwSjgVINg2HAOe9swAhVlsPtLKX63R1v7faIqsEfenb4nkdbfhwlQrmPdpaE7qvickEE87uw5lfY2Y+sRkZbe+BQZUVcklGrRpnTElepZKVe8DB/6y26EL6J3UfWa1DEt+fYUSs4Bed3inariIjH2tEiJjMVIKy4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6041248)(20161123555025)(20161123564025)(20161123562025)(20161123560025)(20161123558021)(6072148); SRVR:CY1PR0701MB1727; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0701MB1727; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 4:o0Q/NgItrJUC3yulgjgFrxPkSgRXWUMA/BP5L0a/haQT9lhMHv2WD2PWId8Its9TvWE4MkPnQBTyPY0t2ExbPDeiWZAGvhzFFriLpu87648Dyl47/ih5348C7WPer6HDyH27HUCuvPftoeUpRl891RzYUMRV8+ZnJ7hN5dMO/xtezbVXaF63TPDs333DR2uonmmQ1gcZXLnqDuf6c+wNbMpoD58Pz9HstYmQJG0jc2qPYMSRgDHwAUV13v2e3ZaZgBiJJyvVBbF7PXzIxJ3723zVWRXNnIKo7hHrMiAuP6LuvetCVjtkpJ0s+XG091waC4C+RdjxT2RLiBR4jHFgDdUgw6qhVng+7kMJ7pAYN8oUQui34Xst4AR992J7XEGJYSaiA7B0qcLajwO/NJ5B62jmz6YMErHAyGCEJn+TaLeajzmzh2Tj3Y1+Up/N7NVm27FzVOvxyegefxGQPd2hJ/WL7avBS3jP45io4wx4sX3zj3P3wdyvVELRt5ParHAUjIg0IGYg+g8Fgs19/4t5jB/8u3eqPKJE5ROdgh3X/YwKLaqeRsPfo6NPd/BPBYnDanjuuxiuNIO55O84pXPl5ExGe3OYm07aOEUw+oydy6s= X-Forefront-PRVS: 0169092318 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(39450400003)(189002)(199003)(4001430100002)(2906002)(92566002)(38730400001)(68736007)(101416001)(110136003)(5003940100001)(42882006)(2950100002)(6916009)(4326007)(36756003)(50226002)(8676002)(3846002)(105586002)(50466002)(97736004)(81156014)(42186005)(33646002)(6116002)(106356001)(2351001)(81166006)(47776003)(66066001)(189998001)(7736002)(25786008)(5660300001)(50986999)(76176999)(305945005)(575784001)(6506006)(6486002)(48376002)(6512006)(107886002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1727; H:localhost.localdomain.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1727; 23:FzaCqnJUoOp2JNeJfCbxfT07kI4CKdZGTsoBBPr?= =?us-ascii?Q?ii184vSluA2hkTFRpT5rUlh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?Q?6M/EwSyeXN2CHtfdx6q8JzlxoU6VB45phCuVpd/wTrTzCtmeccdhaJ7AVAEp?= =?us-ascii?Q?czikTKxSxJWRKmn9eCgaoXiviFncvu03OjFJysQGP7NAj6qcvgFerIa/xYBG?= =?us-ascii?Q?0O5W54HZazW/fHu0ZqQSATq+zMISDIm9cL2oPB6klvEWXbTAQm8DyHmjkHlC?= =?us-ascii?Q?3qoaV0YMTH+eIUbDBjOLl8d1D3Nr//3rF7fk28lJSaPp1CDU7AaJZgw=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 6:9SEUNWdV6pxlm19HCMDxjGY2vzKJbdwAxAE73fZSZjrNEJkHW3ai8LIro5rqQIl5aDA2C917fdwDhxH4SG9RVUaAnMFA/tJC6rQFdfwqIyJopfgddKsgl2A1Sot4S3r11kKt8HZQh/QtCv2X1Bmct1lwgnBxT4T+3GqxQIOaXIPPxeOV6BfOi619jKnETWepxQfdDeguBM0pSRhcAMBcDxcB1pbA11ulJVEjNqHsZudEU7YeRO3d+rIkgLj7ih7oKBDb1w4hRAyGcds700TikJq5w9t22W0jcZEunlVXhmHzNpyesBwO/jJpVFte8/+e24gx+S/XhQrf0a9ORrQ9L8pkElZ9RNOBhePjBeSoyxCnXQXgRoXE4QBbjis2sKN93E5po5KmX3yLReLHWmbfKOesuNjlTlvvARwkDWSyGs0=; 5:1UkatrsWLrymzkGY2gXTFMhJMj8MGXEky4VEwmUdZNJBvtVi+/7mO4gqrHM5RMB52eGEq9Z/+bqUBo/afbqALhPrsScVTY1yhmaJz9UZF1ZiESt1a6ngSJM8X2NUPZcHyGhcyag9SukcT8d8DcBZQg==; 24:AUGk+zB/vn38TkUK7fjtWKYzAK4zFAwQlrgkQIPnZ357nbmcmIFt2MsSx593vOiFaV+zsqd6wHiiWxLVCtrpIW5lqtzbFoCLBKSU7Q4+qCc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 7:5Va3IHJO8GDJHVJ4PvLLUkTkgqbjBaeWA9d728Y5mWe16uK1Ws4h6wwVbVSffclf5NObie0O7sVRnDZIqcxz6KffLxz6GCZNP7RCAiZPHODFBgkx9GFNxmgqR+ytx+NAKOCSgEUuLh8eAKvjW0TD0DoP+Q3QBEZjiAU3Z1QEVwt0Bqt72K7A0grXc7TGv6Dp6+h55iqbqbvNMq3TDgPwBBOD9cabjliBNCijDUP0vm3XEAC/cj4jPDn21mOAZCQjkRaf7nObmkbKGNkzi8DfL7XxPXjPnPp/HfWLL+t3q4N2uuWP+RvhuTop5n+wfA+yVswdCDmO9E7V8aQOvZRfX4yLi3tBpEHwYSdrmbL9NQH1RLRjW6N4H8/RZtQ6C8GeCdypWlerTCklyKnj+3aCvOjAj52YGLpzQdQAo6Rg1JD+Iev9f9BsEpguL8K+ASoKU0aV0mla2Wvq++fHcHO+yg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Dec 2016 10:10:51.5848 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1727 Subject: [dpdk-dev] [PATCH 2/2] app/testpmd: remove explicit ixgbe link request 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: Tue, 27 Dec 2016 10:10:57 -0000 Removed explicit ixgbe driver linkage request from app/testpmd makefile to mk/rte.app.mk to 1)Maintain the correct link ordering(from higher level libraries to lower level libraries) 2)In shared lib configuration, any application can use ixgbe exposed pmd specific APIs not just testpmd. Signed-off-by: Jerin Jacob --- app/test-pmd/Makefile | 2 -- mk/rte.app.mk | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/test-pmd/Makefile b/app/test-pmd/Makefile index 5988c3e..96e0c67 100644 --- a/app/test-pmd/Makefile +++ b/app/test-pmd/Makefile @@ -59,8 +59,6 @@ SRCS-y += csumonly.c SRCS-y += icmpecho.c SRCS-$(CONFIG_RTE_LIBRTE_IEEE1588) += ieee1588fwd.c -_LDLIBS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += -lrte_pmd_ixgbe - CFLAGS_cmdline.o := -D_GNU_SOURCE # this application needs libraries first diff --git a/mk/rte.app.mk b/mk/rte.app.mk index f75f0e2..aee235c 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -101,6 +101,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_CFGFILE) += -lrte_cfgfile _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += -lrte_pmd_bond _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_XENVIRT) += -lrte_pmd_xenvirt -lxenstore +_LDLIBS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += -lrte_pmd_ixgbe ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),n) # plugins (link only if static libraries) @@ -114,7 +115,6 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_ENA_PMD) += -lrte_pmd_ena _LDLIBS-$(CONFIG_RTE_LIBRTE_ENIC_PMD) += -lrte_pmd_enic _LDLIBS-$(CONFIG_RTE_LIBRTE_FM10K_PMD) += -lrte_pmd_fm10k _LDLIBS-$(CONFIG_RTE_LIBRTE_I40E_PMD) += -lrte_pmd_i40e -_LDLIBS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += -lrte_pmd_ixgbe _LDLIBS-$(CONFIG_RTE_LIBRTE_MLX4_PMD) += -lrte_pmd_mlx4 -libverbs _LDLIBS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += -lrte_pmd_mlx5 -libverbs _LDLIBS-$(CONFIG_RTE_LIBRTE_MPIPE_PMD) += -lrte_pmd_mpipe -lgxio -- 2.5.5