From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 897A0430D0; Tue, 22 Aug 2023 14:41:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3C2B34021D; Tue, 22 Aug 2023 14:41:18 +0200 (CEST) Received: from agw.arknetworks.am (agw.arknetworks.am [79.141.165.80]) by mails.dpdk.org (Postfix) with ESMTP id 86FC140041 for ; Tue, 22 Aug 2023 14:41:16 +0200 (CEST) Received: from debian (unknown [78.109.74.13]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by agw.arknetworks.am (Postfix) with ESMTPSA id 7F819E04DD; Tue, 22 Aug 2023 16:41:15 +0400 (+04) Date: Tue, 22 Aug 2023 16:41:09 +0400 (+04) From: Ivan Malov To: Michael Baum cc: dev@dpdk.org, Ori Kam , Aman Singh , Yuying Zhang , Ferruh Yigit , Thomas Monjalon Subject: Re: [PATCH v1 0/2] ethdev: add random item support In-Reply-To: <20230822090505.3242455-1-michaelba@nvidia.com> Message-ID: <6cbf30ba-17bc-cc95-e956-dba6a281c9d1@arknetworks.am> References: <20230822090505.3242455-1-michaelba@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi Michael, Very interesting proposal. However, could you please provide a use case example for this feature and also provide an example of where such value could come from, theoretically. Thank you. On Tue, 22 Aug 2023, 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 life > time of the packet. > > Michael Baum (2): > ethdev: add random item support > app/testpmd: add random item support > > app/test-pmd/cmdline_flow.c | 30 ++++++++++++++++++- > doc/guides/nics/features/default.ini | 1 + > doc/guides/prog_guide/rte_flow.rst | 11 +++++++ > doc/guides/rel_notes/release_23_11.rst | 4 +++ > doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 +++ > lib/ethdev/rte_flow.c | 1 + > lib/ethdev/rte_flow.h | 33 +++++++++++++++++++++ > 7 files changed, 83 insertions(+), 1 deletion(-) > > -- > 2.25.1 > >