diff options
author | Juraj Linkeš <juraj.linkes@pantheon.tech> | 2020-11-13 13:46:20 +0100 |
---|---|---|
committer | Juraj Linke? <juraj.linkes@pantheon.tech> | 2020-12-04 12:46:49 +0000 |
commit | c170a0802eb8781757578440007eace9bfc3e407 (patch) | |
tree | 8357124f8e4904c904f7d32bdd15579c21c1cd08 /docs/testing_in_vagrant.rst | |
parent | 9198e921f049160d4ba854858ad08e73dca9eaf0 (diff) |
vpp_device: fix vpp device kernel driver binding
Attempt to unbind a driver from a device only if it is bound to a
driver.
Remove the dynamic addition of an existing device ID to a driver. From
the docs [0]:
Writing a device ID to this file will attempt to
dynamically add a new device ID to a PCI device driver.
Since we assume the VFs are bound to the kernel driver when VPP Device
topology creation is done, it implies that the kernel driver supports
the device ID of those VFs, removing the need to add the support.
[0]: https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-pci
Change-Id: I20f3ca071a5a84a06ff358ba514532248a8f9ad0
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
(cherry picked from commit 71d7150a65a7c006bf46b2c1001dbaa00b5681fb)
Diffstat (limited to 'docs/testing_in_vagrant.rst')
0 files changed, 0 insertions, 0 deletions