mbox series

[00/21] net/softnic: replace the legacy pipeline with SWX pipeline

Message ID 20220804165839.1074817-1-cristian.dumitrescu@intel.com (mailing list archive)
Headers
Series net/softnic: replace the legacy pipeline with SWX pipeline |

Message

Cristian Dumitrescu Aug. 4, 2022, 4:58 p.m. UTC
  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