* [dpdk-users] SW Turbo Poll Mode Driver @ 2021-09-14 10:58 Ginés García Avilés 2021-09-29 10:41 ` Thomas Monjalon 0 siblings, 1 reply; 7+ messages in thread From: Ginés García Avilés @ 2021-09-14 10:58 UTC (permalink / raw) To: users Hi all, After following the steps listed here (3. SW Turbo Poll Mode Driver — Data Plane Development Kit 21.08.0 documentation (dpdk.org) <http://doc.dpdk.org/guides/bbdevs/turbo_sw.html#>), using the specific versions of DPDK and FlexRAN, I'm facing an error while trying to run one of the bbdev tests: - command: > python2 test-bbdev.py -e="--vdev=baseband_turbo_sw,socket_id=0,max_nb_queues=8" -c validation -v turbo_dec_default.data - Error: > "Device 0 (baseband_turbo_sw) does not support specified capabilities" which I think is due to an incorrect linkage of DPDK and FlexRAN. I have checked all the environmental variables pointing to the different components and everything seems to be correct. Any suggestions about how to solve this problem? Thanks a lot for your help, Ginés. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-users] SW Turbo Poll Mode Driver 2021-09-14 10:58 [dpdk-users] SW Turbo Poll Mode Driver Ginés García Avilés @ 2021-09-29 10:41 ` Thomas Monjalon 2021-10-04 21:05 ` Chautru, Nicolas 0 siblings, 1 reply; 7+ messages in thread From: Thomas Monjalon @ 2021-09-29 10:41 UTC (permalink / raw) To: Ginés García Avilés; +Cc: users, nicolas.chautru +Cc maintainer 14/09/2021 12:58, Ginés García Avilés: > Hi all, > After following the steps listed here (3. SW Turbo Poll Mode Driver — Data > Plane Development Kit 21.08.0 documentation (dpdk.org) > <http://doc.dpdk.org/guides/bbdevs/turbo_sw.html#>), using the specific > versions of > DPDK and FlexRAN, I'm facing an error while trying to run one of the bbdev > tests: > - command: > > python2 test-bbdev.py > -e="--vdev=baseband_turbo_sw,socket_id=0,max_nb_queues=8" -c validation -v > turbo_dec_default.data > - Error: > > "Device 0 (baseband_turbo_sw) does not support specified capabilities" > > which I think is due to an incorrect linkage of DPDK and FlexRAN. I have > checked all the environmental variables pointing to the different > components and everything seems to be correct. > > Any suggestions about how to solve this problem? > > Thanks a lot for your help, > Ginés. ^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [dpdk-users] SW Turbo Poll Mode Driver 2021-09-29 10:41 ` Thomas Monjalon @ 2021-10-04 21:05 ` Chautru, Nicolas 2021-10-05 7:02 ` Ginés García Avilés 0 siblings, 1 reply; 7+ messages in thread From: Chautru, Nicolas @ 2021-10-04 21:05 UTC (permalink / raw) To: Thomas Monjalon, Ginés García Avilés; +Cc: users Hi Gines, The only thing is to make sure to set the meson option to point to the right location See https://doc.dpdk.org/guides/bbdevs/turbo_sw.html : for instance something like this "meson configure -Dflexran_sdk=xxx/build-avx512-icc/install" Then meson build framework will just link the libraries: see drivers\baseband\turbo_sw\meson.build which uses cc.find_library to dynamically find and link the libraries > -----Original Message----- > From: Thomas Monjalon <thomas@monjalon.net> > Sent: Wednesday, September 29, 2021 3:41 AM > To: Ginés García Avilés <gines.garcia@i2cat.net> > Cc: users@dpdk.org; Chautru, Nicolas <nicolas.chautru@intel.com> > Subject: Re: [dpdk-users] SW Turbo Poll Mode Driver > > +Cc maintainer > > 14/09/2021 12:58, Ginés García Avilés: > > Hi all, > > After following the steps listed here (3. SW Turbo Poll Mode Driver — > > Data Plane Development Kit 21.08.0 documentation (dpdk.org) > > <http://doc.dpdk.org/guides/bbdevs/turbo_sw.html#>), using the > > specific versions of DPDK and FlexRAN, I'm facing an error while > > trying to run one of the bbdev > > tests: > > - command: > > > python2 test-bbdev.py > > -e="--vdev=baseband_turbo_sw,socket_id=0,max_nb_queues=8" -c > > validation -v turbo_dec_default.data > > - Error: > > > "Device 0 (baseband_turbo_sw) does not support specified > capabilities" > > > > which I think is due to an incorrect linkage of DPDK and FlexRAN. I > > have checked all the environmental variables pointing to the different > > components and everything seems to be correct. > > > > Any suggestions about how to solve this problem? > > > > Thanks a lot for your help, > > Ginés. > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-users] SW Turbo Poll Mode Driver 2021-10-04 21:05 ` Chautru, Nicolas @ 2021-10-05 7:02 ` Ginés García Avilés 2021-10-05 20:56 ` Chautru, Nicolas 0 siblings, 1 reply; 7+ messages in thread From: Ginés García Avilés @ 2021-10-05 7:02 UTC (permalink / raw) To: Chautru, Nicolas; +Cc: Thomas Monjalon, users Hi Nicolas, thanks a lot for your help. However, with the latest version of DPDK I'm still facing the following issue: - "drivers/baseband/turbo_sw/meson.build:13:4: ERROR: C library 'libstdc++' not found" These are the steps I'm actually following for the whole process: - Set env vars (*ICC *compiler, FLEXRAN_SDK, DIR_WIRELESS_SDK, ...) - meson x86_64-native-linux-icc - cd x86_64-native-linux-icc - meson configure -Dflexran_sdk=xxx/build-avx512-icc/install - ninja Thanks in advance, Ginés. El lun, 4 oct 2021 a las 23:05, Chautru, Nicolas (<nicolas.chautru@intel.com>) escribió: > Hi Gines, > The only thing is to make sure to set the meson option to point to the > right location > See https://doc.dpdk.org/guides/bbdevs/turbo_sw.html : for instance > something like this "meson configure > -Dflexran_sdk=xxx/build-avx512-icc/install" > Then meson build framework will just link the libraries: see > drivers\baseband\turbo_sw\meson.build which uses cc.find_library to > dynamically find and link the libraries > > > -----Original Message----- > > From: Thomas Monjalon <thomas@monjalon.net> > > Sent: Wednesday, September 29, 2021 3:41 AM > > To: Ginés García Avilés <gines.garcia@i2cat.net> > > Cc: users@dpdk.org; Chautru, Nicolas <nicolas.chautru@intel.com> > > Subject: Re: [dpdk-users] SW Turbo Poll Mode Driver > > > > +Cc maintainer > > > > 14/09/2021 12:58, Ginés García Avilés: > > > Hi all, > > > After following the steps listed here (3. SW Turbo Poll Mode Driver — > > > Data Plane Development Kit 21.08.0 documentation (dpdk.org) > > > <http://doc.dpdk.org/guides/bbdevs/turbo_sw.html#>), using the > > > specific versions of DPDK and FlexRAN, I'm facing an error while > > > trying to run one of the bbdev > > > tests: > > > - command: > > > > python2 test-bbdev.py > > > -e="--vdev=baseband_turbo_sw,socket_id=0,max_nb_queues=8" -c > > > validation -v turbo_dec_default.data > > > - Error: > > > > "Device 0 (baseband_turbo_sw) does not support specified > > capabilities" > > > > > > which I think is due to an incorrect linkage of DPDK and FlexRAN. I > > > have checked all the environmental variables pointing to the different > > > components and everything seems to be correct. > > > > > > Any suggestions about how to solve this problem? > > > > > > Thanks a lot for your help, > > > Ginés. > > > > > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [dpdk-users] SW Turbo Poll Mode Driver 2021-10-05 7:02 ` Ginés García Avilés @ 2021-10-05 20:56 ` Chautru, Nicolas 2021-10-13 15:30 ` Ginés García Avilés 0 siblings, 1 reply; 7+ messages in thread From: Chautru, Nicolas @ 2021-10-05 20:56 UTC (permalink / raw) To: Ginés García Avilés; +Cc: Thomas Monjalon, users Hi Gines, I don’t see such issue, you probably have to make sure libstdc++ is installed and accessible by meson. From: Ginés García Avilés <gines.garcia@i2cat.net> Sent: Tuesday, October 5, 2021 12:03 AM To: Chautru, Nicolas <nicolas.chautru@intel.com> Cc: Thomas Monjalon <thomas@monjalon.net>; users@dpdk.org Subject: Re: [dpdk-users] SW Turbo Poll Mode Driver Hi Nicolas, thanks a lot for your help. However, with the latest version of DPDK I'm still facing the following issue: - "drivers/baseband/turbo_sw/meson.build:13:4: ERROR: C library 'libstdc++' not found" These are the steps I'm actually following for the whole process: - Set env vars (ICC compiler, FLEXRAN_SDK, DIR_WIRELESS_SDK, ...) - meson x86_64-native-linux-icc - cd x86_64-native-linux-icc - meson configure -Dflexran_sdk=xxx/build-avx512-icc/install - ninja Thanks in advance, Ginés. El lun, 4 oct 2021 a las 23:05, Chautru, Nicolas (<nicolas.chautru@intel.com<mailto:nicolas.chautru@intel.com>>) escribió: Hi Gines, The only thing is to make sure to set the meson option to point to the right location See https://doc.dpdk.org/guides/bbdevs/turbo_sw.html : for instance something like this "meson configure -Dflexran_sdk=xxx/build-avx512-icc/install" Then meson build framework will just link the libraries: see drivers\baseband\turbo_sw\meson.build which uses cc.find_library to dynamically find and link the libraries > -----Original Message----- > From: Thomas Monjalon <thomas@monjalon.net<mailto:thomas@monjalon.net>> > Sent: Wednesday, September 29, 2021 3:41 AM > To: Ginés García Avilés <gines.garcia@i2cat.net<mailto:gines.garcia@i2cat.net>> > Cc: users@dpdk.org<mailto:users@dpdk.org>; Chautru, Nicolas <nicolas.chautru@intel.com<mailto:nicolas.chautru@intel.com>> > Subject: Re: [dpdk-users] SW Turbo Poll Mode Driver > > +Cc maintainer > > 14/09/2021 12:58, Ginés García Avilés: > > Hi all, > > After following the steps listed here (3. SW Turbo Poll Mode Driver — > > Data Plane Development Kit 21.08.0 documentation (dpdk.org<http://dpdk.org>) > > <http://doc.dpdk.org/guides/bbdevs/turbo_sw.html#<http://doc.dpdk.org/guides/bbdevs/turbo_sw.html>>), using the > > specific versions of DPDK and FlexRAN, I'm facing an error while > > trying to run one of the bbdev > > tests: > > - command: > > > python2 test-bbdev.py > > -e="--vdev=baseband_turbo_sw,socket_id=0,max_nb_queues=8" -c > > validation -v turbo_dec_default.data > > - Error: > > > "Device 0 (baseband_turbo_sw) does not support specified > capabilities" > > > > which I think is due to an incorrect linkage of DPDK and FlexRAN. I > > have checked all the environmental variables pointing to the different > > components and everything seems to be correct. > > > > Any suggestions about how to solve this problem? > > > > Thanks a lot for your help, > > Ginés. > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-users] SW Turbo Poll Mode Driver 2021-10-05 20:56 ` Chautru, Nicolas @ 2021-10-13 15:30 ` Ginés García Avilés 2021-10-19 9:02 ` Ginés García Avilés 0 siblings, 1 reply; 7+ messages in thread From: Ginés García Avilés @ 2021-10-13 15:30 UTC (permalink / raw) To: Chautru, Nicolas; +Cc: Thomas Monjalon, users Hi Nicolas, thanks a lot for your reply. I'm trying to build DPDK with ICC but I'm not sure why libstdc++ is not accessible for meson. As a workaround, I'm checking gcc in order to see whether the installation is correct or not (as far as I know icc takes some info from gcc). As an alternative, If I move to gcc as the compiler used by meson, I'm getting the following error for each operation provided by FlexRAN: - "libldpc_encoder_5gnr.a(phy_ldpc_encoder_5gnr.cpp.o): relocation R_X86_64_32S against `.rodata.str1.32' can not be used when making a shared object; recompile with -fPIC" I have checked the fPIC flag and it is already included when compiling the turbo_sw driver. - Versions: > FlexRAN 19.04 > DPDK 21.08 > gcc Ubuntu 9.3.0 > Ubuntu 20.04 Should I use gcc or icc for compiling dpdk? Any ideas about what could be the issue in the previous environments? Thanks a lot in advance, Ginés. El mar, 5 oct 2021 a las 22:57, Chautru, Nicolas (<nicolas.chautru@intel.com>) escribió: > Hi Gines, > > I don’t see such issue, you probably have to make sure libstdc++ is > installed and accessible by meson. > > > > *From:* Ginés García Avilés <gines.garcia@i2cat.net> > *Sent:* Tuesday, October 5, 2021 12:03 AM > *To:* Chautru, Nicolas <nicolas.chautru@intel.com> > *Cc:* Thomas Monjalon <thomas@monjalon.net>; users@dpdk.org > *Subject:* Re: [dpdk-users] SW Turbo Poll Mode Driver > > > > Hi Nicolas, > > thanks a lot for your help. > > > > However, with the latest version of DPDK I'm still facing the following > issue: > > - "drivers/baseband/turbo_sw/meson.build:13:4: ERROR: C library > 'libstdc++' not found" > > > > These are the steps I'm actually following for the whole process: > > - Set env vars (*ICC *compiler, FLEXRAN_SDK, DIR_WIRELESS_SDK, ...) > > - meson x86_64-native-linux-icc > > - cd x86_64-native-linux-icc > > - meson configure -Dflexran_sdk=xxx/build-avx512-icc/install > > - ninja > > > > Thanks in advance, > > Ginés. > > > > El lun, 4 oct 2021 a las 23:05, Chautru, Nicolas (< > nicolas.chautru@intel.com>) escribió: > > Hi Gines, > The only thing is to make sure to set the meson option to point to the > right location > See https://doc.dpdk.org/guides/bbdevs/turbo_sw.html : for instance > something like this "meson configure > -Dflexran_sdk=xxx/build-avx512-icc/install" > Then meson build framework will just link the libraries: see > drivers\baseband\turbo_sw\meson.build which uses cc.find_library to > dynamically find and link the libraries > > > -----Original Message----- > > From: Thomas Monjalon <thomas@monjalon.net> > > Sent: Wednesday, September 29, 2021 3:41 AM > > To: Ginés García Avilés <gines.garcia@i2cat.net> > > Cc: users@dpdk.org; Chautru, Nicolas <nicolas.chautru@intel.com> > > Subject: Re: [dpdk-users] SW Turbo Poll Mode Driver > > > > +Cc maintainer > > > > 14/09/2021 12:58, Ginés García Avilés: > > > Hi all, > > > After following the steps listed here (3. SW Turbo Poll Mode Driver — > > > Data Plane Development Kit 21.08.0 documentation (dpdk.org) > > > <http://doc.dpdk.org/guides/bbdevs/turbo_sw.html# > <http://doc.dpdk.org/guides/bbdevs/turbo_sw.html>>), using the > > > specific versions of DPDK and FlexRAN, I'm facing an error while > > > trying to run one of the bbdev > > > tests: > > > - command: > > > > python2 test-bbdev.py > > > -e="--vdev=baseband_turbo_sw,socket_id=0,max_nb_queues=8" -c > > > validation -v turbo_dec_default.data > > > - Error: > > > > "Device 0 (baseband_turbo_sw) does not support specified > > capabilities" > > > > > > which I think is due to an incorrect linkage of DPDK and FlexRAN. I > > > have checked all the environmental variables pointing to the different > > > components and everything seems to be correct. > > > > > > Any suggestions about how to solve this problem? > > > > > > Thanks a lot for your help, > > > Ginés. > > > > > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-users] SW Turbo Poll Mode Driver 2021-10-13 15:30 ` Ginés García Avilés @ 2021-10-19 9:02 ` Ginés García Avilés 0 siblings, 0 replies; 7+ messages in thread From: Ginés García Avilés @ 2021-10-19 9:02 UTC (permalink / raw) To: Chautru, Nicolas; +Cc: Thomas Monjalon, users Hi again Nicolas, Looking for a workaround trying to solve the previous issue, I moved to Centos 7 (as suggested here 3. SW Turbo Poll Mode Driver — Data Plane Development Kit 21.11.0-rc0 documentation (dpdk.org) <https://doc.dpdk.org/guides/bbdevs/turbo_sw.html>) and after having everything installed I found an *earlier issue* when compiling FlexRAN: - FlexRAN-FEC-SDK-19-04/sdk/source/phy/lib_common/common_typedef_simd.hpp(43): error: invalid redeclaration of type name "I16vec16" (declared at line 2528 of "/opt/intel/oneapi/compiler/2021.4.0/linux/bin/intel64/../../compiler/include/dvec.h") - FlexRAN-FEC-SDK-19-04/sdk/source/phy/lib_common/common_typedef_simd.hpp(153): error: invalid redeclaration of type name "I32vec8" (declared at line 2259 of "/opt/intel/oneapi/compiler/2021.4.0/linux/bin/intel64/../../compiler/include/dvec.h") - FlexRAN-FEC-SDK-19-04/sdk/source/phy/lib_common/common_typedef_simd.hpp(191): error: invalid redeclaration of type name "I8vec32" (declared at line 2872 of "/opt/intel/oneapi/compiler/2021.4.0/linux/bin/intel64/../../compiler/include/dvec.h") Versions: > icc (ICC) 2021.4.0 20210910 > icpc (ICC) 2021.4.0 20210910 > gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) > g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Steps: * Install Centos ICC dependencies * yum install intel-basekit intel-hpckit * . /opt/intel/oneapi/setvars.sh * cd <workspace> * ./FlexRAN-FEC-SDK19-04.sh * cd <workspace>/FlexRAN-FEC-SDK-19-04/sdk/ * ./create-makefiles-linux.sh * cd build-avx512-icc * make Am I missing something to compile flexRAN SDK? Regards, Ginés. El mié, 13 oct 2021 a las 17:30, Ginés García Avilés (< gines.garcia@i2cat.net>) escribió: > Hi Nicolas, > thanks a lot for your reply. > > I'm trying to build DPDK with ICC but I'm not sure why libstdc++ is not > accessible for meson. As a workaround, I'm > checking gcc in order to see whether the installation is correct or not > (as far as I know icc takes some info from gcc). > > As an alternative, If I move to gcc as the compiler used by meson, I'm > getting the following error for each operation provided by FlexRAN: > > - "libldpc_encoder_5gnr.a(phy_ldpc_encoder_5gnr.cpp.o): relocation > R_X86_64_32S against `.rodata.str1.32' can not be used when making a shared > object; recompile with -fPIC" > > I have checked the fPIC flag and it is already included when compiling the > turbo_sw driver. > > - Versions: > > FlexRAN 19.04 > > DPDK 21.08 > > gcc Ubuntu 9.3.0 > > Ubuntu 20.04 > > Should I use gcc or icc for compiling dpdk? Any ideas about what could be > the issue in the previous environments? > > Thanks a lot in advance, > Ginés. > > > El mar, 5 oct 2021 a las 22:57, Chautru, Nicolas (< > nicolas.chautru@intel.com>) escribió: > >> Hi Gines, >> >> I don’t see such issue, you probably have to make sure libstdc++ is >> installed and accessible by meson. >> >> >> >> *From:* Ginés García Avilés <gines.garcia@i2cat.net> >> *Sent:* Tuesday, October 5, 2021 12:03 AM >> *To:* Chautru, Nicolas <nicolas.chautru@intel.com> >> *Cc:* Thomas Monjalon <thomas@monjalon.net>; users@dpdk.org >> *Subject:* Re: [dpdk-users] SW Turbo Poll Mode Driver >> >> >> >> Hi Nicolas, >> >> thanks a lot for your help. >> >> >> >> However, with the latest version of DPDK I'm still facing the following >> issue: >> >> - "drivers/baseband/turbo_sw/meson.build:13:4: ERROR: C library >> 'libstdc++' not found" >> >> >> >> These are the steps I'm actually following for the whole process: >> >> - Set env vars (*ICC *compiler, FLEXRAN_SDK, DIR_WIRELESS_SDK, ...) >> >> - meson x86_64-native-linux-icc >> >> - cd x86_64-native-linux-icc >> >> - meson configure -Dflexran_sdk=xxx/build-avx512-icc/install >> >> - ninja >> >> >> >> Thanks in advance, >> >> Ginés. >> >> >> >> El lun, 4 oct 2021 a las 23:05, Chautru, Nicolas (< >> nicolas.chautru@intel.com>) escribió: >> >> Hi Gines, >> The only thing is to make sure to set the meson option to point to the >> right location >> See https://doc.dpdk.org/guides/bbdevs/turbo_sw.html : for instance >> something like this "meson configure >> -Dflexran_sdk=xxx/build-avx512-icc/install" >> Then meson build framework will just link the libraries: see >> drivers\baseband\turbo_sw\meson.build which uses cc.find_library to >> dynamically find and link the libraries >> >> > -----Original Message----- >> > From: Thomas Monjalon <thomas@monjalon.net> >> > Sent: Wednesday, September 29, 2021 3:41 AM >> > To: Ginés García Avilés <gines.garcia@i2cat.net> >> > Cc: users@dpdk.org; Chautru, Nicolas <nicolas.chautru@intel.com> >> > Subject: Re: [dpdk-users] SW Turbo Poll Mode Driver >> > >> > +Cc maintainer >> > >> > 14/09/2021 12:58, Ginés García Avilés: >> > > Hi all, >> > > After following the steps listed here (3. SW Turbo Poll Mode Driver — >> > > Data Plane Development Kit 21.08.0 documentation (dpdk.org) >> > > <http://doc.dpdk.org/guides/bbdevs/turbo_sw.html# >> <http://doc.dpdk.org/guides/bbdevs/turbo_sw.html>>), using the >> > > specific versions of DPDK and FlexRAN, I'm facing an error while >> > > trying to run one of the bbdev >> > > tests: >> > > - command: >> > > > python2 test-bbdev.py >> > > -e="--vdev=baseband_turbo_sw,socket_id=0,max_nb_queues=8" -c >> > > validation -v turbo_dec_default.data >> > > - Error: >> > > > "Device 0 (baseband_turbo_sw) does not support specified >> > capabilities" >> > > >> > > which I think is due to an incorrect linkage of DPDK and FlexRAN. I >> > > have checked all the environmental variables pointing to the different >> > > components and everything seems to be correct. >> > > >> > > Any suggestions about how to solve this problem? >> > > >> > > Thanks a lot for your help, >> > > Ginés. >> > >> > >> >> ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-10-19 9:02 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-09-14 10:58 [dpdk-users] SW Turbo Poll Mode Driver Ginés García Avilés 2021-09-29 10:41 ` Thomas Monjalon 2021-10-04 21:05 ` Chautru, Nicolas 2021-10-05 7:02 ` Ginés García Avilés 2021-10-05 20:56 ` Chautru, Nicolas 2021-10-13 15:30 ` Ginés García Avilés 2021-10-19 9:02 ` Ginés García Avilés
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).