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 70B2C42612 for ; Fri, 22 Sep 2023 10:35:43 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DB3F94029C; Fri, 22 Sep 2023 10:35:42 +0200 (CEST) Received: from office2.cesnet.cz (office2.cesnet.cz [78.128.248.237]) by mails.dpdk.org (Postfix) with ESMTP id 1BC4A40150 for ; Fri, 22 Sep 2023 10:35:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cesnet.cz; s=office2-2020; t=1695371740; bh=vgOoEEHH0opP0p1IHBGSnrdbnktqhYcXJG00alWlQi4=; h=Date:To:From:Subject:Cc; b=WOG6X72YH6A+xuy0WBgXOlXIop45aD9swMm5X6BGFxnOkzpw5xohHJy7tmnYu3KpE SpkThqZQ54ian9+23vzNiR7YZD3PiETXqGbHP1Ix+Z21qCpZd65Gv9t68rP+SyHXSG YRtfQnGDkBqaT3kyl0huA30L/y3Jt3C0B1gnBpTPpVH7mGPI3sQ0tFbFBC96mV8tzm Rfolpipe9oEJvBycS0yO1f5MqgCbkM/Rf+4+OVIiPscP8x4ELpO6T+Ip3+Mu1am5Jf HzDd1Qyt50RrSVadLyfrlhDJ7LJVJuKwC2TKJzjndbGag/w3AmjFBNxP8yl7eFrw1+ jA7ji6HGCgttw== Received: from [IPV6:2001:67c:1220:8b4:d0e:55aa:6358:9444] (unknown [IPv6:2001:67c:1220:8b4:d0e:55aa:6358:9444]) (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 office2.cesnet.cz (Postfix) with ESMTPSA id 963871180072; Fri, 22 Sep 2023 10:35:38 +0200 (CEST) Message-ID: Date: Fri, 22 Sep 2023 10:35:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Content-Language: en-US To: users@dpdk.org From: =?UTF-8?B?THVrw6HFoSDFoGnFoW1pxaE=?= Subject: Initialize SoftNIC to work with rte_flow rules Cc: cristian.dumitrescu@intel.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Hi all, I am trying to setup completely virtual development environment where it would be possible to develop applications with rte_flow rules. For this, I've found SoftNIC as a viable solution as this is supposed to be a software NIC that also supports rte_flow rules. However, I am having a hard time to set it up, I couldn't find good examples/documentation for this. Examples/docs found in ip_pipeline/pipeline examples are outdated. I was able to make it run through testpmd but without the support for rte_flow. Could you please help me to create spec/cli file that would support this use case? I am currently primarily interested in RX direction although being able to work in the TX direction would be greatly appreciated. The solution I am currently thinking of: net_pcap0 -> net_softnic0 -> DPDK application + TX( -> net_softnic0 -> net_ring/net_null) The RX path can be done - and I was able to run it in testpmd but then testpmd complained when I tried to apply rte_flow rules (not implemented). Makes sense considering that the softnic default pipeline doesn't contain any tables I guess. Thank you all in advance. I'm CC'ing Cristian as he is the SoftNIC maintainer. Cheers, Lukas Sismis