[dpdk-dev] [PATCH] pipeline: add statistics for librte_pipeline ports and tables

Stephen Hemminger stephen at networkplumber.org
Mon Mar 30 18:42:30 CEST 2015


On Mon, 30 Mar 2015 14:06:22 +0200
Maciej Gajdzica <maciejx.t.gajdzica at intel.com> wrote:

> +	/* Stats for this table. */
> +	uint64_t n_pkts_dropped_by_lkp_hit_ah;
> +	uint64_t n_pkts_dropped_by_lkp_miss_ah;
> +	uint64_t n_pkts_dropped_lkp_hit;
> +	uint64_t n_pkts_dropped_lkp_miss;
>  };

Rather than extremely_long_structure_element_name please
put all the statistics into a structure with a reasonable
length name.


More information about the dev mailing list