[ovs-dev] [PATCH 1/1] netdev-dpdk: Fix comparing virtio driver name

liyang_12921 liyang_12921 at 163.com
Mon Aug 30 11:50:59 UTC 2021


Yes, my net_virtio_user port cannot be created with error message is "dpdk|ERR|virtio_dev_configure(): Unsupported Rx multi queue mode 1". 
I verified your patch a moment ago and it works great.Obviously, your method is more reliable than comparing virtio driver name. 


Thanks.


| |
liyang_12921
|
|
|
签名由网易邮箱大师定制
On 8/30/2021 18:16,David Marchand<david.marchand at redhat.com> wrote:
On Mon, Aug 30, 2021 at 11:23 AM liyang_12921 <liyang_12921 at 163.com> wrote:

Replace strcmp() with strncmp(), because the strcmp() function requires that the two strings are exactly the same.

What was exactly the issue, is this because you were trying to use
net_virtio_user ports?

If so, could you have a try with this patch I just sent?
https://patchwork.ozlabs.org/project/openvswitch/patch/20210830101304.13689-1-david.marchand@redhat.com/

Thanks.


--
David Marchand


More information about the dev mailing list