RE: [PATCH v2 0/2] ethdev: add random item support

2023-10-12 Thread Michael Baum
On Monday, 11 September 2023 20:53 Stephen Hemminger wrote: > > On Mon, 11 Sep 2023 18:55:45 +0200 > Morten Brørup wrote: > > > > From: Michael Baum [mailto:michae...@nvidia.com] > > > Sent: Monday, 11 September 2023 08.42 > > > > > > Add support for matching random value using new > > > "rte_

RE: [PATCH v2 0/2] ethdev: add random item support

2023-09-12 Thread Michael Baum
On Mon, 11 Sep 2023 18:55:45 +0200 Morten Brørup wrote: > > > From: Michael Baum [mailto:michae...@nvidia.com] > > Sent: Monday, 11 September 2023 08.42 > > > > Add support for matching random value using new "rte_flow_item_random" > > structure. > > I get it. It can be used for things like st

Re: [PATCH v2 0/2] ethdev: add random item support

2023-09-11 Thread Stephen Hemminger
On Mon, 11 Sep 2023 18:55:45 +0200 Morten Brørup wrote: > > From: Michael Baum [mailto:michae...@nvidia.com] > > Sent: Monday, 11 September 2023 08.42 > > > > Add support for matching random value using new > > "rte_flow_item_random" structure. > > I get it. It can be used for things like sto

RE: [PATCH v2 0/2] ethdev: add random item support

2023-09-11 Thread Morten Brørup
> From: Michael Baum [mailto:michae...@nvidia.com] > Sent: Monday, 11 September 2023 08.42 > > Add support for matching random value using new "rte_flow_item_random" > structure. I get it. It can be used for things like stochastic sampling. However, it doesn't provide support for e.g. 1/100 or 1

[PATCH v2 0/2] ethdev: add random item support

2023-09-11 Thread Michael Baum
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 life time of the packet. v2: - Rabase. - Fix copy-paste mistake in release notes. Michael