Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/857190/?format=api
{ "id": 857190, "url": "http://patchwork.ozlabs.org/api/patches/857190/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/151546124009.14015.16331913167013558885.stgit@anamdev.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": "<151546124009.14015.16331913167013558885.stgit@anamdev.jf.intel.com>", "list_archive_url": null, "date": "2018-01-09T01:27:20", "name": "[jkirsher/next-queue] i40e: Fix channel addition in reset flow", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "ef00d5cfc2814b0afa74b51926cea7e1a0cdbbc9", "submitter": { "id": 68504, "url": "http://patchwork.ozlabs.org/api/people/68504/?format=api", "name": "Nambiar, Amritha", "email": "amritha.nambiar@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/151546124009.14015.16331913167013558885.stgit@anamdev.jf.intel.com/mbox/", "series": [ { "id": 22040, "url": "http://patchwork.ozlabs.org/api/series/22040/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=22040", "date": "2018-01-09T01:27:20", "name": "[jkirsher/next-queue] i40e: Fix channel addition in reset flow", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/22040/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/857190/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/857190/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>)", "Received": [ "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\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 3zFvh82y6xz9sPk\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 9 Jan 2018 12:29:42 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 24475831E9;\n\tTue, 9 Jan 2018 01:29:41 +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 Tz7yW94SmrBT; Tue, 9 Jan 2018 01:29:39 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id AF68582FB9;\n\tTue, 9 Jan 2018 01:29:39 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 66B9C1C2630\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 9 Jan 2018 01:29:38 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 5F3D18141A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 9 Jan 2018 01:29:38 +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 K7H69r-9PTCh for <intel-wired-lan@lists.osuosl.org>;\n\tTue, 9 Jan 2018 01:29:37 +0000 (UTC)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 83B0782F92\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 9 Jan 2018 01:29:37 +0000 (UTC)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t08 Jan 2018 17:29:36 -0800", "from anamdev.jf.intel.com ([10.166.29.110])\n\tby FMSMGA003.fm.intel.com with ESMTP; 08 Jan 2018 17:29:36 -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-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.46,333,1511856000\"; d=\"scan'208\";a=\"17715247\"", "From": "Amritha Nambiar <amritha.nambiar@intel.com>", "To": "intel-wired-lan@lists.osuosl.org, jeffrey.t.kirsher@intel.com", "Date": "Mon, 08 Jan 2018 17:27:20 -0800", "Message-ID": "<151546124009.14015.16331913167013558885.stgit@anamdev.jf.intel.com>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [jkirsher/next-queue PATCH] i40e: Fix channel\n\taddition in reset flow", "X-BeenThere": "intel-wired-lan@osuosl.org", "X-Mailman-Version": "2.1.24", "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": "Fix recreating the channel VSIs during the reset flow to reconfigure\nthe Tx rings and the queue context associated with the channel VSI.\nAlso update the next_base_queue for the VSI while rebuilding the\nchannel VSIs after a reset.\n\nSigned-off-by: Amritha Nambiar <amritha.nambiar@intel.com>\n---\n drivers/net/ethernet/intel/i40e/i40e_main.c | 11 +++++++++++\n 1 file changed, 11 insertions(+)", "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c\nindex 7808659..7be7d71 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_main.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c\n@@ -9083,6 +9083,17 @@ static int i40e_rebuild_channels(struct i40e_vsi *vsi)\n \t\t\t\t vsi->uplink_seid);\n \t\t\treturn ret;\n \t\t}\n+\t\t/* Reconfigure TX queues using QTX_CTL register */\n+\t\tret = i40e_channel_config_tx_ring(vsi->back, vsi, ch);\n+\t\tif (ret) {\n+\t\t\tdev_info(&vsi->back->pdev->dev,\n+\t\t\t\t \"failed to configure TX rings for channel %u\\n\",\n+\t\t\t\t ch->seid);\n+\t\t\treturn ret;\n+\t\t}\n+\t\t/* update 'next_base_queue' */\n+\t\tvsi->next_base_queue = vsi->next_base_queue +\n+\t\t\t\t\t\t\tch->num_queue_pairs;\n \t\tif (ch->max_tx_rate) {\n \t\t\tu64 credits = ch->max_tx_rate;\n \n", "prefixes": [ "jkirsher/next-queue" ] }