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: deprecate attach and detach functions
[dpdk.git]
/
lib
/
librte_ethdev
/
rte_ethdev.h
diff --git
a/lib/librte_ethdev/rte_ethdev.h
b/lib/librte_ethdev/rte_ethdev.h
index
cacd76e
..
7070e9a
100644
(file)
--- a/
lib/librte_ethdev/rte_ethdev.h
+++ b/
lib/librte_ethdev/rte_ethdev.h
@@
-1431,6
+1431,7
@@
uint16_t __rte_experimental rte_eth_dev_count_total(void);
* @return
* 0 on success and port_id is filled, negative on error
*/
* @return
* 0 on success and port_id is filled, negative on error
*/
+__rte_deprecated
int rte_eth_dev_attach(const char *devargs, uint16_t *port_id);
/**
int rte_eth_dev_attach(const char *devargs, uint16_t *port_id);
/**
@@
-1446,6
+1447,7
@@
int rte_eth_dev_attach(const char *devargs, uint16_t *port_id);
* @return
* 0 on success and devname is filled, negative on error
*/
* @return
* 0 on success and devname is filled, negative on error
*/
+__rte_deprecated
int rte_eth_dev_detach(uint16_t port_id, char *devname);
/**
int rte_eth_dev_detach(uint16_t port_id, char *devname);
/**