Re: [dpdk-dev] [PATCH v5 5/5] devargs: parse global device syntax
From: David Marchand <hidden>
Date: 2021-09-28 08:30:09
From: David Marchand <hidden>
Date: 2021-09-28 08:30:09
On Tue, Apr 13, 2021 at 5:15 AM Xueming Li [off-list ref] wrote:
When parsing a devargs, try to parse using the global device syntax first. Fallback on legacy syntax on error. Example of new global device syntax: -a bus=pci,addr=82:00.0/class=eth/driver=mlx5,dv_flow_en=1 Signed-off-by: Xueming Li <redacted> Reviewed-by: Gaetan Rivet <redacted>
Starting with a virtio user port, I get a warning: # dpdk-testpmd --vdev net_virtio_user0,iface=test,path=/dev/vhost-net,queues=1 --log-level=pmd.net.virtio.*:debug -- -i ... EAL: Unrecognized layer dev/vhost-net,queues=1 ... Am I doing something wrong? If not, could you have a look? Thanks. -- David Marchand