From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by dpdk.org (Postfix) with ESMTP id EBF261BE0 for ; Thu, 8 Nov 2018 00:53:21 +0100 (CET) Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id wA7NmvFf001410 for ; Wed, 7 Nov 2018 18:53:20 -0500 Received: from smtp.notes.na.collabserv.com (smtp.notes.na.collabserv.com [192.155.248.66]) by mx0a-001b2d01.pphosted.com with ESMTP id 2nm9dwsa6h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 07 Nov 2018 18:53:20 -0500 Received: from localhost by smtp.notes.na.collabserv.com with smtp.notes.na.collabserv.com ESMTP for from ; Wed, 7 Nov 2018 23:53:19 -0000 Received: from us1a3-smtp02.a3.dal06.isc4sb.com (10.106.154.159) by smtp.notes.na.collabserv.com (10.106.227.127) with smtp.notes.na.collabserv.com ESMTP; Wed, 7 Nov 2018 23:53:12 -0000 Received: from us1a3-mail95.a3.dal06.isc4sb.com ([10.146.21.14]) by us1a3-smtp02.a3.dal06.isc4sb.com with ESMTP id 2018110723531235-1185266 ; Wed, 7 Nov 2018 23:53:12 +0000 In-Reply-To: <7810893.IVv5J8xu2d@xps> To: Thomas Monjalon Cc: adrien.mazarguil@6wind.com, Luca Boccassi , Chao Zhu , Christian Ehrhardt , dev@dpdk.org, dwilder , TYOS@jp.ibm.com From: "Pradeep Satyanarayana" Date: Wed, 7 Nov 2018 15:53:10 -0800 References: <8589266.XCptXWt5vM@xps> <395b5a36d9b0582179cadc825e351d51@linux.vnet.ibm.com> <7810893.IVv5J8xu2d@xps> X-KeepSent: E3CB0143:EFED0F21-8825833E:00818F70; type=4; name=$KeepSent X-Mailer: IBM Notes Release 9.0.1EXT SHF888 April 26, 2018 X-LLNOutbound: False X-Disclaimed: 59875 X-TNEFEvaluated: 1 x-cbid: 18110723-6357-0000-0000-00000847E299 X-IBM-SpamModules-Scores: BY=0; FL=0; FP=0; FZ=0; HX=0; KW=0; PH=0; SC=0.449102; ST=0; TS=0; UL=0; ISC=; MB=0.000597 X-IBM-SpamModules-Versions: BY=3.00010004; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000268; SDB=6.01114187; UDB=6.00577632; IPR=6.00894286; BA=6.00006138; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00024066; XFM=3.00000015; UTC=2018-11-07 23:53:17 X-IBM-AV-DETECTION: SAVI=unsuspicious REMOTE=unsuspicious XFE=unused X-IBM-AV-VERSION: SAVI=2018-11-07 21:51:03 - 6.00009190 x-cbparentid: 18110723-6358-0000-0000-000053F6336B Message-Id: MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-11-07_19:, , signatures=0 X-Proofpoint-Spam-Reason: safe X-Mailman-Approved-At: Thu, 08 Nov 2018 13:43:58 +0100 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: Quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH] ppc64: fix compilation of when AltiVec is enabled 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: Wed, 07 Nov 2018 23:53:22 -0000 Thomas Monjalon wrote on 11/07/2018 01:21:22 PM: > From: Thomas Monjalon > To: dwilder > Cc: Pradeep Satyanarayana , dev@dpdk.org, > adrien.mazarguil@6wind.com, Luca Boccassi , Chao > Zhu , Christian Ehrhardt > , TYOS@jp.ibm.com > Date: 11/07/2018 01:21 PM > Subject: Re: [dpdk-dev] [PATCH] ppc64: fix compilation of when > AltiVec is enabled > > 07/11/2018 19:58, dwilder: > > On 2018-11-07 02:03, Thomas Monjalon wrote: > > > 05/11/2018 22:20, Pradeep Satyanarayana: > > >> From: Thomas Monjalon > > >> > 30/08/2018 13:58, Christian Ehrhardt: > > >> > > On Thu, Aug 30, 2018 Takeshi T Yoshimura wrote: > > >> > > > Hi, > > >> > > > I could reproduce the issue you reported in 18.08 with my ppc64le > > >> > > > box with RedHat 7.5 and GCC4.8. > > >> > > > The patch resolved the issue in my environment. Thanks! > > >> > > > > >> > > I added your test (tanks) and Adrien's extensive review/discussion as > > >> > > tags and also addressed a few checkpatch findings. > > >> > > V2 is up on the list now ... > > >> > > > > >> > > > I am a bit newbie in dpdk-dev, but I will try contacting Chao > > >> > > > and other IBM guys... Sorry for our slow reply. > > >> > > > > >> > > Thanks for your participation Takeshi, > > >> > > we at least now have had a few replies after Thomas used the > > >> > > superpowers of "CPT. CAPSLOCK" \o/. > > >> > > > > >> > > I also have a call later today to make sure this is brought up > > >> > > inside IBM to make sure someone is maintaining it for real. > > >> > > > >> > Summary of the situation: > > >> > - I used caps lock on August 30th > > >> > - We got replies on the ML in the next 2 days (Alfredo, > Chao, Takeshi) > > >> > - On September 3rd, Adrien raised a major issue for C++ > with the fix v3 > > >> > INVALID URI REMOVED > u=3Dhttp-3A__mails.dpdk.org_archives_dev_2018-2DSeptember_110733.html&d=3DD= wICAg&c=3Djf_iaSHvJObTbx- > siA1ZOg&r=3Dco4lCofxrQP11yIVMply-QYvsUyeKJkYY_jL1QVgeGA&m=3DQE2- > XfLmWX5fRwewYIIMAHJI_FETkneZA1XxK2aFv0o&s=3DDuOB1QOoJ-fW2A-0h6Oz- > SeHLuynCSyblzo3_bvshDg&e=3D > > >> > - Another email about a possible GCC fix on September 5th > (David Wilder) > > >> > > >> As Dave mentioned that is only expected in GCC 9. > > >> > > >> > - There was a private reply on September 27th, confirming > an IBM support > > >> > - and nothing else > > >> > > > >> > Nobody at IBM requests to get a compilation fix for ppc64. > > >> > > >> Yes, we do need fixes for ppc64. > > >> > > >> (1) > > >> INVALID URI REMOVED > u=3Dhttp-3A__mails.dpdk.org_archives_dev_2018-2DAugust_110499.html&d=3DDwIC= Ag&c=3Djf_iaSHvJObTbx- > siA1ZOg&r=3Dco4lCofxrQP11yIVMply-QYvsUyeKJkYY_jL1QVgeGA&m=3DQE2- > XfLmWX5fRwewYIIMAHJI_FETkneZA1XxK2aFv0o&s=3DXgjcGK0kIYU4y3K6zUMcAcVZxxzDYoU= Um90oFuzGII8&e=3D > > >> (2) > > >> INVALID URI REMOVED > u=3Dhttp-3A__mails.dpdk.org_archives_dev_2018-2DSeptember_110961.html&d=3DD= wICAg&c=3Djf_iaSHvJObTbx- > siA1ZOg&r=3Dco4lCofxrQP11yIVMply-QYvsUyeKJkYY_jL1QVgeGA&m=3DQE2- > XfLmWX5fRwewYIIMAHJI_FETkneZA1XxK2aFv0o&s=3D5XZlfxsqUXgL- > aFscHGJgdDiqhKnfjz7Kx4KNj2J5Ck&e=3D > > >> > > >> Based on the above 2 URLs (tested both by Takeshi and David Wiler), we > > >> assumed that it would get picked up in 18.11. > > >> We have been more focussed on 17.11 (and likely dropped > > >> the ball on 18.11) > > >> since 17.11 is an LTS release and we have had lots of problems on > > >> ppc64. > > > > > > Note that 18.11 is also LTS. Yes, we do realize that 18.11 is an LTS release. Since there is a larger usage of 17.11 we have been focussed on that. Attempting to catch up with 18.11 as well. > > > > > >> Should be submitting patch to fix those issues shortly. > > > > > > Sorry, I have some doubts for two reasons: > > > - track records > > > - technical reality: there is no perfect solution outside of GCC > > > > > >> We have built 18.11-rc1 with the fix above (1), and it does work on > > >> ppc64le. > > > > > > But it would break C++ applications. > > > > > >> An updated version of: > > >> > > >> (3) > > >> INVALID URI REMOVED > u=3Dhttp-3A__mails.dpdk.org_archives_dev_2018-2DAugust_109926.html&d=3DDwIC= Ag&c=3Djf_iaSHvJObTbx- > siA1ZOg&r=3Dco4lCofxrQP11yIVMply-QYvsUyeKJkYY_jL1QVgeGA&m=3DQE2- > XfLmWX5fRwewYIIMAHJI_FETkneZA1XxK2aFv0o&s=3DurcohXf8f- > T9doxPSqC3wRWT__d0nVmO6QftUwIvcG0&e=3D > > >> > > >> also builds on ppc64. The latter has the advantage of possibly not > > >> breaking existing applications. > > > > I am not seeing any build breaks on upstream code with the > > net-mlx5-fix-build-on-PPC64.patch applied. > > > > > But it fixes only mlx5. > > > stdbool is used in many other places. > > > Which PMDs are you compiling? > > > > CONFIG_RTE_LIBRTE_ARK_PMD=3Dy > > CONFIG_RTE_LIBRTE_AXGBE_PMD=3Dy > > CONFIG_RTE_LIBRTE_BNXT_PMD=3Dy > > CONFIG_RTE_LIBRTE_CXGBE_PMD=3Dy > > CONFIG_RTE_LIBRTE_DPAA_PMD=3Dy > > CONFIG_RTE_LIBRTE_DPAA2_PMD=3Dy > > CONFIG_RTE_LIBRTE_ENETC_PMD=3Dy > > CONFIG_RTE_LIBRTE_ENA_PMD=3Dy > > CONFIG_RTE_LIBRTE_EM_PMD=3Dy > > CONFIG_RTE_LIBRTE_IGB_PMD=3Dy > > CONFIG_RTE_LIBRTE_I40E_PMD=3Dy > > CONFIG_RTE_LIBRTE_AVF_PMD=3Dy > > CONFIG_RTE_LIBRTE_MLX5_PMD=3Dy > > CONFIG_RTE_LIBRTE_NFP_PMD=3Dy > > CONFIG_RTE_LIBRTE_QEDE_PMD=3Dy > > CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD=3Dy > > CONFIG_RTE_LIBRTE_LIO_PMD=3Dy > > CONFIG_RTE_LIBRTE_OCTEONTX_PMD=3Dy > > CONFIG_RTE_LIBRTE_VIRTIO_PMD=3Dy > > CONFIG_RTE_LIBRTE_NETVSC_PMD=3Dy > > CONFIG_RTE_LIBRTE_VDEV_NETVSC_PMD=3Dy > > CONFIG_RTE_LIBRTE_IFC_PMD=3Dy > > CONFIG_RTE_TEST_PMD=3Dy We maybe compiling many PMDs, but for testing purposes mlx5 will be the main focus on the Power platform, particularly P9. > > > > > Are you compiling examples? Yes, please see below for additional details. > > > > Yes, no build issues seen. > > > > >> > And there was no issue raised after 18.11-rc1 release. > > >> > I guess it means DPDK is not used on ppc64. > > >> > In this case, we should mark the ppc port as unmaintained for 18.11. > > >> > > > >> > OR SHOULD I USE MY CAPS LOCK AGAIN? > > >> > > >> Thanks for your patience while we iron out the issues. > > >> Hopefully, we don't need the CAPS LOCK again. > > > > > > We have to mention the ppc64 incompatibility in 18.11 release notes. > > > Either it stays as is and we declare DPDK 18.11 not supported on > > > IBM platforms, or we fix it and document the limitations. > > > > If net-mlx5-fix-build-on-PPC64.patch is accepted I feel power can be > > listed as supported for 18.11. > > I sent this last patch which was thought by Christian (Canonical) and > Adrien (6WIND). It is just fixing the compilation. > Is there someone at IBM checking that basic DPDK features are working? Yes, we are in the process of attempting to run DTS and other tests as well. While we learn all of this, we didn't pay enough attention to some of the recent 18.X releases. Thanks Pradeep pradeep@us.ibm.com