Re: Building DPDK with IOVA_AS_VA

2023-02-19 Thread Thomas Monjalon
19/02/2023 11:01, Thomas Monjalon: > 09/12/2022 10:33, fengchengwen: > > The hns3 and idpf both use static_library to build advanced vector (e.g. > > SVE for hns3 and AVX512 for idpf). > > The static-library is still compiled even the PMD is not compiled, and this > > lead to the compile fail p

Re: Building DPDK with IOVA_AS_VA

2023-02-19 Thread Thomas Monjalon
09/12/2022 10:33, fengchengwen: > The hns3 and idpf both use static_library to build advanced vector (e.g. > SVE for hns3 and AVX512 for idpf). > The static-library is still compiled even the PMD is not compiled, and this > lead to the compile fail problem. > > Although the following could s

Re: Building DPDK with IOVA_AS_VA

2022-12-09 Thread fengchengwen
The hns3 and idpf both use static_library to build advanced vector (e.g. SVE for hns3 and AVX512 for idpf). The static-library is still compiled even the PMD is not compiled, and this lead to the compile fail problem. Although the following could solve the problem, but is there a better plan

RE: Building DPDK with IOVA_AS_VA

2022-12-06 Thread Wu, Jingjing
Yes, thanks for the suggestion. > -Original Message- > From: Shijith Thotton > Sent: Wednesday, December 7, 2022 3:16 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Morten Brørup ; Richardson, > Bruce > > Subject: RE: Building DPDK with IOVA_AS_VA &g

RE: Building DPDK with IOVA_AS_VA

2022-12-06 Thread Shijith Thotton
Hi Jingjing Wu/Beilei Xing. >I guess driver may not handle the attribute enable_iova_as_pa well right now. >Maybe you can have a try by disabling idpf driver by adding "- >Ddisable_drivers=net/idpf". > Please send a fix. A check can be added similar to hns3 PMD. +if dpdk_conf.get('RTE_IOVA_AS_P

RE: Building DPDK with IOVA_AS_VA

2022-12-06 Thread Wu, Jingjing
Richardson, Bruce ; Wu, Jingjing > ; Xing, Beilei > Cc: dev@dpdk.org; Shijith Thotton > Subject: RE: Building DPDK with IOVA_AS_VA > > +To: Intel idpf maintainers Jingjing Wu, Beilei Xing > > > From: Morten Brørup [mailto:m...@smartsharesystems.com] > > Sent: Tuesday, 6

RE: Building DPDK with IOVA_AS_VA

2022-12-06 Thread Morten Brørup
+To: Intel idpf maintainers Jingjing Wu, Beilei Xing > From: Morten Brørup [mailto:m...@smartsharesystems.com] > Sent: Tuesday, 6 December 2022 17.58 > > Bruce, > > How do I build with IOVA_AS_VA, to benefit from Shijith Thotton's > patch? (Bonus question: How do I make the CI build this way?) >

Building DPDK with IOVA_AS_VA

2022-12-06 Thread Morten Brørup
Bruce, How do I build with IOVA_AS_VA, to benefit from Shijith Thotton's patch? (Bonus question: How do I make the CI build this way?) When I try this command: meson -Dplatform=generic -Dcheck_includes=true -Denable_iova_as_pa=false work It fails with: drivers/net/idpf/meson.build:36:8: ERROR: