DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: Guduri Prathyusha <gprathyusha@caviumnetworks.com>
Cc: dev@dpdk.org, lijuanx.a.tu@intel.com
Subject: Re: [dpdk-dev] [PATCH] usertools: fix device binding when using with kernel tools
Date: Sun, 30 Apr 2017 14:22:26 +0200	[thread overview]
Message-ID: <2360815.kab1WunKFW@xps> (raw)
In-Reply-To: <1493214739-9957-1-git-send-email-gprathyusha@caviumnetworks.com>

26/04/2017 15:52, Guduri Prathyusha:
> The following sequence of operation gives error in binding devices
> 1) Bind a device using dpdk-devbind.py
> 2) Unbind the device using kernel tools(/sys/bus/pci/device/driver/unbind)
> 3) Bind the device using kernel tools(/sys/bus/pci/driver/new_id and
> /sys/bus/pci/driver/bind)
> 
> The bind failure was due to cached driver name in 'driver_override'.
> Fix it by writing 'null' to driver_override just after binding a
> device so that any method of binding/unbinding can be used.
> 
> Fixes: 2fc350293570 ("usertools: use optimized driver override scheme to bind")
> 
> Reported-by: Tu LijuanX A <lijuanx.a.tu@intel.com>
> Signed-off-by: Guduri Prathyusha <gprathyusha@caviumnetworks.com>

Applied, thanks

      reply	other threads:[~2017-04-30 12:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-26 13:52 Guduri Prathyusha
2017-04-30 12:22 ` Thomas Monjalon [this message]

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=2360815.kab1WunKFW@xps \
    --to=thomas@monjalon.net \
    --cc=dev@dpdk.org \
    --cc=gprathyusha@caviumnetworks.com \
    --cc=lijuanx.a.tu@intel.com \
    /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).