On dual socket system, we had [0] error, preventing ovs to properly configure.
This is due to the fact OVN tests configure (hardcode) number of rx_queues to 
2, while
OVS uses by default 1 PMD thread per numa node, and (num_pmd_threads + 1) tx 
queues.
Hence, on multi numa node systems, tests failed to start.

[0] TAP: tap_dev_configure(): net_tapsw0-p1: number of rx queues 2 must be 
equal to number of tx queues 3

Fixes: 4fd16557e107 ("tests: add make check-system-dpdk to test suite.")
Signed-off-by: Xavier Simonart <[email protected]>
---
 tests/system-dpdk-macros.at | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/system-dpdk-macros.at b/tests/system-dpdk-macros.at
index 0d0a19130..6eb688838 100644
--- a/tests/system-dpdk-macros.at
+++ b/tests/system-dpdk-macros.at
@@ -43,7 +43,7 @@ m4_define([OVS_TRAFFIC_VSWITCHD_START],
   [OVS_DPDK_PRE_CHECK()
    OVS_WAIT_WHILE([ip link show ovs-netdev])
    _OVS_VSWITCHD_START([--disable-system],
-                       [-- set Open_vSwitch . other_config:dpdk-init=true 
other_config:dpdk-extra="--log-level=pmd.*:error --no-pci"])
+                       [-- set Open_vSwitch . other_config:dpdk-init=true 
other_config:pmd-cpu-mask=0x1 other_config:dpdk-extra="--log-level=pmd.*:error 
--no-pci"])
    dnl Add bridges, ports, etc.
    OVS_WAIT_WHILE([ip link show br0])
    AT_CHECK([ovs-vsctl -- _ADD_BR([br0]) -- $1 m4_if([$2], [], [], [| 
uuidfilt])], [0], [$2])
-- 
2.47.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to