From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5F3E7A2EEB for ; Tue, 10 Sep 2019 12:00:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5E3811EDC9; Tue, 10 Sep 2019 12:00:10 +0200 (CEST) Received: from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73]) by dpdk.org (Postfix) with ESMTP id A79771ED93 for ; Tue, 10 Sep 2019 12:00:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1875; q=dns/txt; s=iport; t=1568109608; x=1569319208; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Gd+x6O70Qx8PKG/aRojMnG/9rd/E3T0vMXLWOCG1P7A=; b=T0c63pZydk2T6Re15n4E9shj+rmXf5Y7eg8rAhfsgj2vIZBsjLjJTZgL Peem/L2YH7sAC/Ws+gZcrWBoqj8ofCihccUri8Us/ZV6G3Fgv5IFHx/rX KhrCk89vSRXgAFpZJe0nnIeai0a3eVdFByaBNpfhzyYtIhBmDkIN0OwUE I=; X-IronPort-AV: E=Sophos;i="5.64,489,1559520000"; d="scan'208";a="631667681" Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by rcdn-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 10 Sep 2019 10:00:07 +0000 Received: from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48]) by rcdn-core-8.cisco.com (8.15.2/8.15.2) with ESMTP id x8AA05UN022057; Tue, 10 Sep 2019 10:00:06 GMT Received: by cisco.com (Postfix, from userid 508933) id 68A8920F2003; Tue, 10 Sep 2019 03:00:05 -0700 (PDT) From: Hyong Youb Kim To: Ferruh Yigit Cc: dev@dpdk.org, John Daley , Hyong Youb Kim Date: Tue, 10 Sep 2019 02:59:35 -0700 Message-Id: <20190910095937.9731-1-hyonkim@cisco.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Outbound-SMTP-Client: 10.193.184.48, savbu-usnic-a.cisco.com X-Outbound-Node: rcdn-core-8.cisco.com Subject: [dpdk-dev] [PATCH 0/2] net/enic: a couple new features 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" The first patch enables Geneve offload that supports Geneve header options. Previous Geneve offload does not work when options are present. The second patch adds the new flow implementation based on Flow Manager. So the driver now has two implementations: one based on the old filter API, and this new one based on Flow Manager. Flow Manager is newer firmware interface with more actions and match items than the filter API. enic_fm_flow.c is quite large but self contained. We tried to break it up into multiple patches, but it did not really make sense in the end. So sending the whole file in one patch. checkpatches complains about these errors. We checked and found it safe to ignore them (false positives). CHECK:CAMELCASE: Avoid CamelCase: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses Thanks. -Hyong Hyong Youb Kim (2): net/enic: enable Geneve with options offload net/enic: add flow implementation based on Flow Manager API doc/guides/nics/enic.rst | 21 + doc/guides/rel_notes/release_19_11.rst | 5 + drivers/net/enic/Makefile | 1 + drivers/net/enic/base/vnic_dev.c | 90 +- drivers/net/enic/base/vnic_dev.h | 2 + drivers/net/enic/base/vnic_devcmd.h | 19 + drivers/net/enic/base/vnic_flowman.h | 364 ++++ drivers/net/enic/enic.h | 24 +- drivers/net/enic/enic_ethdev.c | 25 +- drivers/net/enic/enic_fm_flow.c | 2459 ++++++++++++++++++++++++ drivers/net/enic/enic_main.c | 30 +- drivers/net/enic/enic_res.c | 13 +- drivers/net/enic/meson.build | 1 + 13 files changed, 3046 insertions(+), 8 deletions(-) create mode 100644 drivers/net/enic/base/vnic_flowman.h create mode 100644 drivers/net/enic/enic_fm_flow.c -- 2.22.0