11/09/2023 09:41, 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 <michae...@nvidia.com> > --- > +Item: ``RANDOM`` > +^^^^^^^^^^^^^^^^ > + > +Matches a random value. > + > +This 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. > + > +- ``value``: Random value.
I think it is the opposite: the value is defined by the application, right? Then it matches randomly based on a number generator? Please describe where the random is generated and what is the range. We could also wonder why it is not integrated in the existing sampling item.