Hi Eelco,

Thanks for pointing out, I have updated a patch with the fix for the two 
problems you were witnessing.
The patch also contains improvements to the MFEX testing as well like reducing 
the packet generation time,
Script generating more complicated traffic for testing corner cases like packet 
lengths, payloads etc.

> 
> Hi Kumar,
> 
> I’m playing around with some of the dapapath tests suites, and I noticed two
> problems with the MFEX tests that need fixing:
> 
> 
> If no Hughe pages are configured, two mfex tests are not skipped/passing (I
> do not have an MFEX machine so the MFEX Autovalidator Fuzzy might also be
> failing):
> 
>   # echo 0 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
>   # make check-dpdk
> 
>   ## ------------------------------- ##
>   ## openvswitch 2.17.90 test suite. ##
>   ## ------------------------------- ##
> 
>   OVS-DPDK unit tests
> 
>     1: OVS-DPDK - EAL init                             skipped 
> (system-dpdk.at:19)
>     2: OVS-DPDK - add standard DPDK port               skipped (system-
> dpdk.at:35)
>     3: OVS-DPDK - add vhost-user-client port           skipped 
> (system-dpdk.at:56)
>     4: OVS-DPDK - ping vhost-user ports                skipped 
> (system-dpdk.at:84)
>     5: OVS-DPDK - ping vhost-user-client ports         skipped (system-
> dpdk.at:157)
>     6: OVS-DPDK - MFEX Autovalidator                   FAILED 
> (system-dpdk.at:230)
>     7: OVS-DPDK - MFEX Autovalidator Fuzzy             skipped (system-
> dpdk.at:260)
>     8: OVS-DPDK - MFEX Configuration                   FAILED 
> (system-dpdk.at:293)
> 
> Secondly, if there are less than 4 CPU cores available the “OVS-DPDK - MFEX
> Configuration” is also failing, instead of skipping (maybe the MFEX
> Autovalidators are also failing?):
> 

I have added the OVS_DPDK_PRECHECK to check for huge pages and skip the test.
> 
>     1: OVS-DPDK - EAL init                             ok
>     2: OVS-DPDK - add standard DPDK port               skipped (system-
> dpdk.at:35)
>     3: OVS-DPDK - add vhost-user-client port           ok
>     4: OVS-DPDK - ping vhost-user ports                ok
>     5: OVS-DPDK - ping vhost-user-client ports         ok
>     6: OVS-DPDK - MFEX Autovalidator                   skipped 
> (system-dpdk.at:237)
>     7: OVS-DPDK - MFEX Autovalidator Fuzzy             skipped (system-
> dpdk.at:260)
>     8: OVS-DPDK - MFEX Configuration                   FAILED 
> (system-dpdk.at:342)
> 
For this fix, I have changed the CPU ID from 3 to 0 to allow it to run on any 
CPU.
Patch link: 
http://patchwork.ozlabs.org/project/openvswitch/patch/20220511162809.34542-1-kumar.am...@intel.com/

Regards
Amber
> Cheers,
> 
> 
> Eelco

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to