Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1124622/?format=api
{ "id": 1124622, "url": "http://patchwork.ozlabs.org/api/patches/1124622/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20190628150332.59155-13-anthony.l.nguyen@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": "<20190628150332.59155-13-anthony.l.nguyen@intel.com>", "list_archive_url": null, "date": "2019-06-28T15:03:31", "name": "[S23,v2,13/15] ice: Move VF resources definition to SR-IOV specific file", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "cb9a03d17924acba1a22840fa8553e885bbe38b8", "submitter": { "id": 68875, "url": "http://patchwork.ozlabs.org/api/people/68875/?format=api", "name": "Tony Nguyen", "email": "anthony.l.nguyen@intel.com" }, "delegate": { "id": 68, "url": "http://patchwork.ozlabs.org/api/users/68/?format=api", "username": "jtkirshe", "first_name": "Jeff", "last_name": "Kirsher", "email": "jeffrey.t.kirsher@intel.com" }, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20190628150332.59155-13-anthony.l.nguyen@intel.com/mbox/", "series": [ { "id": 116825, "url": "http://patchwork.ozlabs.org/api/series/116825/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=116825", "date": "2019-06-28T15:03:31", "name": null, "version": 2, "mbox": "http://patchwork.ozlabs.org/series/116825/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1124622/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1124622/checks/", "tags": {}, "related": [], "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\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.138; helo=whitealder.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=intel.com" ], "Received": [ "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 45bCgw4VJbz9s3l\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 29 Jun 2019 09:31:06 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 88FCA876E3;\n\tFri, 28 Jun 2019 23:31:03 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id Cq79umBlxYpi; Fri, 28 Jun 2019 23:31:02 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 7E7CC876A5;\n\tFri, 28 Jun 2019 23:31:02 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 671421BF97D\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 28 Jun 2019 23:31:00 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 5B346876A5\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 28 Jun 2019 23:31:00 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 6+UsOGCWoq3N for <intel-wired-lan@lists.osuosl.org>;\n\tFri, 28 Jun 2019 23:30:59 +0000 (UTC)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id E995A876A2\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 28 Jun 2019 23:30:58 +0000 (UTC)", "from fmsmga007.fm.intel.com ([10.253.24.52])\n\tby orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t28 Jun 2019 16:30:57 -0700", "from unknown (HELO localhost.jf.intel.com) ([10.166.244.174])\n\tby fmsmga007.fm.intel.com with ESMTP; 28 Jun 2019 16:30:57 -0700" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.63,429,1557212400\"; d=\"scan'208\";a=\"164803447\"", "From": "Tony Nguyen <anthony.l.nguyen@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Fri, 28 Jun 2019 08:03:31 -0700", "Message-Id": "<20190628150332.59155-13-anthony.l.nguyen@intel.com>", "X-Mailer": "git-send-email 2.20.1", "In-Reply-To": "<20190628150332.59155-1-anthony.l.nguyen@intel.com>", "References": "<20190628150332.59155-1-anthony.l.nguyen@intel.com>", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [PATCH S23 v2 13/15] ice: Move VF resources\n\tdefinition to SR-IOV specific file", "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\t<intel-wired-lan.osuosl.org>", "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<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\t<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": "From: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>\n\nIn order to use some of the VF resources definition in the SR-IOV specific\nvirtchnl header file, this patch moves applicable code to\nice_virtchnl_pf.h file accordingly... and they should have been defined in\nthe destination file originally.\n\nSigned-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>\n---\n drivers/net/ethernet/intel/ice/ice.h | 10 ----------\n drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h | 13 +++++++++++++\n 2 files changed, 13 insertions(+), 10 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/ice/ice.h b/drivers/net/ethernet/intel/ice/ice.h\nindex 261714ff2553..eb0efcaf7807 100644\n--- a/drivers/net/ethernet/intel/ice/ice.h\n+++ b/drivers/net/ethernet/intel/ice/ice.h\n@@ -92,16 +92,6 @@ extern const char ice_drv_ver[];\n #define ICE_RES_MISC_VEC_ID\t(ICE_RES_VALID_BIT - 1)\n #define ICE_INVAL_Q_INDEX\t0xffff\n #define ICE_INVAL_VFID\t\t256\n-#define ICE_MAX_VF_COUNT\t256\n-#define ICE_MAX_QS_PER_VF\t\t256\n-#define ICE_MIN_QS_PER_VF\t\t1\n-#define ICE_DFLT_QS_PER_VF\t\t4\n-#define ICE_NONQ_VECS_VF\t\t1\n-#define ICE_MAX_SCATTER_QS_PER_VF\t16\n-#define ICE_MAX_BASE_QS_PER_VF\t\t16\n-#define ICE_MAX_INTR_PER_VF\t\t65\n-#define ICE_MIN_INTR_PER_VF\t\t(ICE_MIN_QS_PER_VF + 1)\n-#define ICE_DFLT_INTR_PER_VF\t\t(ICE_DFLT_QS_PER_VF + 1)\n \n #define ICE_MAX_RESET_WAIT\t\t20\n \ndiff --git a/drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h b/drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h\nindex 79bb47f73879..4d94853f119a 100644\n--- a/drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h\n+++ b/drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h\n@@ -26,6 +26,19 @@\n #define ICE_PCI_CIAD_WAIT_COUNT\t\t100\n #define ICE_PCI_CIAD_WAIT_DELAY_US\t1\n \n+/* VF resources default values and limitation */\n+#define ICE_MAX_VF_COUNT\t\t256\n+#define ICE_MAX_QS_PER_VF\t\t256\n+#define ICE_MIN_QS_PER_VF\t\t1\n+#define ICE_DFLT_QS_PER_VF\t\t4\n+#define ICE_NONQ_VECS_VF\t\t1\n+#define ICE_MAX_SCATTER_QS_PER_VF\t16\n+#define ICE_MAX_BASE_QS_PER_VF\t\t16\n+#define ICE_MAX_INTR_PER_VF\t\t65\n+#define ICE_MAX_POLICY_INTR_PER_VF\t33\n+#define ICE_MIN_INTR_PER_VF\t\t(ICE_MIN_QS_PER_VF + 1)\n+#define ICE_DFLT_INTR_PER_VF\t\t(ICE_DFLT_QS_PER_VF + 1)\n+\n /* Specific VF states */\n enum ice_vf_states {\n \tICE_VF_STATE_INIT = 0,\n", "prefixes": [ "S23", "v2", "13/15" ] }