On 11/26/2020 4:43 PM, Gregory Etelson wrote:
According to RTE flow user guide, PMD will not keep flow rules after
port stop. Application resources that refer to flow rules become
obsolete after port stop and must not be used.
Testpmd maintains linked list of active flows for each port. Entries in
that list are allocated dynamically and must be explicitly released to
prevent memory leak.
The patch releases testpmd port flow_list that holds remaining flows
before port is stopped.
Cc: [email protected]
Signed-off-by: Gregory Etelson <[email protected]>
Carrying acks from previous version:
Acked-by: Ajit Khaparde <[email protected]>
Acked-by: Ori Kam <[email protected]>
Applied to dpdk-next-net/main, thanks.