git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ethdev: use device handle to detach
[dpdk.git]
/
lib
/
librte_eal
/
common
/
include
/
rte_dev.h
diff --git
a/lib/librte_eal/common/include/rte_dev.h
b/lib/librte_eal/common/include/rte_dev.h
index
a0d67d0
..
9f2765d
100644
(file)
--- a/
lib/librte_eal/common/include/rte_dev.h
+++ b/
lib/librte_eal/common/include/rte_dev.h
@@
-183,13
+183,12
@@
int rte_eal_dev_attach(const char *name, const char *devargs);
/**
* Detach a device from its driver.
*
/**
* Detach a device from its driver.
*
- * @param name
- * Same description as for rte_eal_dev_attach().
- * Here, eal will call the driver detaching function.
+ * @param dev
+ * A pointer to a rte_device structure.
* @return
* 0 on success, negative on error.
*/
* @return
* 0 on success, negative on error.
*/
-int rte_eal_dev_detach(
const char *name
);
+int rte_eal_dev_detach(
struct rte_device *dev
);
/**
* @warning
/**
* @warning