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 45D43A00C4; Fri, 29 Jul 2022 15:42:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E97274069C; Fri, 29 Jul 2022 15:42:27 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 872BA40151 for ; Fri, 29 Jul 2022 15:42:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1659102145; 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=jygP2z+jjlg+EIZvPRzLXjXq2mwBOthDCWz55er9Wrk=; b=N1BT1GKujpxkbhISSaSCtH4KkVPpF1kjXdxeowMbmwBJrys5Z6mx9C47LDn5TRnU7H2HBj rnBFhkijK/la3behN6WBs6l54mgMtqIZcjnyj5pNBGi7bzIG3Ot9jE344HquxHjRQ7cv4P NsoNj08P6dRLHe00k1N6HJb70ajn410= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-137--85YandUNeOyh94uIPUmiA-1; Fri, 29 Jul 2022 09:42:23 -0400 X-MC-Unique: -85YandUNeOyh94uIPUmiA-1 Received: by mail-lf1-f71.google.com with SMTP id bp42-20020a05651215aa00b0048ab8b3de4aso1646278lfb.13 for ; Fri, 29 Jul 2022 06:42:23 -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=jygP2z+jjlg+EIZvPRzLXjXq2mwBOthDCWz55er9Wrk=; b=eF1UXFVDzKDVoBkvQGo5+DSkB3xMMSY8mL/kJ2hoZgz7IEPAuu/1Jl6MonKJeCNOu2 zbomNvbmsUCZmjOCuRU8PrZiO+PBKjnMfSrcN7H7OYDsvlrf43q1YiartL9YvpHz5tjV C5YjyAP2ahfr3TUG7ffMNufAt/sqOx/uyb1ybZG9sN/ZM+JjG4d3iTcZ41KIL+yR7X+0 HXD0f+B8DWptmVNIGlW8fjzjnlycc0BT0FzjP+LdZWhFIknrh+aJD56xlXEvE/gQ4ijB jwi/oh5e0GV00JQ8slqOLtrWcP1PXomzv5mg2D/qtWhUcbrNiU/Cp6CXAjBoQniRBOLN 1TSg== X-Gm-Message-State: AJIora+tJX1rnnimHY5h/enw2jVEtN1Ta0AEcQgNiDvxNPCdD8Gmv5Op PYVMI1M2gdReeY5D48Tg8BnN3o21v4UkEWxzxqbesFt9jQD/+zif7pXHuEGAQ/yo/17bokjS8Fg jomA10qH1SofPTeoCUqM= X-Received: by 2002:a05:651c:106c:b0:25e:11f3:1e with SMTP id y12-20020a05651c106c00b0025e11f3001emr1138982ljm.55.1659102142407; Fri, 29 Jul 2022 06:42:22 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uZSV9msTZNuBUkVy8ATGdqY6hw1HeDdoynhMLeURdvY2TS0cPUoQEONW+CorvBsqQRIu5je9TyR8X0iNlcF6M= X-Received: by 2002:a05:651c:106c:b0:25e:11f3:1e with SMTP id y12-20020a05651c106c00b0025e11f3001emr1138972ljm.55.1659102141996; Fri, 29 Jul 2022 06:42:21 -0700 (PDT) MIME-Version: 1.0 References: <20220729095400.774303-1-david.marchand@redhat.com> In-Reply-To: From: David Marchand Date: Fri, 29 Jul 2022 15:42:10 +0200 Message-ID: Subject: Re: [PATCH] app/test: invoke all telemetry commands To: Bruce Richardson Cc: dev , Chengwen Feng , Aaron Conole , Michael Santana , Ciara Power 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" 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 On Fri, Jul 29, 2022 at 3:27 PM Bruce Richardson wrote: > > > Rather than looping for each driver and building a huge cmdline, we should > > > just be able to pass in the path to the drivers directory, and have DPDK > > > auto-load all .so files there. Passing in "meson.project_build_root() + > > > '/drivers'" should probably work. If we want a more correct way to get the > > > drivers build directory, we can call meson.current_build_dir() when > > > processing the drivers and save off that value to be reused here. > > > > Or simply resolve this with a: > > test_args += ['-d', fs.parent(dpdk_drivers[0].full_path())] > > > > But the problem is that the fs meson module comes with version 0.53 afaics. > > Any elegant alternative idea? > > > I think the approach you have taken in the v2 is best. I'm happy that you like your own suggestion ;-). Joke aside, thanks Bruce. -- David Marchand