DPDK usage discussions
 help / color / mirror / Atom feed
From: David Christensen <drc@linux.vnet.ibm.com>
To: users@dpdk.org
Subject: Re: [dpdk-users] Using devbind.py for automated testing
Date: Thu, 30 Jan 2020 15:13:40 -0800	[thread overview]
Message-ID: <799931e3-6a1a-3128-8f13-3a8f6a602f6a@linux.vnet.ibm.com> (raw)
In-Reply-To: <CAKd7n16KhOA7B9ec9YDv63e8jkUvGXT53+MO+WfSyhWgzmsvUA@mail.gmail.com>

> 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

  reply	other threads:[~2020-01-30 23:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-29 10:55 Waqqas Jabbar
2020-01-30 23:13 ` David Christensen [this message]
2020-01-31  5:02   ` Waqqas Jabbar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=799931e3-6a1a-3128-8f13-3a8f6a602f6a@linux.vnet.ibm.com \
    --to=drc@linux.vnet.ibm.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).