DPDK  23.07.0
Data Fields
rte_flow_query_count Struct Reference

#include <rte_flow.h>

Data Fields

uint32_t reset:1
 
uint32_t hits_set:1
 
uint32_t bytes_set:1
 
uint32_t reserved:29
 
uint64_t hits
 
uint64_t bytes
 

Detailed Description

RTE_FLOW_ACTION_TYPE_COUNT (query)

Query structure to retrieve and reset flow rule counters.

Examples:
examples/flow_classify/flow_classify.c, and examples/ipsec-secgw/flow.c.

Definition at line 3185 of file rte_flow.h.

Field Documentation

◆ reset

uint32_t reset

Reset counters after query [in].

Examples:
examples/flow_classify/flow_classify.c.

Definition at line 3186 of file rte_flow.h.

◆ hits_set

uint32_t hits_set

hits field is set [out].

Definition at line 3187 of file rte_flow.h.

◆ bytes_set

uint32_t bytes_set

bytes field is set [out].

Definition at line 3188 of file rte_flow.h.

◆ reserved

uint32_t reserved

Reserved, must be zero [in, out].

Definition at line 3189 of file rte_flow.h.

◆ hits

uint64_t hits

Number of hits for this rule [out].

Examples:
examples/ipsec-secgw/flow.c.

Definition at line 3190 of file rte_flow.h.

◆ bytes

uint64_t bytes

Number of bytes through this rule [out].

Definition at line 3191 of file rte_flow.h.


The documentation for this struct was generated from the following file: