Cover Letter Detail
Show a cover letter.
GET /api/covers/1315895/?format=api
{ "id": 1315895, "url": "http://patchwork.ozlabs.org/api/covers/1315895/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/cover/20200624072939.9363-1-haiyue.wang@intel.com/", "project": { "id": 46, "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api", "name": "Intel Wired Ethernet development", "link_name": "intel-wired-lan", "list_id": "intel-wired-lan.osuosl.org", "list_email": "intel-wired-lan@osuosl.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20200624072939.9363-1-haiyue.wang@intel.com>", "list_archive_url": null, "date": "2020-06-24T07:29:34", "name": "[v4,0/5] ice: add Intel DCF mode support", "submitter": { "id": 79056, "url": "http://patchwork.ozlabs.org/api/people/79056/?format=api", "name": "Haiyue Wang", "email": "haiyue.wang@intel.com" }, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/cover/20200624072939.9363-1-haiyue.wang@intel.com/mbox/", "series": [ { "id": 185450, "url": "http://patchwork.ozlabs.org/api/series/185450/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=185450", "date": "2020-06-24T07:29:34", "name": "ice: add Intel DCF mode support", "version": 4, "mbox": "http://patchwork.ozlabs.org/series/185450/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/1315895/comments/", "headers": { "Return-Path": "<intel-wired-lan-bounces@osuosl.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Authentication-Results": [ "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org\n (client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n envelope-from=intel-wired-lan-bounces@osuosl.org; receiver=<UNKNOWN>)", "ozlabs.org;\n dmarc=fail (p=none dis=none) header.from=intel.com" ], "Received": [ "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 49sFQT2g7Cz9sQt\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 24 Jun 2020 17:39:13 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id DE8478913C;\n\tWed, 24 Jun 2020 07:39:11 +0000 (UTC)", "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id jV+YBL1fKdSm; Wed, 24 Jun 2020 07:39:11 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 63A2F88E5B;\n\tWed, 24 Jun 2020 07:39:11 +0000 (UTC)", "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n by ash.osuosl.org (Postfix) with ESMTP id 0C0891BF861\n for <intel-wired-lan@lists.osuosl.org>; Wed, 24 Jun 2020 07:39:10 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by silver.osuosl.org (Postfix) with ESMTP id 06DF020489\n for <intel-wired-lan@lists.osuosl.org>; Wed, 24 Jun 2020 07:39:10 +0000 (UTC)", "from silver.osuosl.org ([127.0.0.1])\n by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id jQr-yR5t8JMg for <intel-wired-lan@lists.osuosl.org>;\n Wed, 24 Jun 2020 07:39:09 +0000 (UTC)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by silver.osuosl.org (Postfix) with ESMTPS id DFF13204DB\n for <intel-wired-lan@lists.osuosl.org>; Wed, 24 Jun 2020 07:39:08 +0000 (UTC)", "from fmsmga005.fm.intel.com ([10.253.24.32])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 24 Jun 2020 00:39:08 -0700", "from npg-dpdk-haiyue-1.sh.intel.com ([10.67.119.213])\n by fmsmga005.fm.intel.com with ESMTP; 24 Jun 2020 00:39:07 -0700" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "IronPort-SDR": [ "\n rYWumJ5z3sQlLcqzKFav8IPOaGNRpirW+DKfMya4Y19NB3kOMmF1ADer4KychNhgsc1K24EP+U\n V6hOz+IoA+0w==", "\n hcI3VLT+9KrDOfzlTbPtbzuorNOJNT6NGHV9HdIN2imBpnNTfvPcpSbJaj28ijqqYXE5D5+OZR\n izzU78VwSTFA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9661\"; a=\"142584335\"", "E=Sophos;i=\"5.75,274,1589266800\"; d=\"scan'208\";a=\"142584335\"", "E=Sophos;i=\"5.75,274,1589266800\"; d=\"scan'208\";a=\"479170376\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Haiyue Wang <haiyue.wang@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Wed, 24 Jun 2020 15:29:34 +0800", "Message-Id": "<20200624072939.9363-1-haiyue.wang@intel.com>", "X-Mailer": "git-send-email 2.27.0", "In-Reply-To": "<20200619045711.16055-1-haiyue.wang@intel.com>", "References": "<20200619045711.16055-1-haiyue.wang@intel.com>", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [PATCH v4 0/5] ice: add Intel DCF mode support", "X-BeenThere": "intel-wired-lan@osuosl.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n <intel-wired-lan.osuosl.org>", "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>", "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>" }, "content": "The iproute2 and ethtool are evolving to expose the NIC hardware capability.\nBut these available orchestration methods in Linux kernel are limited in their\ncapability to exercise advance functionality in the hardware, since different\nvendors may have different data programming method.\n\nIntel Ethernet Adaptive Virtual Function (AVF) is the common hardware interface\nfor SR-IOV, it has the defined message format to talks with the PF. \n\nTo make good use of the advanced functionality like Switch (Binary Classifier),\nThe ice PF driver introduces a DCF (Device Config Function) mode to extend the\nAVF feature.\n\nThe DCF (Device Config Function) method wraps an raw flow admin queue command in\na virthcnl message and sends it to the PF to be executed. This is required because\nit doesn't have the privilege level to issue the admin queue commands, so it acts\nas a proxy PF. So that the user can customize the AVF feature, and use their own\nprogramming language to translate the flow rule management data into ice raw flow,\nthese raw flows then can be executed in PF's sandbox.\n\nAnd the kernel PF driver fully controls the behavior of DCF for security, like only\nthe trusted VF with ID zero can run into DCF mode, and also for being compatible\nwith the common AVF feature, the VF needs to advertise and acquire DCF capability\nfirstly.\n\nv4: Mirror commit message update.\n\nv3: Remove the unused function, and control the ice_aq_sw_rules scope by CONFIG_PCI_IOV.\n Capitalize all abbreviations.\n\nv2: fix the macro ICE_DCF_VFID definition style issue.\n\nHaiyue Wang (5):\n ice: add the virtchnl handler for AdminQ command\n ice: add DCF cap negotiation and state machine\n ice: support to get the VSI mapping\n ice: enable DDP package info querying\n ice: add switch rule management for DCF\n\n drivers/net/ethernet/intel/ice/Makefile | 2 +-\n drivers/net/ethernet/intel/ice/ice.h | 2 +\n .../net/ethernet/intel/ice/ice_adminq_cmd.h | 6 +\n drivers/net/ethernet/intel/ice/ice_dcf.c | 839 ++++++++++++++++++\n drivers/net/ethernet/intel/ice/ice_dcf.h | 91 ++\n drivers/net/ethernet/intel/ice/ice_main.c | 2 +\n drivers/net/ethernet/intel/ice/ice_switch.c | 27 +-\n drivers/net/ethernet/intel/ice/ice_switch.h | 37 +-\n drivers/net/ethernet/intel/ice/ice_type.h | 9 +\n .../net/ethernet/intel/ice/ice_virtchnl_pf.c | 366 ++++++++\n .../net/ethernet/intel/ice/ice_virtchnl_pf.h | 1 +\n include/linux/avf/virtchnl.h | 63 ++\n 12 files changed, 1411 insertions(+), 34 deletions(-)\n create mode 100644 drivers/net/ethernet/intel/ice/ice_dcf.c\n create mode 100644 drivers/net/ethernet/intel/ice/ice_dcf.h" }