[dpdk-dev] [PATCH v7 4/4] ethdev: add shared counter support to rte_flow

Thomas Monjalon thomas at monjalon.net
Thu Apr 26 20:55:50 CEST 2018


26/04/2018 19:29, Declan Doherty:
> Add rte_flow_action_count action data structure to enable shared
> counters across multiple flows on a single port or across multiple
> flows on multiple ports within the same switch domain. Also this enables
> multiple count actions to be specified in a single flow action.
> 
> This patch also modifies the existing rte_flow_query API to take the
> rte_flow_action structure as an input parameter instead of the
> rte_flow_action_type enumeration to allow querying a specific action
> from a flow rule when multiple actions of the same type are specified.
> 
> This patch also contains updates for the bonding, failsafe and mlx5 PMDs
> and testpmd application which are affected by this API change.

The API changes must be notified in the release notes (there is a section
for API changes).





More information about the dev mailing list