[0/5] net/enic: add SR-IOV VF representor
Message ID | 20200909135656.18892-1-hyonkim@cisco.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B9CB3A04B1; Wed, 9 Sep 2020 15:57:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C061C1BF8E; Wed, 9 Sep 2020 15:57:11 +0200 (CEST) Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) by dpdk.org (Postfix) with ESMTP id 826BA1BF8D for <dev@dpdk.org>; Wed, 9 Sep 2020 15:57:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1426; q=dns/txt; s=iport; t=1599659830; x=1600869430; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=h36fuVauJmDzOASfhdWZj5UyQU4S5k+Gsq0I3xWWs4s=; b=jPsTcaqzjr1URwxFZU8bzmJ9sQFdvvYoeI0TfhK/P2cm2nSUVtHYDZMq 6q0J0pshIsZPTaZDdyqauCfItb9NzpKZ5Sv98HEolLIcWelCEMYTDXG3Q 7vPcJR+Q+B4QuewJjDNf40sES6lNZJmomBuAXcCflJqFHTabm+Jx4eTWh U=; X-IronPort-AV: E=Sophos;i="5.76,409,1592870400"; d="scan'208";a="539193600" Received: from rcdn-core-3.cisco.com ([173.37.93.154]) by alln-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 09 Sep 2020 13:57:08 +0000 Received: from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48]) by rcdn-core-3.cisco.com (8.15.2/8.15.2) with ESMTP id 089Dv4uJ021728; Wed, 9 Sep 2020 13:57:07 GMT Received: by cisco.com (Postfix, from userid 508933) id 0F2C720F2005; Wed, 9 Sep 2020 06:57:03 -0700 (PDT) From: Hyong Youb Kim <hyonkim@cisco.com> To: Ferruh Yigit <ferruh.yigit@intel.com> Cc: dev@dpdk.org, Hyong Youb Kim <hyonkim@cisco.com> Date: Wed, 9 Sep 2020 06:56:51 -0700 Message-Id: <20200909135656.18892-1-hyonkim@cisco.com> X-Mailer: git-send-email 2.26.2 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-3.cisco.com Subject: [dpdk-dev] [PATCH 0/5] net/enic: add SR-IOV VF representor X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "dev" <dev-bounces@dpdk.org> |
Message
Hyong Youb Kim
Sept. 9, 2020, 1:56 p.m. UTC
This series adds VF representors to the driver. It enables single-queue representors and implements enough flow features to run OVS-DPDK offload for default vlan+mac based switching. The flow API handlers and devcmd functions (firmware commands) are now aware of representors. Representors reserve PF Tx/Rx queues for their implicit paths to/from VFs. Packet forwarding rules for these implicit paths are set up using firmware's Flow Manager (flowman), which is also used for rte_flow API. Thanks. -Hyong Hyong Youb Kim (5): net/enic: extend vnic dev API for VF representors net/enic: add minimal VF representor net/enic: add single-queue Tx and Rx to VF representor net/enic: extend flow handler to support VF representors net/enic: enable flow API for VF representor doc/guides/rel_notes/release_20_11.rst | 4 + drivers/net/enic/base/vnic_dev.c | 112 +++- drivers/net/enic/base/vnic_dev.h | 4 + drivers/net/enic/enic.h | 116 ++++ drivers/net/enic/enic_ethdev.c | 107 +++- drivers/net/enic/enic_fm_flow.c | 487 +++++++++++++++-- drivers/net/enic/enic_main.c | 114 +++- drivers/net/enic/enic_vf_representor.c | 729 +++++++++++++++++++++++++ drivers/net/enic/meson.build | 1 + 9 files changed, 1602 insertions(+), 72 deletions(-) create mode 100644 drivers/net/enic/enic_vf_representor.c