numam-dpdk/devtools
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
..
cocci devtools/cocci: create safer version of strlcpy script 2019-04-04 22:45:33 +02:00
build-tags.sh eal: move arch-specific header files 2020-03-31 13:08:55 +02:00
check-abi-version.sh devtools: move ABI scripts from buildtools 2019-11-28 16:36:11 +01:00
check-abi.sh devtools: skip experimental libraries in ABI check 2020-02-21 17:44:02 +01:00
check-dup-includes.sh devtools: support FreeBSD 2019-07-31 00:22:33 +02:00
check-forbidden-tokens.awk devtools: add explicit warnings for forbidden tokens 2018-11-04 21:54:04 +01:00
check-git-log.sh devtools: export dictionary for commit title check 2020-02-25 21:24:31 +01:00
check-includes.sh eal: remove exec-env directory 2019-04-02 21:49:35 +02:00
check-maintainers.sh use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
check-symbol-change.sh devtools: fix symbol map change check 2020-03-23 14:19:45 +01:00
check-symbol-maps.sh devtools: check orphan symbols in map files 2018-05-29 17:43:33 +02:00
checkpatches.sh devtools: check use of compiler attributes 2020-04-16 18:30:58 +02:00
cocci.sh fix Mellanox copyright and SPDX tag 2020-02-13 18:47:28 +01:00
gen-abi.sh devtools: add ABI checks 2020-02-05 15:14:46 +01:00
get-maintainer.sh devtools: support FreeBSD 2019-07-31 00:22:33 +02:00
git-log-fixes.sh devtools: add fixes flag to commit listing 2020-02-25 17:24:49 +01:00
libabigail.abignore ethdev: support flow aging 2020-04-21 17:34:05 +02:00
load-devel-config devtools: add SPDX license tag to config loader 2020-02-22 15:17:03 +01:00
test-build.sh devtools: skip ABI check in static builds 2020-04-21 11:17:42 +02:00
test-meson-builds.sh devtools: reduce examples in static builds 2020-04-21 11:17:38 +02:00
test-null.sh devtools: add path to additional shared object files 2020-01-14 09:45:23 +01:00
update_version_map_abi.py devtools: move ABI scripts from buildtools 2019-11-28 16:36:11 +01:00
update-abi.sh devtools: move ABI scripts from buildtools 2019-11-28 16:36:11 +01:00
validate-abi.sh devtools: support FreeBSD 2019-07-31 00:22:33 +02:00
words-case.txt devtools: add acronyms in dictionary for commit checks 2020-03-06 19:52:35 +01:00