From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 1DBA41094 for ; Tue, 28 Mar 2017 11:29:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1490693363; x=1522229363; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=MYjjdLKYwlGUZTtZGkuSJbqkWmMxqVd+zeX9NUwoEnQ=; b=nmP3PHzmZwWYeVlZWCkK7FkCKtP1gzgWZVScyE7kILoPHLjE1oJVtG53 Kbhw8nCOppfybbP9nN8bLilCsAEyVw==; Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Mar 2017 02:29:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,236,1486454400"; d="scan'208";a="81405747" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga005.fm.intel.com with ESMTP; 28 Mar 2017 02:29:21 -0700 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 28 Mar 2017 02:29:21 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 28 Mar 2017 02:29:21 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.212]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.42]) with mapi id 14.03.0248.002; Tue, 28 Mar 2017 17:29:18 +0800 From: "Xu, Qian Q" To: "Burakov, Anatoly" , "gowrishankar.m@linux.vnet.ibm.com" , "dev@dpdk.org" CC: "Lu, PeipeiX" , "Gilmore, Walter E" , "Jain, Deepak K" , "Richardson, Bruce" Thread-Topic: [dpdk-dev] Pls help check on old kernel Thread-Index: AQHSp6G5UkdtG2A5B0q+8e16KIThTqGp+1Fw Date: Tue, 28 Mar 2017 09:29:18 +0000 Message-ID: <82F45D86ADE5454A95A89742C8D1410E3B594CA8@shsmsx102.ccr.corp.intel.com> References: <82F45D86ADE5454A95A89742C8D1410E3B590BCE@shsmsx102.ccr.corp.intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] Pls help check on old kernel 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, 28 Mar 2017 09:29:23 -0000 Great, thx, Anatoly.=20 > -----Original Message----- > From: Burakov, Anatoly > Sent: Tuesday, March 28, 2017 5:00 PM > To: Xu, Qian Q ; gowrishankar.m@linux.vnet.ibm.com; > dev@dpdk.org > Cc: Lu, PeipeiX ; Gilmore, Walter E > ; Jain, Deepak K ; > Richardson, Bruce > Subject: RE: [dpdk-dev] Pls help check on old kernel >=20 > Hi Qian, >=20 > The fix patch is already at v2 (by me, and will receive a v3 due to compi= le failures > on arm). We're working on fixing this :) >=20 > Thanks, > Anatoly >=20 >=20 > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Xu, Qian Q > > Sent: Tuesday, March 28, 2017 4:16 AM > > To: gowrishankar.m@linux.vnet.ibm.com; dev@dpdk.org > > Cc: Lu, PeipeiX ; Gilmore, Walter E > > ; Jain, Deepak K > > ; Richardson, Bruce > > > > Subject: [dpdk-dev] Pls help check on old kernel > > > > Hi, Gowrishankar Muthukrishnan > > > > > > > > Could you help check below build error? On some old kernels, the build > > failed due to your patch. Thx. > > > > > > > > > > > > There's build error on old kernels which was brought by commit > > "0fe9830b53452a6747cae9ff1a6bfc737b839a9d": > > > > > commit 0fe9830b53452a6747cae9ff1a6bfc737b839a9d > > > Author: Gowrishankar Muthukrishnan > > > > > Date: Mon Mar 6 20:34:15 2017 +0530 > > > > > > eal/ppc: support sPAPR IOMMU for vfio-pci > > > > > > Below changes adds pci probing support for vfio-pci devices in power8= . > > > > > Signed-off-by: Gowrishankar Muthukrishnan > > > > > > Acked-by: Anatoly Burakov > > > Acked-by: Chao Zhu > > > > It missed a vfio_iommu_spapr_tce_info structure in conditional define > > for older kernels, so it breaks compile on those kernels > > > > Detail build error logs please refer to below: > > > > > Last commit Time : Sun Mar 19 23:13:50 2017 +0100 Last Author : > > > David Marchand Last commit Hash : > > 84aac97b49994be6b461b46be160b47938e697b3 > > > Last comment : maintainers: resign from eal maintenance > > > > > > Build Summary : 43 Builds Done, 37 Successful, 6 Failures. > > > > > > Failure details : > > > > > > Failure #1 > > > SUSE12SP3_64 / Linux 3.7.10-1 / GCC 4.7.2 login command: sshpass -p > > > P@ssw0rd123 ssh root@10.239.69.116 > > > Config: x86_64-native-linuxapp-gcc > > > CONFIG_RTE_LIBRTE_PMD_PCAP=3Dy, > > > CONFIG_RTE_NIC_BYPASS=3Dy, > > > CONFIG_RTE_BUILD_SHARED_LIB=3Dy, > > > CONFIG_RTE_LIBRTE_VHOST=3Dy, > > > CONFIG_RTE_LIBRTE_PMD_QAT=3Dy, > > > CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=3Dy, > > > CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=3Dy > > > > > > /homeDPDK/lib/librte_eal/linuxapp/eal/eal_vfio.c: In function > > > 'vfio_spapr_dma_map': > > > /homeDPDK/lib/librte_eal/linuxapp/eal/eal_vfio.c:555:9: error: > > > variable > > 'info' > > > has initializer but incomplete type compilation terminated due to > > > -Wfatal- > > errors. > > > > > > Failure #2 > > > SUSE12SP3_64 / Linux 3.7.10-1 / ICC 16.0.2 login command: sshpass -p > > > P@ssw0rd123 ssh root@10.239.69.116 > > > Config: x86_64-native-linuxapp-icc > > > CONFIG_RTE_LIBRTE_PMD_PCAP=3Dy, > > > CONFIG_RTE_NIC_BYPASS=3Dy, > > > CONFIG_RTE_BUILD_SHARED_LIB=3Dy, > > > CONFIG_RTE_LIBRTE_VHOST=3Dy, > > > CONFIG_RTE_LIBRTE_PMD_QAT=3Dy, > > > CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=3Dy, > > > CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=3Dy > > > > > > /homeDPDK/lib/librte_eal/linuxapp/eal/eal_vfio.c: In function > > > 'vfio_spapr_dma_map': > > > /homeDPDK/lib/librte_eal/linuxapp/eal/eal_vfio.c:555:9: error: > > > variable > > 'info' > > > has initializer but incomplete type compilation terminated due to > > > -Wfatal- > > errors. > > > > > > Failure #3 > > > FC18_64 / Linux 3.6.10-4 / GCC 4.7.2 login command: sshpass -p > > > P@ssw0rd123 ssh root@10.239.69.131 > > > Config: x86_64-native-linuxapp-gcc > > > CONFIG_RTE_LIBRTE_PMD_PCAP=3Dy, > > > CONFIG_RTE_NIC_BYPASS=3Dy, > > > CONFIG_RTE_BUILD_SHARED_LIB=3Dy, > > > CONFIG_RTE_LIBRTE_VHOST=3Dy, > > > CONFIG_RTE_LIBRTE_PMD_QAT=3Dy, > > > CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=3Dy, > > > CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=3Dy > > > > > > DPDK/lib/librte_eal/linuxapp/eal/eal_vfio.c: In function > > 'vfio_spapr_dma_map': > > > DPDK/lib/librte_eal/linuxapp/eal/eal_vfio.c:555:9: error: variable > > > 'info' has initializer but incomplete type compilation terminated > > > due to - > > Wfatal-errors. > > > > > > Failure #4 > > > FC18_64 / Linux 3.6.10-4 / ICC 14.0.0 login command: sshpass -p > > > P@ssw0rd123 ssh root@10.239.69.131 > > > Config: x86_64-native-linuxapp-icc > > > CONFIG_RTE_LIBRTE_PMD_PCAP=3Dy, > > > CONFIG_RTE_NIC_BYPASS=3Dy, > > > CONFIG_RTE_BUILD_SHARED_LIB=3Dy, > > > CONFIG_RTE_LIBRTE_VHOST=3Dy, > > > CONFIG_RTE_LIBRTE_PMD_QAT=3Dy, > > > CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=3Dy, > > > CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=3Dy > > > > > > DPDK/lib/librte_eal/linuxapp/eal/eal_vfio.c: In function > > 'vfio_spapr_dma_map': > > > DPDK/lib/librte_eal/linuxapp/eal/eal_vfio.c:555:9: error: variable > > > 'info' has initializer but incomplete type compilation terminated > > > due to - > > Wfatal-errors. > > > > > > Failure #5 > > > RHEL70_64 / Linux 3.10.0-123 / GCC 4.8.5 login command: sshpass -p > > > P@ssw0rd123 ssh root@10.239.68.173 > > > Config: x86_64-native-linuxapp-gcc > > > CONFIG_RTE_LIBRTE_PMD_PCAP=3Dy, > > > CONFIG_RTE_NIC_BYPASS=3Dy, > > > CONFIG_RTE_BUILD_SHARED_LIB=3Dy, > > > CONFIG_RTE_LIBRTE_VHOST=3Dy, > > > CONFIG_RTE_LIBRTE_PMD_QAT=3Dy, > > > CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=3Dy, > > > CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=3Dy > > > > > > DPDK/lib/librte_eal/linuxapp/eal/eal_vfio.c: In function > > 'vfio_spapr_dma_map': > > > DPDK/lib/librte_eal/linuxapp/eal/eal_vfio.c:555:9: error: variable > > > 'info' has initializer but incomplete type struct > > > vfio_iommu_spapr_tce_info info =3D { ^ compilation terminated due to > > > -Wfatal-errors. > > > > > > Failure #6 > > > RHEL70_64 / Linux 3.10.0-123 / ICC 14.0.0 login command: sshpass -p > > > P@ssw0rd123 ssh root@10.239.68.173 > > > Config: x86_64-native-linuxapp-icc > > > CONFIG_RTE_LIBRTE_PMD_PCAP=3Dy, > > > CONFIG_RTE_NIC_BYPASS=3Dy, > > > CONFIG_RTE_BUILD_SHARED_LIB=3Dy, > > > CONFIG_RTE_LIBRTE_VHOST=3Dy, > > > CONFIG_RTE_LIBRTE_PMD_QAT=3Dy, > > > CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=3Dy, > > > CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=3Dy > > > > > > DPDK/lib/librte_eal/linuxapp/eal/eal_vfio.c: In function > > 'vfio_spapr_dma_map': > > > DPDK/lib/librte_eal/linuxapp/eal/eal_vfio.c:555:9: error: variable > > > 'info' has initializer but incomplete type struct > > > vfio_iommu_spapr_tce_info info =3D { ^ compilation terminated due to > > > -Wfatal-errors. > > >