RE: [PATCH v3 1/2] ethdev: add random item support

2023-12-14 Thread Dariusz Sosnowski
> > > > I'm not sure that mentioning PMD here is fully correct, because in my > > opinion it implies that SW generates it. > > HW, SW and system clock were mentioned as examples of sources of > > randomness in previous discussions on this API. > > > > Also, I think it's worth adding that "number ==

RE: [PATCH v3 1/2] ethdev: add random item support

2023-12-14 Thread Michael Baum
On 12/8/2023 8:54 PM, 0 Dariusz Sosnowski wrote: > > Hi Michael, > > > +Item: ``RANDOM`` > > + > > + > > +Matches a random value. > > + > > +The rundom number is generated by PMD, > s/rundom/random Ack, thank you. > > I'm not sure that mentioning PMD here is fully correct, beca

RE: [PATCH v3 1/2] ethdev: add random item support

2023-12-08 Thread Dariusz Sosnowski
> + RTE_FLOW_FIELD_RANDOM /**< Random value. */ I think that this new modify field type should be mentioned in release notes as well. Best regards, Dariusz Sosnowski

RE: [PATCH v3 1/2] ethdev: add random item support

2023-12-08 Thread Dariusz Sosnowski
Hi Michael, > +Item: ``RANDOM`` > + > + > +Matches a random value. > + > +The rundom number is generated by PMD, s/rundom/random I'm not sure that mentioning PMD here is fully correct, because in my opinion it implies that SW generates it. HW, SW and system clock were mentioned a

[PATCH v3 1/2] ethdev: add random item support

2023-11-30 Thread Michael Baum
Add support for a new item type "RTE_FLOW_ITEM_TYPE_RANDOM". This item enables to match on some random value as a part of flow rule. Signed-off-by: Michael Baum --- doc/guides/nics/features/default.ini | 1 + doc/guides/prog_guide/rte_flow.rst | 13 ++ doc/guides/rel_notes/release