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
net/mlx5: handle Rx CQE compression
[dpdk.git]
/
lib
/
librte_distributor
/
rte_distributor.h
diff --git
a/lib/librte_distributor/rte_distributor.h
b/lib/librte_distributor/rte_distributor.h
index
ec0d74a
..
7d36bc8
100644
(file)
--- a/
lib/librte_distributor/rte_distributor.h
+++ b/
lib/librte_distributor/rte_distributor.h
@@
-46,11
+46,10
@@
extern "C" {
#endif
extern "C" {
#endif
-#include <rte_mbuf.h>
-
#define RTE_DISTRIBUTOR_NAMESIZE 32 /**< Length of name for instance */
struct rte_distributor;
#define RTE_DISTRIBUTOR_NAMESIZE 32 /**< Length of name for instance */
struct rte_distributor;
+struct rte_mbuf;
/**
* Function to create a new distributor instance
/**
* Function to create a new distributor instance
@@
-88,6
+87,10
@@
rte_distributor_create(const char *name, unsigned socket_id,
* packets. The distributor will ensure that no two packets that have the
* same flow id, or tag, in the mbuf will be procesed at the same time.
*
* packets. The distributor will ensure that no two packets that have the
* same flow id, or tag, in the mbuf will be procesed at the same time.
*
+ * The user is advocated to set tag for each mbuf before calling this function.
+ * If user doesn't set the tag, the tag value can be various values depending on
+ * driver implementation and configuration.
+ *
* This is not multi-thread safe and should only be called on a single lcore.
*
* @param d
* This is not multi-thread safe and should only be called on a single lcore.
*
* @param d