Re: [dpdk-dev] [dpdk-stable] [PATCH v2] app/testpmd: fix testpmd flows left before port stop.
From: Ferruh Yigit <hidden>
Date: 2021-01-06 18:07:17
From: Ferruh Yigit <hidden>
Date: 2021-01-06 18:07:17
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: stable@dpdk.org Signed-off-by: Gregory Etelson <redacted>
Carrying acks from previous version: Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Acked-by: Ori Kam <redacted> Applied to dpdk-next-net/main, thanks.