From patchwork Tue Sep 11 14:20:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Pattan, Reshma" X-Patchwork-Id: 44568 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3B5264C95; Tue, 11 Sep 2018 16:20:49 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 6688B4C95 for ; Tue, 11 Sep 2018 16:20:47 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Sep 2018 07:20:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,360,1531810800"; d="scan'208";a="69156835" Received: from sivswdev02.ir.intel.com (HELO localhost.localdomain) ([10.237.217.46]) by fmsmga007.fm.intel.com with ESMTP; 11 Sep 2018 07:20:45 -0700 From: Reshma Pattan To: dev@dpdk.org Date: Tue, 11 Sep 2018 15:20:30 +0100 Message-Id: <1536675645-10105-1-git-send-email-reshma.pattan@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <1536251222-17275-1-git-send-email-reshma.pattan@intel.com> References: <1536251222-17275-1-git-send-email-reshma.pattan@intel.com> Subject: [dpdk-dev] [PATCH v2 00/15] add flow API support to softnic X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch series adds the flow API support for the softnic. This patch set also introduce a new cli command to provide mapping of flow group and direction to softnic pipeline and table. v2: added missing code to patch #9/10 reworded commit titles. Reshma Pattan (15): net/softnic: add infrastructure for flow API net/softnic: map flow attributes to pipeline table net/softnic: add new cli for flow attribute map net/softnic: replace some pointers with arrays net/softnic: add free table and find out port functions net/softnic: add function to get eth device from softnic net/softnic: implement flow validate API net/softnic: validate and map flow rule with acl table match net/softnic: parse flow protocol for acl table match net/softnic: validate and map flow with hash table match net/softnic: validate and map flow action with table action net/softnic: add flow create API net/softnic: add flow destroy API net/softnic: add flow query API net/softnic: add parsing for raw flow item drivers/net/softnic/Makefile | 1 + drivers/net/softnic/meson.build | 1 + drivers/net/softnic/rte_eth_softnic.c | 16 + drivers/net/softnic/rte_eth_softnic_cli.c | 115 +- drivers/net/softnic/rte_eth_softnic_flow.c | 1824 +++++++++++++++++++++++ drivers/net/softnic/rte_eth_softnic_internals.h | 98 +- drivers/net/softnic/rte_eth_softnic_pipeline.c | 61 +- 7 files changed, 2086 insertions(+), 30 deletions(-) create mode 100644 drivers/net/softnic/rte_eth_softnic_flow.c