diff mbox series

[ovs-dev,v1] dpif-netdev.at: Improve mfex auto-validator test to cover avx512 path.

Message ID 20211201150439.3439545-1-kumar.amber@intel.com
State Deferred
Headers show
Series [ovs-dev,v1] dpif-netdev.at: Improve mfex auto-validator test to cover avx512 path. | expand

Checks

Context Check Description
ovsrobot/apply-robot fail apply and check: fail

Commit Message

Kumar Amber Dec. 1, 2021, 3:04 p.m. UTC
AVX512 DPIF must be active in order for the MFEX AutoValidator to be executed.
If the DPIF-AVX512 is not available, the unit test is skipped, as the
scalar DPIF does not use the MFEX function-pointer based optimizations.

This patch depends on the following patch-set:
http://patchwork.ozlabs.org/project/openvswitch/list/?series=274454

Suggested-by: Cian Ferriter <cian.ferriter@intel.com>
Signed-off-by: Kumar Amber <kumar.amber@intel.com>
---
 tests/dpif-netdev.at | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

0-day Robot Dec. 1, 2021, 3:36 p.m. UTC | #1
Bleep bloop.  Greetings Kumar Amber, I am a robot and I have tried out your patch.
Thanks for your contribution.

I encountered some error that I wasn't expecting.  See the details below.


git-am:
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch' to see the failed patch
Patch failed at 0001 dpif-netdev.at: Improve mfex auto-validator test to cover avx512 path.
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".


Patch skipped due to previous failure.

Please check this out.  If you feel there has been an error, please email aconole@redhat.com

Thanks,
0-day Robot
diff mbox series

Patch

diff --git a/tests/dpif-netdev.at b/tests/dpif-netdev.at
index fbb8fe9a7..92bf5503e 100644
--- a/tests/dpif-netdev.at
+++ b/tests/dpif-netdev.at
@@ -650,6 +650,10 @@  on_exit "pkill -f -x -9 '$PYTHON3 $srcdir/genpkts.py -1'"
      ovs-appctl netdev-dummy/receive p1 "$pkt" || break
  done) &
 
+AT_SKIP_IF([! ovs-appctl dpif-netdev/dpif-impl-set dpif_avx512], [], [dnl
+DPIF implementation set to dpif_avx512.
+])
+
 AT_CHECK([ovs-appctl dpif-netdev/miniflow-parser-set autovalidator], [0], [dnl
 Miniflow extract implementation set to autovalidator.
 ])
@@ -674,6 +678,10 @@  on_exit "pkill -f -x -9 '$PYTHON3 $srcdir/genpkts.py -1 fuzz'"
      ovs-appctl netdev-dummy/receive p1 "$pkt" || break
  done) &
 
+AT_SKIP_IF([! ovs-appctl dpif-netdev/dpif-impl-set dpif_avx512], [], [dnl
+DPIF implementation set to dpif_avx512.
+])
+
 AT_CHECK([ovs-appctl dpif-netdev/miniflow-parser-set autovalidator], [0], [dnl
 Miniflow extract implementation set to autovalidator.
 ])