MCPcopy Create free account
hub / github.com/F-Stack/f-stack / has_driver

Function has_driver

dpdk/usertools/dpdk-devbind.py:166–168  ·  view source on GitHub ↗

return true if a device is assigned to a driver. False otherwise

(dev_id)

Source from the content-addressed store, hash-verified

164
165
166def has_driver(dev_id):
167 '''return true if a device is assigned to a driver. False otherwise'''
168 return "Driver_str" in devices[dev_id]
169
170
171def get_pci_device_details(dev_id, probe_lspci):

Callers 4

get_device_detailsFunction · 0.85
unbind_oneFunction · 0.85
bind_oneFunction · 0.85
show_device_statusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected