From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3B4B4A0C56; Tue, 28 Sep 2021 10:40:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 41A35410F5; Tue, 28 Sep 2021 10:30:00 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id C886640DF6 for ; Tue, 28 Sep 2021 10:29:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632817796; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=DgJnnSRBsLkltP7jSRruQjaqRYdt6dSmbkxJTftmojs=; b=MBGsmJjAQiQeZuM1tugKzau0HdvcbZaB6/ilDfznwtjC/ongfZ3GUEeMmwaYzt4LWrtHrp FQHPsruYWFgyrCsrjsrNsluvXAEW26d8LaRbPbWBOkUtOTSKiEFGtr9x1IppVdPbQKoscR nk3BMoyiolCUG5FTwThvdurHDIAVXRU= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-192-DQadNsJTP4-Ce_ScdrdUnw-1; Tue, 28 Sep 2021 04:29:55 -0400 X-MC-Unique: DQadNsJTP4-Ce_ScdrdUnw-1 Received: by mail-lf1-f72.google.com with SMTP id a28-20020a056512021c00b003f5883dcd4bso18558829lfo.1 for ; Tue, 28 Sep 2021 01:29:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DgJnnSRBsLkltP7jSRruQjaqRYdt6dSmbkxJTftmojs=; b=VA0lyHj/5v4A04KXSzQwICD0VEv1viE7ziwBBc32PIGSt3tvymXYbgrt9qGGVgbdz2 eeaZVc9KHoTE81/kw6QjloyyUDpU3KNqCRNB6SZhQQgKzCGf9cOPXGn/qmNS+plJZ3Y7 2dxq1pmvhe7RlXe1zURbfy/45JfehF84P8aFigoJF7P+fnZr0GA++x7mv5Jeotz0HR2Q AUF6ztgXeR3QQ/brBu9mestlj6uGwsQbTZGCAIK9tFrg45jclRF51pEE5Y28lQ8Muk4V ixvkEzAqflpWpYzwxKy0pcDDFE2PSyxWFURmnn0OrV+cGrELNpFUPNApqzOsRYp68m5I IB3A== X-Gm-Message-State: AOAM533Nx8UqHmawwJHrQcgRL4RwTm0WwCt4inieePaQRwZ1zlzdHe99 X9SgIYcAi5Ia/lw/gFe6VhvwWQnnkUJ0xctNdMvu6eENMhs9muz+AI2fmpjh594jg0qUs+Cirn6 uwVb4NBJDhbX6iPtGgbA= X-Received: by 2002:a2e:8584:: with SMTP id b4mr4731540lji.477.1632817793507; Tue, 28 Sep 2021 01:29:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyD9el0XSypp/IHT3XbekFv2igtzm77EbN3Q4Hdm5b+F5Z7nPWd6FGsrPAo/8fQAU3DUqIp6qoQklFwyr6xMO4= X-Received: by 2002:a2e:8584:: with SMTP id b4mr4731530lji.477.1632817793347; Tue, 28 Sep 2021 01:29:53 -0700 (PDT) MIME-Version: 1.0 References: <1608304614-13908-2-git-send-email-xuemingl@nvidia.com> <1618283653-16510-1-git-send-email-xuemingl@nvidia.com> <1618283653-16510-6-git-send-email-xuemingl@nvidia.com> In-Reply-To: <1618283653-16510-6-git-send-email-xuemingl@nvidia.com> From: David Marchand Date: Tue, 28 Sep 2021 10:29:41 +0200 Message-ID: To: Xueming Li Cc: Thomas Monjalon , Gaetan Rivet , dev , Asaf Penso , Ferruh Yigit , Andrew Rybchenko Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v5 5/5] devargs: parse global device syntax X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Apr 13, 2021 at 5:15 AM Xueming Li 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 > Reviewed-by: Gaetan Rivet 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