From patchwork Thu Aug 4 16:58:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Dumitrescu X-Patchwork-Id: 114623 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9AF35A00C4; Thu, 4 Aug 2022 18:58:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3899D42BD9; Thu, 4 Aug 2022 18:58:53 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id EF5994067C for ; Thu, 4 Aug 2022 18:58:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659632332; x=1691168332; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=mC9qirtoMcIGvobW6lbDY5DaKMdsfry3ivC/Rd2qKeU=; b=TA96ohbPCW2SZ8QRU3LnrWvW++RH4AmV/uIQscBUx1K47Ux5Vu0IFCQ6 2ua3qYSef2n18D9GOe08SqtlWbwcu9UkLBv4pRd8ums5cVfDXc6eppfd5 GRr93+jET6jhYjTsYm+pcl7sJQguuflzEN+rmqIOS4OReib2k+ZQXgpX+ F+fnZMBhYR5ZdefFwYtXt3DGZNsYIC/TdiXQoQvYS7mkyPW3GxGy+BUOQ YC3vsotQPwY2dh+6U7CYU+7H5FOEd9iCtXu80KOWFLY5KGAFNhdiGKioD dVTIha18XdwMDflVjpiiN14YAzejlbuVnILTscwdQvUfJEeHs9C8kG2jt w==; X-IronPort-AV: E=McAfee;i="6400,9594,10429"; a="290000073" X-IronPort-AV: E=Sophos;i="5.93,216,1654585200"; d="scan'208";a="290000073" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Aug 2022 09:58:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,216,1654585200"; d="scan'208";a="636163050" Received: from silpixa00400573.ir.intel.com (HELO silpixa00400573.ger.corp.intel.com) ([10.237.223.157]) by orsmga001.jf.intel.com with ESMTP; 04 Aug 2022 09:58:40 -0700 From: Cristian Dumitrescu To: dev@dpdk.org Cc: jasvinder.singh@intel.com, yogesh.jangra@intel.com Subject: [PATCH 00/21] net/softnic: replace the legacy pipeline with SWX pipeline Date: Thu, 4 Aug 2022 16:58:18 +0000 Message-Id: <20220804165839.1074817-1-cristian.dumitrescu@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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 The legacy pipeline API is soon going to be marked for deprecation, hence the Soft NIC driver is updated to support the new SWX pipeline type. The SWX pipeline has better encapsulation than the legacy pipeline, mainly due to P4 language alignment, which results in most of the functionality being supported directly in the pipeline library, hence the big number of lines of code deleted from this driver. Depends-on: series-24117 ("pipeline: pipeline configuration and build improvements") Cristian Dumitrescu (21): net/softnic: remove the traffic manager support net/softnic: remove flow support net/softnic: remove the meter support net/softnic: remove cryptodev support net/softnic: remove tap support net/softnic: remove the legacy pipeline CLI commands net/softnic: replace the legacy pipeline with the SWX pipeline net/softnic: remove the list of Ethernet devices net/softnic: remove unused text parsing functions net/softnic: add pipeline code generation CLI command net/softnic: add pipeline library build CLI command net/softnic: add pipeline build CLI command net/softnic: add pipeline table CLI commands net/softnic: add pipeline selector table CLI commands net/softnic: add pipeline learner table CLI commands net/softnic: add pipeline commit and abort CLI commands net/softnic: add the pipeline register read/write CLI commands net/softnic: add the pipeline meter CLI commands net/softnic: add pipeline statistics CLI command net/softnic: add pipeline mirroring CLI command net/softnic: update the default device program drivers/net/softnic/firmware.cli | 51 +- drivers/net/softnic/firmware.spec | 19 + drivers/net/softnic/firmware_rx.io | 30 + drivers/net/softnic/firmware_tx.io | 30 + drivers/net/softnic/meson.build | 10 +- drivers/net/softnic/parser.c | 523 -- drivers/net/softnic/parser.h | 68 - drivers/net/softnic/rte_eth_softnic.c | 208 - drivers/net/softnic/rte_eth_softnic.h | 10 - drivers/net/softnic/rte_eth_softnic_action.c | 423 - drivers/net/softnic/rte_eth_softnic_cli.c | 7053 ++++------------- .../net/softnic/rte_eth_softnic_cryptodev.c | 168 - drivers/net/softnic/rte_eth_softnic_flow.c | 2293 ------ .../net/softnic/rte_eth_softnic_internals.h | 922 +-- drivers/net/softnic/rte_eth_softnic_link.c | 101 - drivers/net/softnic/rte_eth_softnic_meter.c | 945 --- .../net/softnic/rte_eth_softnic_pipeline.c | 1129 +-- drivers/net/softnic/rte_eth_softnic_tap.c | 118 - drivers/net/softnic/rte_eth_softnic_thread.c | 2594 +----- drivers/net/softnic/rte_eth_softnic_tm.c | 3657 --------- 20 files changed, 1845 insertions(+), 18507 deletions(-) create mode 100644 drivers/net/softnic/firmware.spec create mode 100644 drivers/net/softnic/firmware_rx.io create mode 100644 drivers/net/softnic/firmware_tx.io delete mode 100644 drivers/net/softnic/parser.c delete mode 100644 drivers/net/softnic/parser.h delete mode 100644 drivers/net/softnic/rte_eth_softnic_action.c delete mode 100644 drivers/net/softnic/rte_eth_softnic_cryptodev.c delete mode 100644 drivers/net/softnic/rte_eth_softnic_flow.c delete mode 100644 drivers/net/softnic/rte_eth_softnic_link.c delete mode 100644 drivers/net/softnic/rte_eth_softnic_meter.c delete mode 100644 drivers/net/softnic/rte_eth_softnic_tap.c delete mode 100644 drivers/net/softnic/rte_eth_softnic_tm.c