From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0047.outbound.protection.outlook.com [104.47.36.47]) by dpdk.org (Postfix) with ESMTP id B576D29CF for ; Mon, 12 Sep 2016 06:39:21 +0200 (CEST) Received: from BY2PR03CA071.namprd03.prod.outlook.com (10.141.249.44) by DM2PR0301MB0720.namprd03.prod.outlook.com (10.160.97.140) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.609.9; Mon, 12 Sep 2016 04:39:20 +0000 Received: from BL2FFO11FD037.protection.gbl (2a01:111:f400:7c09::132) by BY2PR03CA071.outlook.office365.com (2a01:111:e400:2c5d::44) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.609.9 via Frontend Transport; Mon, 12 Sep 2016 04:39:19 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; linux.intel.com; dkim=none (message not signed) header.d=none;linux.intel.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD037.mail.protection.outlook.com (10.173.161.133) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.587.6 via Frontend Transport; Mon, 12 Sep 2016 04:39:19 +0000 Received: from [10.232.14.87] ([10.232.14.87]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u8C4dF7t016963; Sun, 11 Sep 2016 21:39:16 -0700 To: Yuanhan Liu References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <1473257297-7221-1-git-send-email-shreyansh.jain@nxp.com> <1473257297-7221-18-git-send-email-shreyansh.jain@nxp.com> <20160911115553.GU23158@yliu-dev.sh.intel.com> CC: , , Jan Viktorin , Thomas Monjalon From: Shreyansh Jain Message-ID: <85ebcf69-680f-3051-94e2-2da1bcf24d35@nxp.com> Date: Mon, 12 Sep 2016 10:09:45 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160911115553.GU23158@yliu-dev.sh.intel.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131181287592522260; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(3190300001)(199003)(189002)(69234005)(377454003)(24454002)(9170700003)(81166006)(4001520100001)(64126003)(586003)(4001350100001)(50986999)(65826007)(11100500001)(76176999)(93886004)(5660300001)(8936002)(54356999)(626004)(104016004)(2950100001)(230700001)(36756003)(106466001)(19580405001)(19580395003)(189998001)(47776003)(105606002)(31686004)(8676002)(83506001)(87936001)(92566002)(15975445007)(31696002)(23746002)(356003)(65806001)(65956001)(85426001)(110136002)(33646002)(305945005)(15395725005)(50466002)(4326007)(86362001)(77096005)(7846002)(8666005)(2906002)(5001760100003)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0301MB0720; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD037; 1:SbJ0JO52FUf35c6IC8ZvdHTS9NDW0J2W6tlriM8MhJ3rO9AUx/xR+cmkIWMOgIBjpGQtR2YTS1ljdDVillXzZn6L4R2EMjEX0DxCz4NBYSE+sDemy3R8llQNhhc1G+2YmYskyxbVj1FcnLe8yRP4eYSnFB8fEUM/XoaasSPccLQwrJJv3TubHoqgWFPBUC5EQqwwXk/IODJt0unLKBN89GsERDEi+4stV7w1eDepNsJobr1XX87f5BInscclzOZ/l2zgtqxGPUrDbNpXBjC+cMdNxLWoisHXYyQH7R+Rg8NrhG7au9ul21yFc8wEvnNosudA3QnZnole+OCRqk4WTDHqmszYQIOhvPO/7S22c7Lb3/OhckF3d6DekXVUPcNNw4GV9a37fMfYaGwMdlbqA8LapdSQR+g9fztVKm9mGGh0FASU3ogxdf6M/b3wnynXgGly3I912EvYfMyx9JvRRBKhue7/rE0jwZ3/LkMrsHn6IGhWHneD1S0i8WjvAa3dvwxfuAM68mEIRyasUSWkO33biEujSIVfJLvDRpNP2phb8gQCI/rhi3GnGRba/z7OHcDc/uXWH8rIcYjJUpUEV8tTb4ehUc5qdD4iir+zHUyh3YUBhWibIozMzElJqugDHFhS3gyFK7NH7O1GnlIkiQ== X-MS-Office365-Filtering-Correlation-Id: 7c5509fd-b9b8-4c3a-10b3-08d3dac6c296 X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0720; 2:/Cw52h2uBF0Ab6+KGZ5QHxXt17NPDCNUtHghMUNcYbrD83AuqhztvBky/MxXclPjzPdW9xEp5kTZYNQhlIOzTH6pXir8LcUlCQsNjfPyUUVbRuB1CRNGX1Dyv9fPzLAlTDQDiWui73G1hw+SYm/ZIZT6uGmL+p4yjIpOqQgoGx4CgNiPFYZts3TYQ7s9lNCP; 3:SV4WSzVCho7hQ0jOC6luPOEP8Te4YdHr1X1BQNR3fFIr+ZmsHpzG2T2ybJUKLMDXKlVfomh6vpcBXEuqmh7UUrfqMbYvO+gV8cmPkwg2UujPoejpYSItyr1jD2fToEX0uErO/iQjTvomeJqV6JauEbNoHzg/RV2Of0AzgKmJ8g/XS7BhgH8GREJi3Fr7+QGjaopo73D/k6T3fy3KUZsfo5uygbXhkQK1eBxi3qST2u8=; 25:gmu+QL5LdRzodFmWGcJreAC3GuhwiFcc9ZNMER1Bo63c3RXglci1h5TvV5iaI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lL2CerMDSgw9b35ENFt3K29AY2h9qkKo0GOfdj6xwtByqesZx0ND+Zri9bjgonkc+k3oCFFZcFeCFkEadz9jTj4+6XxPV6Lr5blUTLRJfprYU/o/9pVM4PYsluQ1PNZYsa+8rCLF2hOuejOxNoMMUrdG+5slwRQuH/+ykg7QNLLlX5pKtSghrKuLrUZxWhE= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13015025)(13017025)(13023025)(13024025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:DM2PR0301MB0720; BCL:0; PCL:0; RULEID:(400006); SRVR:DM2PR0301MB0720; X-Forefront-PRVS: 006339698F X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; DM2PR0301MB0720; 23:yaQZkd0PQODBvT55J+JZWtf4L+1MPL57wTB?= =?Windows-1252?Q?97b5g8R0e9rheH4aMqyf63lAIY6M92MFU+iTP1OR1A40p/el/y1CYRpF?= =?Windows-1252?Q?27iXeRv3GbUV08UnjWm7Z4fXnsPQQtWYcqdpKR11jE6jqO4oZMi60gXd?= =?Windows-1252?Q?kjsaJNXDELEzRUEvXwZ9Nmu/yNN6GqmepSWeJfMoYeDzB7xMkKebt6Hz?= =?Windows-1252?Q?tHjqYqvGmmh/W6/7oPGHenMbqKz1iS+jLl8appqq7UZNbdFxvNdi92dz?= =?Windows-1252?Q?QKk0K1ayomgBqobR2rwgW3gcE7e1yxfZsG7RiZ7Lu+jnxjB/1Jnfzoak?= =?Windows-1252?Q?OwSWDo5nybeqZ04F2WWWMz24KBle2HOPkjN6qPpGG2Jjcf6hcg+E/sIV?= =?Windows-1252?Q?GE/aVmVp/XBlwDaYGSzXRxBnmrwYPws3zNWraL7jZhqIB/nJilwdHTWo?= =?Windows-1252?Q?NNej6UeEd1Kif/Frp5TUhUvNMTP9PbjjkKsPuIjgYk/YaOzfp/FN81ij?= =?Windows-1252?Q?MGqZwqJBz/dWdtFe5ODag68d4Tg2mbjJpPcWT0xD9YxVnRUsFJdmUEed?= =?Windows-1252?Q?z74wM55yUtjAZY9vZ6k6mKXjSdkg9izrVVgVfvNI3SNH1jiEesMo7HaY?= =?Windows-1252?Q?9mKiHPJaOBtibJ9eKrSu7wgASThaecA0DZMpd3S4jmTjqe6A+TeBk1Sm?= =?Windows-1252?Q?hWPksZVMghaIfxHsivv4f1+/hWmqvZ+QjNoVqCqMS+GhTjQGvgN0HRiR?= =?Windows-1252?Q?A85gOoX1EgKduylgwK0y5kKalpKu1NsL64lRqvHJ3ilGdjbhXpTiYKaJ?= =?Windows-1252?Q?stCKj4MemO4Qh1zqG4PEw6qCESz7CWJk27D6yzsxapgaMgrv0ITkM9Bx?= =?Windows-1252?Q?QSh0ft5Q6S+wWS45qse2Hldm/eGfsaudSMhUdJHlBmx3VgEBi9Hz/rIb?= =?Windows-1252?Q?VzjbN7w9x94dOZ5QU0Lh/ED41Cbb2G5e+nCETI3MJFvB3spjotC8VUwS?= =?Windows-1252?Q?FeqNV5sTT0kDo8rMqNOGbki5qr9XrXu4FVv8mom4sqOKjUUcO5Lf1DAm?= =?Windows-1252?Q?Eq0V9i0nxl0Gm+reo0iz8xlC5NNKpo7DmcHZmma7roVriFmhjDkMu1Hk?= =?Windows-1252?Q?JP4sfiGRDsJ+vxyoGZAoqhqe0e62qk9qbVTTmoZzfvLLWHoA7YQSDbD/?= =?Windows-1252?Q?ZWcVa3J/gpwDjy7yeCz7QaazMxXqBOVw1xJvDKRm14zWEVb5Lmgh+UTK?= =?Windows-1252?Q?Dn+V9RTjB2VnHgsEy0PUe6w7QPrbe8iYwofIUvXOZry+0ePQ68gsYY9/?= =?Windows-1252?Q?tY7c8KFjYV98Wt8sNo7+7/VlVnuHPSFx7TRbS2x/55u6sdaxl5C9+tYQ?= =?Windows-1252?Q?55WcHtQh+0nz+LGW5cTaelk1+XEivDMw07dF28j0VQaJZ+Q0Oenz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wjZ6IGLisDDZs1LIgI0Ut5IGmC627Cx1MVjElLMt4w7iKr0lF3/P6Q/Dnjy5NeSthly7Ft2rxB SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Sep 2016 04:39:19.0338 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB0720 Subject: Re: [dpdk-dev] [PATCH v9 17/25] drivers: convert PMD_VDEV drivers to use rte_vdev_driver 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: Mon, 12 Sep 2016 04:39:22 -0000 Hi , On Sunday 11 September 2016 05:25 PM, Yuanhan Liu wrote: > On Wed, Sep 07, 2016 at 07:38:09PM +0530, Shreyansh Jain wrote: >> All PMD_VDEV drivers can now use rte_vdev_driver instead of the >> rte_driver (which is embedded in the rte_vdev_driver). >> >> Signed-off-by: Jan Viktorin >> Signed-off-by: Shreyansh Jain > > Hi, > > FYI, my testrobot caught some errors when this patch is applied. > > --yliu > > i686-native-linuxapp-gcc: config-all-yes-shared > =============================================== > rte_eth_af_packet.o: In function `vdrvinitfn_pmd_af_packet_drv': > rte_eth_af_packet.c:(.text.startup+0x23): undefined reference to `rte_eal_vdrv_register' > collect2: error: ld returned 1 exit status > make[6]: *** [librte_pmd_af_packet.so.1.1] Error 1 > make[5]: *** [af_packet] Error 2 > make[5]: *** Waiting for unfinished jobs.... > rte_eth_bond_pmd.o: In function `vdrvinitfn_bond_drv': > rte_eth_bond_pmd.c:(.text.startup+0x23): undefined reference to `rte_eal_vdrv_register' > collect2: error: ld returned 1 exit status > make[6]: *** [librte_pmd_bond.so.1.1] Error 1 > make[5]: *** [bonding] Error 2 > make[4]: *** [net] Error 2 > make[3]: *** [drivers] Error 2 > make[2]: *** [all] Error 2 > make[1]: *** [pre_install] Error 2 > make: *** [install] Error 2 > error: build failed > Thanks! I think this is similar to what Ferruh has commented in [1]. I missed adding these functions to the map file in the 16th patch which is why shared library is failing. I have noted that for change in v10 as and when that is ready. [1] http://dpdk.org/ml/archives/dev/2016-September/046399.html -- Shreyansh