numam-dpdk/app
Gregory Etelson 0f93edbf7c app/testpmd: release flows left before port stop
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 <getelson@nvidia.com>
Acked-by: Ori Kam <orika@nvidia.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2021-01-08 16:03:07 +01:00
..
pdump eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
proc-info app/procinfo: remove useless assignment 2021-01-11 10:45:34 +01:00
test test/eal: remove unneeded command 2020-11-20 09:58:55 +01:00
test-acl eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
test-bbdev app/bbdev: dequeue full ring in offload test 2020-11-02 09:24:41 +01:00
test-cmdline cmdline: avoid name clash with Windows system types 2020-11-05 17:49:00 +01:00
test-compress-perf eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
test-crypto-perf app/crypto-perf: remove always true condition 2021-01-11 10:45:34 +01:00
test-eventdev app/eventdev: check timer adadpters number 2020-11-13 09:52:11 +01:00
test-fib fix spellings that Lintian complains about 2020-11-04 20:11:31 +01:00
test-flow-perf app/flow-perf: simplify objects initialization 2021-01-07 15:52:29 +01:00
test-pipeline eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
test-pmd app/testpmd: release flows left before port stop 2021-01-08 16:03:07 +01:00
test-regex app/regex: add job context 2020-11-03 02:06:03 +01:00
test-sad eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
meson.build build: fix plugin load on static build 2021-01-05 23:01:36 +01:00