[v4,0/2] ethdev: add random item support

Message ID 20231214105844.1640764-1-michaelba@nvidia.com (mailing list archive)
Headers
Series ethdev: add random item support |

Message

Michael Baum Dec. 14, 2023, 10:58 a.m. UTC
  Add support for matching random value using new "rte_flow_item_random"
structure.
This random value is not based on the packet data/headers.
Application shouldn't assume that this value is kept during the lifetime
of the packet.

v2:
 - Rabase.
 - Fix copy-paste mistake in release notes.

v3:
 - Rabase.
 - Move release notes to the new release file.
 - Improve documentation.

v4:
 - Mention random field ID in release file.
 - Improve documentation.
 - Fix typos in documentation.
 - Add "Reviewed-by" and "Acked-by" from previous versions.


Michael Baum (2):
  ethdev: add random item support
  app/testpmd: add random item support

 app/test-pmd/cmdline_flow.c                 | 28 +++++++++++++++++
 doc/guides/nics/features/default.ini        |  1 +
 doc/guides/prog_guide/rte_flow.rst          | 14 +++++++++
 doc/guides/rel_notes/release_24_03.rst      |  5 +++
 doc/guides/testpmd_app_ug/testpmd_funcs.rst |  4 +++
 lib/ethdev/rte_flow.c                       |  1 +
 lib/ethdev/rte_flow.h                       | 35 ++++++++++++++++++++-
 7 files changed, 87 insertions(+), 1 deletion(-)
  

Comments

Ferruh Yigit Dec. 15, 2023, 12:07 p.m. UTC | #1
On 12/14/2023 10:58 AM, Michael Baum wrote:
> Add support for matching random value using new "rte_flow_item_random"
> structure.
> This random value is not based on the packet data/headers.
> Application shouldn't assume that this value is kept during the lifetime
> of the packet.
> 
> v2:
>  - Rabase.
>  - Fix copy-paste mistake in release notes.
> 
> v3:
>  - Rabase.
>  - Move release notes to the new release file.
>  - Improve documentation.
> 
> v4:
>  - Mention random field ID in release file.
>  - Improve documentation.
>  - Fix typos in documentation.
>  - Add "Reviewed-by" and "Acked-by" from previous versions.
> 
> 
> Michael Baum (2):
>   ethdev: add random item support
>   app/testpmd: add random item support
> >
> Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
>
> Acked-by: Ori Kam <orika@nvidia.com>
>

Series applied to dpdk-next-net/main, thanks.