[ovs-dev] [PATCH dpdk-latest] tests: Ignore IOPL call failure.

Kevin Traynor ktraynor at redhat.com
Fri Nov 23 13:41:14 UTC 2018


On 11/23/2018 01:17 PM, Ilya Maximets wrote:
> While running without required capabilities, i.e. as a non-root
> user, virtio pmd driver always fails to register itself producing
> an error message even if DPDK not enabled.
> Tests should ignore this to work correctly.
> 
> At least required for DPDK 18.11.
> 

Thanks Ilya.

Acked-by: Kevin Traynor <ktraynor at redhat.com>

> Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
> ---
> 
> This patch should be applied before upgrade to 18.11
> to keep tests working. Another option is to squash it
> into the 18.11 support patch.
> 
>  tests/ofproto-macros.at      | 1 +
>  tests/ovn-controller-vtep.at | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/tests/ofproto-macros.at b/tests/ofproto-macros.at
> index 2a56ae6e2..081110b22 100644
> --- a/tests/ofproto-macros.at
> +++ b/tests/ofproto-macros.at
> @@ -349,6 +349,7 @@ m4_define([_OVS_VSWITCHD_START],
>  /netdev_linux|INFO|.*device has unknown hardware address family/d
>  /ofproto|INFO|datapath ID changed to fedcba9876543210/d
>  /dpdk|INFO|DPDK Disabled - Use other_config:dpdk-init to enable/d
> +/rte_virtio_pmd_init(): IOPL call failed - cannot use virtio PMD/d
>  /netlink_socket|INFO|netlink: could not enable listening to all nsid/d
>  /netdev: Flow API/d
>  /probe tc:/d
> diff --git a/tests/ovn-controller-vtep.at b/tests/ovn-controller-vtep.at
> index 416e9549c..e0365500c 100644
> --- a/tests/ovn-controller-vtep.at
> +++ b/tests/ovn-controller-vtep.at
> @@ -43,6 +43,7 @@ m4_define([OVN_CONTROLLER_VTEP_START],
>  /vswitchd|INFO|ovs-vswitchd (Open vSwitch)/d
>  /reconnect|INFO|/d
>  /ofproto|INFO|using datapath ID/d
> +/rte_virtio_pmd_init(): IOPL call failed - cannot use virtio PMD/d
>  /netlink_socket|INFO|netlink: could not enable listening to all nsid/d
>  /ofproto|INFO|datapath ID changed to fedcba9876543210/d']])
>     AT_CHECK([ovs-vsctl -- add-br br-vtep \
> 



More information about the dev mailing list