Hi Thilak, Yes, we use the configure flags to enable AVX-512 instructions. We have three Jenkins jobs, each of which tests a different component of OVS with AVX-512 enabled, these are the DPCLS, DPIF and MFEX. To test the DPCLS the configure command would look like this:
./configure --with-dpdk=static --enable-autovalidator The --enable-autovalidator flag is replaced with the corresponding MFEX or DPIF flag in the other jobs. The system userspace tests are then run using "make check-system-userspace". If you look at the Email reporting the failed test, you should be able to see which of the three jobs failed which will indicate which configuration is causing problems. Kind regards, Michael Phelan. From: Thilak Raj Surendra Babu <thilakraj...@nutanix.com> Sent: Monday 11 April 2022 20:42 To: Phelan, Michael <michael.phe...@intel.com>; Ferriter, Cian <cian.ferri...@intel.com>; ovs-discuss@openvswitch.org Cc: Stokes, Ian <ian.sto...@intel.com>; Aaron Conole <acon...@redhat.com> Subject: RE: intel-ovs-compilation Thanks Cian. Hi Michael, With my v3 patch , I don't see the failure stragely. Can you please share the details of how you run this test so that I can run this test locally? I do have a machine that has avx-512 instruction set. Do you enable options such as "./configure --with-dpdk=yes --enable-autovalidator --enable-mfex-default-autovalidator --enable-dpif-default-avx512" and run make system-userspace-test ? Thanks Thilak Raj S From: Phelan, Michael <michael.phe...@intel.com<mailto:michael.phe...@intel.com>> Sent: 06 April 2022 06:32 To: Ferriter, Cian <cian.ferri...@intel.com<mailto:cian.ferri...@intel.com>>; Thilak Raj Surendra Babu <thilakraj...@nutanix.com<mailto:thilakraj...@nutanix.com>>; ovs-discuss@openvswitch.org<mailto:ovs-discuss@openvswitch.org> Cc: Stokes, Ian <ian.sto...@intel.com<mailto:ian.sto...@intel.com>>; Aaron Conole <acon...@redhat.com<mailto:acon...@redhat.com>> Subject: RE: intel-ovs-compilation Thanks Cian. Hi Thilak, This runs the OVS DPDK and system userspace unit tests on a machine in the Intel lab with OVS configured to use AVX-512 instructions in the DPCLS, DPIF and MFEX. This testing was setup as not every devloper submitting patches to OVS has access to architecture which can run Intel AVX-512 instructions which could lead to patches being submitted which break AVX-512 functionality inside OVS. The goal is to test new patches submitted to the Mailing list on the AVX-512 system and provide a log file in an email to the author should something go wrong to allow for debugging/fixes. Unfortunately because it is running Intel specific instructions there is no way for you to replicate the test environment without having access to a machine which can run these instructions. I gave a lightning talk on the process at the OVS conference in December which can be found here: https://www.youtube.com/watch?v=8OmK9DYS3Gw&list=PLaJlRa-xItwARDGAUp7lXviOgOhcRxSU-&index=27 [youtube.com]<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.youtube.com_watch-3Fv-3D8OmK9DYS3Gw-26list-3DPLaJlRa-2DxItwARDGAUp7lXviOgOhcRxSU-2D-26index-3D27&d=DwMFAg&c=s883GpUCOChKOHiocYtGcg&r=1sd3waKor_ps6hs2j0tfqmW6ts2tlVvmmMySlXCPN6w&m=o1T6D5POd1kTNORql-JNuZ1aqQQcnm7xXwh4_YaaBdxlP5FqZSK6IrJegOzJ85m8&s=47OS-z94dkIDLx02fuFkTm165gVWhioWcWN-7YOzOhM&e=> if you want some more information. I hope this gives you an insight into what is happening here and I'm happy to answer anymore questions you might have. Kind regards, Michael. From: Ferriter, Cian <cian.ferri...@intel.com<mailto:cian.ferri...@intel.com>> Sent: Wednesday 6 April 2022 13:51 To: Thilak Raj Surendra Babu <thilakraj...@nutanix.com<mailto:thilakraj...@nutanix.com>>; ovs-discuss@openvswitch.org<mailto:ovs-discuss@openvswitch.org>; Phelan, Michael <michael.phe...@intel.com<mailto:michael.phe...@intel.com>> Subject: RE: intel-ovs-compilation Hi Thilak, I'm adding Michael to the thread who can give more info here. Thanks, Cian From: discuss <ovs-discuss-boun...@openvswitch.org<mailto:ovs-discuss-boun...@openvswitch.org>> On Behalf Of Thilak Raj Surendra Babu Sent: Tuesday 5 April 2022 18:59 To: ovs-discuss@openvswitch.org<mailto:ovs-discuss@openvswitch.org> Subject: [ovs-discuss] intel-ovs-compilation Hi All, I wanted to submit a patch and noticed that it failed at the stage intel-ovs-compilation. [ovs-build] |fail| pw1613214 [ovs-dev, v2] netdev:clear out vlan flow fields while processing native tunnel (openvswitch.org) [mail.openvswitch.org]<https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openvswitch.org_pipermail_ovs-2Dbuild_2022-2DApril_021102.html&d=DwMFAg&c=s883GpUCOChKOHiocYtGcg&r=1sd3waKor_ps6hs2j0tfqmW6ts2tlVvmmMySlXCPN6w&m=o1T6D5POd1kTNORql-JNuZ1aqQQcnm7xXwh4_YaaBdxlP5FqZSK6IrJegOzJ85m8&s=Dz5zgWgqu9lkGSUJy_DWtdVDwsu0TcQfQPyoM_06BfY&e=> I had added a test case to cover the changes I did and was able to verify that my test passing for make check-system-userspace TESTSUITEFLAGS='-k datapath' make check-kernel TESTSUITEFLAGS='-k datapath' Below is the link to the patch [ovs-dev,v2] netdev:clear out vlan flow fields while processing native tunnel - Patchwork (ozlabs.org) [patchwork.ozlabs.org]<https://urldefense.proofpoint.com/v2/url?u=https-3A__patchwork.ozlabs.org_project_openvswitch_patch_20220404230135.2571-2D1-2Dthilakraj.sb-40nutanix.com_&d=DwMFAg&c=s883GpUCOChKOHiocYtGcg&r=1sd3waKor_ps6hs2j0tfqmW6ts2tlVvmmMySlXCPN6w&m=o1T6D5POd1kTNORql-JNuZ1aqQQcnm7xXwh4_YaaBdxlP5FqZSK6IrJegOzJ85m8&s=DWrhk_URkn8B_eImoC25vgcZD3ISgxNLSs-03niLVLk&e=> Can someone please let me know how to run this failing test for me to understand why it is failing? Thanks Thilak Raj S
_______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss