Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/756621/?format=api
{ "id": 756621, "url": "http://patchwork.ozlabs.org/api/patches/756621/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1493423597-18306-4-git-send-email-jesse.brandeburg@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": "<1493423597-18306-4-git-send-email-jesse.brandeburg@intel.com>", "list_archive_url": null, "date": "2017-04-28T23:53:17", "name": "[net-next,v1,3/3] i40evf: disable unused flags", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "3600d84c251b121679e06989c7d680aa541c2660", "submitter": { "id": 189, "url": "http://patchwork.ozlabs.org/api/people/189/?format=api", "name": "Jesse Brandeburg", "email": "jesse.brandeburg@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/1493423597-18306-4-git-send-email-jesse.brandeburg@intel.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/756621/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/756621/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@lists.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" ], "Received": [ "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3wF9cm1t1Yz9s7r\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 29 Apr 2017 09:53:28 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 9CAD2308FC;\n\tFri, 28 Apr 2017 23:53:26 +0000 (UTC)", "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 9P5c3igWozAo; Fri, 28 Apr 2017 23:53:25 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 2B346308FF;\n\tFri, 28 Apr 2017 23:53:25 +0000 (UTC)", "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 85C9B1C156A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 28 Apr 2017 23:53:21 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 7E1C43079B\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 28 Apr 2017 23:53:21 +0000 (UTC)", "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 9UVi+wK6bTK2 for <intel-wired-lan@lists.osuosl.org>;\n\tFri, 28 Apr 2017 23:53:19 +0000 (UTC)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 53DEA307A8\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 28 Apr 2017 23:53:19 +0000 (UTC)", "from orsmga005.jf.intel.com ([10.7.209.41])\n\tby fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t28 Apr 2017 16:53:18 -0700", "from jbrandeb-hsm2.jf.intel.com ([10.166.29.107])\n\tby orsmga005.jf.intel.com with ESMTP; 28 Apr 2017 16:53:17 -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-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.37,389,1488873600\"; d=\"scan'208\";a=\"93554479\"", "From": "Jesse Brandeburg <jesse.brandeburg@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Fri, 28 Apr 2017 16:53:17 -0700", "Message-Id": "<1493423597-18306-4-git-send-email-jesse.brandeburg@intel.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1493423597-18306-3-git-send-email-jesse.brandeburg@intel.com>", "References": "<1493423597-18306-1-git-send-email-jesse.brandeburg@intel.com>\n\t<1493423597-18306-2-git-send-email-jesse.brandeburg@intel.com>\n\t<1493423597-18306-3-git-send-email-jesse.brandeburg@intel.com>", "Subject": "[Intel-wired-lan] [PATCH net-next v1 3/3] i40evf: disable unused\n\tflags", "X-BeenThere": "intel-wired-lan@lists.osuosl.org", "X-Mailman-Version": "2.1.18-1", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.lists.osuosl.org>", "List-Unsubscribe": "<http://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@lists.osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@lists.osuosl.org?subject=help>", "List-Subscribe": "<http://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@lists.osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@lists.osuosl.org>" }, "content": "The i40evf hardware doesn't have any way to ever report FCoE enabled\nso just force the code to always report FCoE is disabled, remove the\nunused defines, and mark the OP as reserved.\n\nSigned-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>\n---\n drivers/net/ethernet/intel/i40evf/i40e_common.c | 3 +--\n drivers/net/ethernet/intel/i40evf/i40e_virtchnl.h | 3 +--\n 2 files changed, 2 insertions(+), 4 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/i40evf/i40e_common.c b/drivers/net/ethernet/intel/i40evf/i40e_common.c\nindex 43f1076..6729624 100644\n--- a/drivers/net/ethernet/intel/i40evf/i40e_common.c\n+++ b/drivers/net/ethernet/intel/i40evf/i40e_common.c\n@@ -1105,8 +1105,7 @@ void i40e_vf_parse_hw_config(struct i40e_hw *hw,\n \thw->dev_caps.num_msix_vectors_vf = msg->max_vectors;\n \thw->dev_caps.dcb = msg->vf_offload_flags &\n \t\t\t I40E_VIRTCHNL_VF_OFFLOAD_L2;\n-\thw->dev_caps.fcoe = (msg->vf_offload_flags &\n-\t\t\t I40E_VIRTCHNL_VF_OFFLOAD_FCOE) ? 1 : 0;\n+\thw->dev_caps.fcoe = 0;\n \tfor (i = 0; i < msg->num_vsis; i++) {\n \t\tif (vsi_res->vsi_type == I40E_VSI_SRIOV) {\n \t\t\tether_addr_copy(hw->mac.perm_addr,\ndiff --git a/drivers/net/ethernet/intel/i40evf/i40e_virtchnl.h b/drivers/net/ethernet/intel/i40evf/i40e_virtchnl.h\nindex c5ad038..b0b8de5 100644\n--- a/drivers/net/ethernet/intel/i40evf/i40e_virtchnl.h\n+++ b/drivers/net/ethernet/intel/i40evf/i40e_virtchnl.h\n@@ -79,7 +79,7 @@ enum i40e_virtchnl_ops {\n \tI40E_VIRTCHNL_OP_DEL_VLAN = 13,\n \tI40E_VIRTCHNL_OP_CONFIG_PROMISCUOUS_MODE = 14,\n \tI40E_VIRTCHNL_OP_GET_STATS = 15,\n-\tI40E_VIRTCHNL_OP_FCOE = 16,\n+\tI40E_VIRTCHNL_OP_RSVD = 16,\n \tI40E_VIRTCHNL_OP_EVENT = 17, /* must ALWAYS be 17 */\n \tI40E_VIRTCHNL_OP_IWARP = 20,\n \tI40E_VIRTCHNL_OP_CONFIG_IWARP_IRQ_MAP = 21,\n@@ -155,7 +155,6 @@ struct i40e_virtchnl_vsi_resource {\n /* VF offload flags */\n #define I40E_VIRTCHNL_VF_OFFLOAD_L2\t\t0x00000001\n #define I40E_VIRTCHNL_VF_OFFLOAD_IWARP\t\t0x00000002\n-#define I40E_VIRTCHNL_VF_OFFLOAD_FCOE\t\t0x00000004\n #define I40E_VIRTCHNL_VF_OFFLOAD_RSS_AQ\t\t0x00000008\n #define I40E_VIRTCHNL_VF_OFFLOAD_RSS_REG\t0x00000010\n #define I40E_VIRTCHNL_VF_OFFLOAD_WB_ON_ITR\t0x00000020\n", "prefixes": [ "net-next", "v1", "3/3" ] }