numam-dpdk/app
Dong Zhou 44bf3c796b ethdev: support flow aging
One of the reasons to destroy a flow is the fact that no packet matches
the flow for "timeout" time.
For example, when TCP\UDP sessions are suddenly closed.

Currently, there is not any DPDK mechanism for flow aging and the
applications use their own ways to detect and destroy aged-out flows.

The flow aging implementation need include:
- A new rte_flow action: RTE_FLOW_ACTION_TYPE_AGE to set the timeout and
  the application flow context for each flow.
- A new ethdev event: RTE_ETH_EVENT_FLOW_AGED for the driver to report
  that there are new aged-out flows.
- A new rte_flow API: rte_flow_get_aged_flows to get the aged-out flows
  contexts from the port.
- Support input flow aging command line in Testpmd.

The new event type addition in the enum is flagged as an ABI breakage,
so an ignore rule is added for these reasons:
- It is not changing value of existing types (except MAX)
- The new value is not used by existing API if the event is not
  registered
In general, it is safe adding new ethdev event types at the end of the
enum, because of event callback registration mechanism.

Signed-off-by: Dong Zhou <dongz@mellanox.com>
Acked-by: Ori Kam <orika@mellanox.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Matan Azrad <matan@mellanox.com>
2020-04-21 17:34:05 +02:00
..
pdump app/pdump: fix build with clang 2020-02-06 09:20:56 +01:00
proc-info app/procinfo: use strlcpy for copying string 2019-10-27 11:33:24 +01:00
test test/trace: add performance test cases 2020-04-23 15:40:04 +02:00
test-acl replace unused attributes 2020-04-16 18:30:58 +02:00
test-bbdev baseband/fpga_5gnr_fec: add configure function 2020-04-19 22:34:26 +02:00
test-cmdline replace unused attributes 2020-04-16 18:30:58 +02:00
test-compress-perf build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
test-crypto-perf replace unused attributes 2020-04-16 18:30:58 +02:00
test-eventdev replace always-inline attributes 2020-04-16 18:16:46 +02:00
test-fib build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
test-pipeline replace unused attributes 2020-04-16 18:30:58 +02:00
test-pmd ethdev: support flow aging 2020-04-21 17:34:05 +02:00
test-sad build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
Makefile app/test-fib: add in default build 2020-04-10 11:38:02 +02:00
meson.build build: disable experimental API check internally 2020-04-14 16:22:34 +02:00