]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_ethdev/rte_ethdev.h
ethdev: deprecate attach and detach functions
[dpdk.git] / lib / librte_ethdev / rte_ethdev.h
index cacd76ec6a703cdaaac3e0f1f50f24794f20bd4d..7070e9ab408fd0b4569c2c8b33a3f41468ae7d42 100644 (file)
@@ -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
  */
+__rte_deprecated
 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
  */
+__rte_deprecated
 int rte_eth_dev_detach(uint16_t port_id, char *devname);
 
 /**