[dpdk-dev] [RFC PATCH 0/2] Flow entities behavior across port restart

Dmitry Kozlyuk dkozlyuk at nvidia.com
Wed Sep 1 10:55:14 CEST 2021


It is currently unspecified if flow rules and indirect actions persist
across port restart and reconfiguration. Actual behavior differs between
PMDs, for example, i40e and mlx5. There are patches that try to fix
particular behavior [1] or at least document it for specific PMDs [2].
We propose to codify the least demanding behavior, i.e. no persistence,
and to add device capabilities for persistence of rules and actions.
This continues the discussion thread [3].

[1]: http://patchwork.dpdk.org/project/dpdk/list/?series=18065
[2]: http://patchwork.dpdk.org/project/dpdk/list/?series=17939
[3]: http://inbox.dpdk.org/dev/20210727073121.895620-5-dkozlyuk@nvidia.com/

Dmitry Kozlyuk (2):
  ethdev: add capability to keep flow rules on restart
  ethdev: add capability to keep indirect actions on restart

 doc/guides/prog_guide/rte_flow.rst | 21 +++++++++++++++++++++
 lib/ethdev/rte_ethdev.h            |  7 +++++++
 2 files changed, 28 insertions(+)

-- 
2.25.1



More information about the dev mailing list