On 5/12/23 15:41, Frode Nordahl wrote:
> At present, the system-dpdk-testsuite makes assumptions about
> environment configuration, and will error out if DPDK compatible
> interfaces not configured for DPDK are present in the system with
> a message like:
> 
> EAL: Probe PCI driver: net_virtio (1af4:1000) device: 0000:00:03.0 (socket -1)
> eth_virtio_pci_init(): Failed to init PCI device
> EAL: Requested device 0000:00:03.0 cannot be used
> 
> The system-dpdk-testsuite is useful even with no DPDK PHY
> available, as the tests requiring a PHY will skip gracefully when
> none present.
> 
> This patch extends the OVS_DPDK_START and OVS_DPDK_START_VSWITCHD
> macros to allow passing in values that will be set in
> `other_config:dpdk-extra` before the test runs.
> 
> Tests that do not use physical ports are also extended to pass
> the `--no-pci` argument.
> 
> We will use this patch in a follow-up, enabling more elaborate
> Debian autopkgtests for Open vSwitch.
> 
> Signed-off-by: Frode Nordahl <[email protected]>

Thanks!  Applied.

Also backported to 3.1 since it applies cleanly there.

Best regards, Ilya Maximets.

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

Reply via email to