[dpdk-dev] [PATCH] ethdev: support flow aging

2020-04-10 Thread BillZhou
e_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. Signed-off-by: BillZhou --- app/test-pmd/cmdline_flow.c | 26 ++ doc/guides/prog_guide/rte_flow.rst | 22 + doc/guides/rel_notes/rel

[dpdk-dev] [PATCH v2] [RFC] ethdev: support flow aging

2020-03-16 Thread BillZhou
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. By this design each PMD can use its best way to do the aging with the device offloads supported by its HW. Signed-off-by: BillZhou ---

[dpdk-dev] [PATCH v2] [RFC] ethdev: support flow aging

2020-03-16 Thread BillZhou
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 no any dpdk mechanism for flow aging and the applications use there own ways to detect and destroy aged-out flows. This