From patchwork Sat Mar 2 10:42:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hyong Youb Kim (hyonkim)" X-Patchwork-Id: 50746 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 499C12BB5; Sat, 2 Mar 2019 11:43:06 +0100 (CET) Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) by dpdk.org (Postfix) with ESMTP id 9C5D72B9E for ; Sat, 2 Mar 2019 11:43:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2153; q=dns/txt; s=iport; t=1551523381; x=1552732981; h=from:to:cc:subject:date:message-id; bh=UnAPgPaDoVXBXcXWIQ5RzTRA3oEf6WPRc5gx4JuKqpc=; b=lkbEIrJRVx2icLHIyApLwRey4zuF0nmyIS5tFanoc9/jr+/Wq7QLWu2m gfUM5fcPCggT/zo/Zmsf7PBxOTLd1Q+h+1OsYui/4m+oSm1r+djuljgTJ cJdFHOmq2ayjL8mK2wWxigIeRvTfX2x0C7MsGuaFCtAlTAZnw/zT1S0Ju g=; X-IronPort-AV: E=Sophos;i="5.58,431,1544486400"; d="scan'208";a="524227910" Received: from alln-core-6.cisco.com ([173.36.13.139]) by rcdn-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Mar 2019 10:43:00 +0000 Received: from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48]) by alln-core-6.cisco.com (8.15.2/8.15.2) with ESMTP id x22Ah0OC025975; Sat, 2 Mar 2019 10:43:00 GMT Received: by cisco.com (Postfix, from userid 508933) id 2523A20F2001; Sat, 2 Mar 2019 02:43:00 -0800 (PST) From: Hyong Youb Kim To: Ferruh Yigit Cc: dev@dpdk.org, John Daley , Hyong Youb Kim Date: Sat, 2 Mar 2019 02:42:38 -0800 Message-Id: <20190302104251.32565-1-hyonkim@cisco.com> X-Mailer: git-send-email 2.16.2 X-Outbound-SMTP-Client: 10.193.184.48, savbu-usnic-a.cisco.com X-Outbound-Node: alln-core-6.cisco.com Subject: [dpdk-dev] [PATCH v2 00/13] net/enic: 19.05 updates 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 fixes bugs in enic's implementation of flow API and adds very limited support for RAW, RSS, and PASSTHRU. Limited RSS and PASSTHRU are intended to support partial offloads in OVS-DPDK and VPP. These apps use MARK + default RSS and PASSTHRU + MARK to "mark packet and then receive normally". Cisco VIC can support these, even though general RSS and PASSTHRU are not possible. Intentionally removed Cc: stable from the last patch ("net/enic: fix several issues with inner packet matching") as it depends on a non-fix patch ("net/enic: move arguments into struct"). I will submit backport request for these separately, after rc1. --- v2: * Merge doc changes with corresponding code changes. Hyong Youb Kim (13): net/enic: remove unused code net/enic: fix flow director SCTP matching net/enic: fix SCTP match for flow API net/enic: allow flow mark ID 0 net/enic: check for unsupported flow item types net/enic: enable limited RSS flow action net/enic: enable limited PASSTHRU flow action net/enic: move arguments into struct net/enic: enable limited support for RAW flow item net/enic: reset VXLAN port regardless of overlay offload net/enic: fix a couple issues with VXLAN match net/enic: fix an endian bug in VLAN match net/enic: fix several issues with inner packet matching doc/guides/nics/enic.rst | 18 +- doc/guides/rel_notes/release_19_05.rst | 7 + drivers/net/enic/Makefile | 1 - drivers/net/enic/base/vnic_rss.c | 23 - drivers/net/enic/base/vnic_rss.h | 5 - drivers/net/enic/enic.h | 8 +- drivers/net/enic/enic_clsf.c | 38 +- drivers/net/enic/enic_flow.c | 786 +++++++++++++++++++++------------ drivers/net/enic/enic_main.c | 9 +- drivers/net/enic/enic_res.c | 26 -- drivers/net/enic/enic_res.h | 2 - drivers/net/enic/enic_rxtx_common.h | 3 +- drivers/net/enic/meson.build | 1 - 13 files changed, 560 insertions(+), 367 deletions(-) delete mode 100644 drivers/net/enic/base/vnic_rss.c