Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/547708/?format=api
{ "id": 547708, "url": "http://patchwork.ozlabs.org/api/patches/547708/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20151123183101.18641.30146.stgit@lin-nd1-054.jf.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": "<20151123183101.18641.30146.stgit@lin-nd1-054.jf.intel.com>", "list_archive_url": null, "date": "2015-11-23T18:31:01", "name": "ixgbe: use correct fcoe ddp max check", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "ceb8edfe528a08e01f862a460a5dcd8a05775167", "submitter": { "id": 10688, "url": "http://patchwork.ozlabs.org/api/people/10688/?format=api", "name": "Vasu Dev", "email": "vasu.dev@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/20151123183101.18641.30146.stgit@lin-nd1-054.jf.intel.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/547708/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/547708/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 whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ozlabs.org (Postfix) with ESMTP id 6687A1402C8\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 24 Nov 2015 05:31:05 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id B1A1D92A0A;\n\tMon, 23 Nov 2015 18:31:04 +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 ZT15Jo0SN3Qa; Mon, 23 Nov 2015 18:31:04 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 2647D929F4;\n\tMon, 23 Nov 2015 18:31:04 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id D14781C0361\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 23 Nov 2015 18:31:02 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id CC4C8929F4\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 23 Nov 2015 18:31:02 +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 brierjjeVYwk for <intel-wired-lan@lists.osuosl.org>;\n\tMon, 23 Nov 2015 18:31:02 +0000 (UTC)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 497F692A08\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 23 Nov 2015 18:31:02 +0000 (UTC)", "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga101.jf.intel.com with ESMTP; 23 Nov 2015 10:31:02 -0800", "from lin-nd1-054.jf.intel.com ([10.166.48.54])\n\tby orsmga001.jf.intel.com with ESMTP; 23 Nov 2015 10:31:03 -0800" ], "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.20,338,1444719600\"; d=\"scan'208\";a=\"827337364\"", "From": "Vasu Dev <vasu.dev@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Mon, 23 Nov 2015 10:31:01 -0800", "Message-ID": "<20151123183101.18641.30146.stgit@lin-nd1-054.jf.intel.com>", "User-Agent": "StGIT/0.14.3", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [PATCH] ixgbe: use correct fcoe ddp max check", "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>", "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": "Use fcoe_ddp_xid from netdev as this is correctly set for different\ndevice IDs to avoid DDP skip error on X550 as \"xid=0x20b out-of-range\"\n\nSigned-off-by: Vasu Dev <vasu.dev@intel.com>\n---\n\n drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c | 4 ++--\n 1 files changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c\nindex 631c603..83ccb7b 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c\n@@ -77,7 +77,7 @@ int ixgbe_fcoe_ddp_put(struct net_device *netdev, u16 xid)\n \tif (!netdev)\n \t\treturn 0;\n \n-\tif (xid >= IXGBE_FCOE_DDP_MAX)\n+\tif (xid >= netdev->fcoe_ddp_xid)\n \t\treturn 0;\n \n \tadapter = netdev_priv(netdev);\n@@ -177,7 +177,7 @@ static int ixgbe_fcoe_ddp_setup(struct net_device *netdev, u16 xid,\n \t\treturn 0;\n \n \tadapter = netdev_priv(netdev);\n-\tif (xid >= IXGBE_FCOE_DDP_MAX) {\n+\tif (xid >= netdev->fcoe_ddp_xid) {\n \t\te_warn(drv, \"xid=0x%x out-of-range\\n\", xid);\n \t\treturn 0;\n \t}\n", "prefixes": [] }