From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 267A4A0524 for ; Fri, 31 Jan 2020 06:03:04 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 67B071C043; Fri, 31 Jan 2020 06:03:03 +0100 (CET) Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) by dpdk.org (Postfix) with ESMTP id 71FAE1C042 for ; Fri, 31 Jan 2020 06:03:02 +0100 (CET) Received: by mail-qt1-f177.google.com with SMTP id l19so4469256qtq.8 for ; Thu, 30 Jan 2020 21:03:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emumba-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LSKppMcKVtWYKoA9k51rMPi7GSVWAX7anupieLcAuTA=; b=kM02V3UH7h4cXwp0AxUrdHS5ENty/a4KTtof0Ot24dq3T+A1oEzvXIdRsfhJgqgqk1 we+vFxKSTElJtd3KDP2bMreRVOf7z31/azS5b70mqNh852115XOfGtqLksaD8HLFDMoq ARXAe6cJcL1AncCqxg1nQIVst5h7blQYweiB267Fc8TK/1/vchTm2sof3QFVXj1OIyDx DMXm6B4yNU0IxyaX39KzYVXa4JxUET0PEjj8enXwriz4mZIjOghybkg6TR0uj9k4D26E ODSkzCWUgowxmIZX+BqsGIZEzyKqVc2lKrJNISOllMMfLVp1BypCA9cqzYz+sE9YDDlL b7eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LSKppMcKVtWYKoA9k51rMPi7GSVWAX7anupieLcAuTA=; b=mducI8B/Mpm5S7SxSEATIRzialIlNspYBU8idgr6USxjPGmrHkI/TBzjF7qXx0hugj ciCYSmn2q8c+6QMTey9ULaLb17s1zJCTDeP/FZwL8l39QuDZLXDeFXV8J2h+n8Ro+zHx SF5H7E2KTB5tMVlFMvZWPDQ1tcYto5vrgPHnbsJDf9+nyYWyJCEIIij1IwKqsWq8YBjn vhGNHbq4YpsniAiOFYmJPSBhpuQS80fq2LFgydHRr9/Kn5xoYEgxTqZeq2EiNINqY9Kk a2ZrntwtjlN0Eh7c33YFYE6Yi+FDDoXenpBcbeeHFeALEtK6dhroluoRE82y5AB6hOWF oeDQ== X-Gm-Message-State: APjAAAUq9VGIF+ruAvZBMXInLF/nOy7x983FzT5qcVzO+i9ieW/aYJn3 n8LvBkDbYA6NORC8ReLkSrO0Kh6yTlYOc1GfzdLQjg== X-Google-Smtp-Source: APXvYqwC/5PTUhj4SiZlDSUKcWuuMzFBl8y5konSUTJKT9NaHP/HHngESa/NBa0wMqlxkeDJwdb3fjtDdjoYvOqdx/8= X-Received: by 2002:ac8:3886:: with SMTP id f6mr8825721qtc.160.1580446981712; Thu, 30 Jan 2020 21:03:01 -0800 (PST) MIME-Version: 1.0 References: <799931e3-6a1a-3128-8f13-3a8f6a602f6a@linux.vnet.ibm.com> In-Reply-To: <799931e3-6a1a-3128-8f13-3a8f6a602f6a@linux.vnet.ibm.com> From: Waqqas Jabbar Date: Fri, 31 Jan 2020 10:02:50 +0500 Message-ID: To: David Christensen Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-users] Using devbind.py for automated testing X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Thanks David. I will check it out On Fri, Jan 31, 2020 at 4:13 AM David Christensen wrote: > > > My questions are: > > - Has anyone developed similar functionality? if yes, please share its details. > > - Any better way to achieve the same functionality? > > Have you seen the driverctl application? > https://gitlab.com/driverctl/driverctl > > I've found it useful for scripting with Ansible. > > # driverctl list-devices > # driverctl list-overrides > # driverctl -v set-override 0000:00:01.0 vfio > # driverctl -v unset-override 0000:00:01.0 > > Dave