From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 527CBA0032;
	Thu,  1 Sep 2022 16:21:05 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id EAFB140F17;
	Thu,  1 Sep 2022 16:21:04 +0200 (CEST)
Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31])
 by mails.dpdk.org (Postfix) with ESMTP id 3611440695
 for <dev@dpdk.org>; Thu,  1 Sep 2022 16:21:02 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
 d=intel.com; i=@intel.com; q=dns/txt; s=Intel;
 t=1662042063; x=1693578063;
 h=from:to:subject:date:message-id:in-reply-to:references:
 mime-version:content-transfer-encoding;
 bh=HwzYjMgxu8ed6J36DlBmSOS5GfyB8HKF6iFCtI/FEV0=;
 b=UxP0FxLNjNFyZu5pNQK87NwWC2rzFZrEeqSIuGFnOc/RVo6eBO5O9/WX
 zpNvPvcW1EJbv4YfxcwRqOp7VYvK5Qp840jHuyZuaaen2OYzgBcH3O54c
 MoFnNH/vRsG4KcSV7uDdw8u63/DNXUN7jzgKjr39VV28NTeoan+YZiDwx
 bZLED/ZF8ACxGiRjttGvAllCN2fZXw8QSo/F0640RDfmaAFW52Ehy+Wsf
 RrhwY1M4c2AgNwwyi/QBNd+54vSKgdNUzJyv3jmyq8vMi0TkRIZMbRytJ
 VFB2Ugb3AXBGqGNryTK0dM0LXxJXUraTFmk8RSQtzBv4M3RTyTzr8e3BT Q==;
X-IronPort-AV: E=McAfee;i="6500,9779,10457"; a="357444014"
X-IronPort-AV: E=Sophos;i="5.93,281,1654585200"; d="scan'208";a="357444014"
Received: from fmsmga004.fm.intel.com ([10.253.24.48])
 by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 01 Sep 2022 07:20:42 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.93,281,1654585200"; d="scan'208";a="680870102"
Received: from silpixa00400573.ir.intel.com (HELO
 silpixa00400573.ger.corp.intel.com.) ([10.237.223.157])
 by fmsmga004.fm.intel.com with ESMTP; 01 Sep 2022 07:20:41 -0700
From: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
To: dev@dpdk.org
Subject: [PATCH V3 00/21] net/softnic: replace the legacy pipeline with SWX
 pipeline
Date: Thu,  1 Sep 2022 14:20:20 +0000
Message-Id: <20220901142041.2628537-1-cristian.dumitrescu@intel.com>
X-Mailer: git-send-email 2.34.1
In-Reply-To: <20220804165839.1074817-1-cristian.dumitrescu@intel.com>
References: <20220804165839.1074817-1-cristian.dumitrescu@intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=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")

Change log:

V3:
-Rebased on main latest.

V2:
-Fixed minor style checks and warnings reported by the CI/CD.

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     | 6985 ++++-------------
 .../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      | 3645 ---------
 20 files changed, 1807 insertions(+), 18465 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

-- 
2.34.1