On 05/04/2018 17:31, Thomas Monjalon wrote:
05/04/2018 15:51, Declan Doherty:
+Group Count Query
+Query group counter which can be associated with multiple flows on a specified
+This function allows retrieving of group counters. Data
+is gathered by special actions which must be present in the flow rule
I would like seeing an explanation of how group counter work.
The guide can be more verbose than the doxygen comments.
A bit elaborated explanation is as below.
This function allows retrieving of group counters. A group counter is a
counter which can be shared among multiple flows on a single port or
among multiple flows on multiple ports within the same switch domain.
Data is gathered by special actions which must be present in the flow
When the tunnel is created, the underlying PMD can keep track of the
tunnel which is specified as table 0. Then each time a packet is
received belongs to the tunnel, the counter is increased. During the
query the counter is returned.