X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_distributor%2Frte_distributor.h;h=7d36bc8a6ae642c5abba3a66e80f21bd539ddbfe;hb=7550f1201fc93ba1a1cd10bb3fadfa017cc11ae6;hp=ec0d74ada020025e2bc8bf415451969e9be17235;hpb=5058a6e3f9af5f8841466e367ecfb9d8aa93a6e0;p=dpdk.git diff --git a/lib/librte_distributor/rte_distributor.h b/lib/librte_distributor/rte_distributor.h index ec0d74ada0..7d36bc8a6a 100644 --- a/lib/librte_distributor/rte_distributor.h +++ b/lib/librte_distributor/rte_distributor.h @@ -46,11 +46,10 @@ extern "C" { #endif -#include - #define RTE_DISTRIBUTOR_NAMESIZE 32 /**< Length of name for instance */ struct rte_distributor; +struct rte_mbuf; /** * 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. * + * 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