[dpdk-dev] [PATCH v3 01/10] table: added structure for storing table stats
Chris Wright
chrisw at redhat.com
Wed May 27 00:03:43 CEST 2015
* Maciej Gajdzica (maciejx.t.gajdzica at intel.com) wrote:
> @@ -187,6 +193,24 @@ typedef int (*rte_table_op_lookup)(
> uint64_t *lookup_hit_mask,
> void **entries);
>
> +/**
> + * Lookup table stats read
> + *
> + * @param port
Parameter is actually called table
> + * Handle to lookup table instance
> + * @param stats
> + * Handle to table stats struct to copy data
> + * @param clear
> + * Flag indicating that stats should be cleared after read
> + *
> + * @return
> + * Error code or 0 on success.
> + */
> +typedef int (*rte_table_op_stats_read)(
> + void *table,
> + struct rte_table_stats *stats,
> + int clear);
More information about the dev
mailing list