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
ipc: end multiprocess thread during cleanup
[dpdk.git]
/
lib
/
ethdev
/
ethdev_private.h
diff --git
a/lib/ethdev/ethdev_private.h
b/lib/ethdev/ethdev_private.h
index
3724429
..
cc91025
100644
(file)
--- a/
lib/ethdev/ethdev_private.h
+++ b/
lib/ethdev/ethdev_private.h
@@
-10,7
+10,7
@@
#include "rte_ethdev.h"
/*
#include "rte_ethdev.h"
/*
- * Convert rte_eth_dev pointer to port
id
.
+ * Convert rte_eth_dev pointer to port
ID
.
* NULL will be translated to RTE_MAX_ETHPORTS.
*/
uint16_t eth_dev_to_id(const struct rte_eth_dev *dev);
* NULL will be translated to RTE_MAX_ETHPORTS.
*/
uint16_t eth_dev_to_id(const struct rte_eth_dev *dev);
@@
-26,4
+26,11
@@
eth_find_device(const struct rte_eth_dev *_start, rte_eth_cmp_t cmp,
/* Parse devargs value for representor parameter. */
int rte_eth_devargs_parse_representor_ports(char *str, void *data);
/* Parse devargs value for representor parameter. */
int rte_eth_devargs_parse_representor_ports(char *str, void *data);
+/* reset eth fast-path API to dummy values */
+void eth_dev_fp_ops_reset(struct rte_eth_fp_ops *fpo);
+
+/* setup eth fast-path API to ethdev values */
+void eth_dev_fp_ops_setup(struct rte_eth_fp_ops *fpo,
+ const struct rte_eth_dev *dev);
+
#endif /* _ETH_PRIVATE_H_ */
#endif /* _ETH_PRIVATE_H_ */