[dpdk-dev] [dpdk-stable] [PATCH v2] app/testpmd: fix testpmd flows left before port stop.

Ferruh Yigit ferruh.yigit at intel.com
Wed Jan 6 19:07:09 CET 2021


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 at dpdk.org
> 
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>

Carrying acks from previous version:
Acked-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
Acked-by: Ori Kam <orika at nvidia.com>

Applied to dpdk-next-net/main, thanks.


More information about the dev mailing list