Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/691430/?format=api
{ "id": 691430, "url": "http://patchwork.ozlabs.org/api/patches/691430/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20161104210303.10489.64989.stgit@localhost6.localdomain6/", "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": "<20161104210303.10489.64989.stgit@localhost6.localdomain6>", "list_archive_url": null, "date": "2016-11-04T21:03:03", "name": "ixgbe: add mask for 64 RSS queues", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "169642b83af4fb409bb64b1b7f12258fb103a54c", "submitter": { "id": 1670, "url": "http://patchwork.ozlabs.org/api/people/1670/?format=api", "name": "Tantilov, Emil S", "email": "emil.s.tantilov@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/20161104210303.10489.64989.stgit@localhost6.localdomain6/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/691430/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/691430/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 fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\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 3t9ZGJ2bQ8z9t2b\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 5 Nov 2016 08:09:27 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id D0920C32AF;\n\tFri, 4 Nov 2016 21:09:24 +0000 (UTC)", "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id GsG-7dlzg3-8; Fri, 4 Nov 2016 21:09:23 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 7582DC32A8;\n\tFri, 4 Nov 2016 21:09:23 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 57BD71C2744\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 4 Nov 2016 21:09:22 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 5177492F1D\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 4 Nov 2016 21:09:22 +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 MQOcVLgjHzFH for <intel-wired-lan@lists.osuosl.org>;\n\tFri, 4 Nov 2016 21:09:21 +0000 (UTC)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 77FE292F00\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 4 Nov 2016 21:09:21 +0000 (UTC)", "from fmsmga006.fm.intel.com ([10.253.24.20])\n\tby fmsmga102.fm.intel.com with ESMTP; 04 Nov 2016 14:09:21 -0700", "from estantil-desk3.jf.intel.com (HELO localhost6.localdomain6)\n\t([134.134.3.186])\n\tby fmsmga006.fm.intel.com with ESMTP; 04 Nov 2016 14:09:20 -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.31,445,1473145200\"; d=\"scan'208\";a=\"27550335\"", "From": "Emil Tantilov <emil.s.tantilov@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Fri, 04 Nov 2016 14:03:03 -0700", "Message-ID": "<20161104210303.10489.64989.stgit@localhost6.localdomain6>", "User-Agent": "StGit/0.17.1-17-ge4e0", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [PATCH] ixgbe: add mask for 64 RSS queues", "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": "The indirection table was reported incorrectly for X550 and newer\nwhere we can support up to 64 RSS queues.\n\nReported-by Krishneil Singh <krishneil.k.singh@intel.com>\nSigned-off-by: Emil Tantilov <emil.s.tantilov@intel.com>\n---\n drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c | 8 +++++++-\n 1 file changed, 7 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c\nindex 15ab337..10d2967 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c\n@@ -308,6 +308,7 @@ static void ixgbe_cache_ring_register(struct ixgbe_adapter *adapter)\n \tixgbe_cache_ring_rss(adapter);\n }\n \n+#define IXGBE_RSS_64Q_MASK\t0x3F\n #define IXGBE_RSS_16Q_MASK\t0xF\n #define IXGBE_RSS_8Q_MASK\t0x7\n #define IXGBE_RSS_4Q_MASK\t0x3\n@@ -604,6 +605,7 @@ static bool ixgbe_set_sriov_queues(struct ixgbe_adapter *adapter)\n **/\n static bool ixgbe_set_rss_queues(struct ixgbe_adapter *adapter)\n {\n+\tstruct ixgbe_hw *hw = &adapter->hw;\n \tstruct ixgbe_ring_feature *f;\n \tu16 rss_i;\n \n@@ -612,7 +614,11 @@ static bool ixgbe_set_rss_queues(struct ixgbe_adapter *adapter)\n \trss_i = f->limit;\n \n \tf->indices = rss_i;\n-\tf->mask = IXGBE_RSS_16Q_MASK;\n+\n+\tif (hw->mac.type < ixgbe_mac_X550)\n+\t\tf->mask = IXGBE_RSS_16Q_MASK;\n+\telse\n+\t\tf->mask = IXGBE_RSS_64Q_MASK;\n \n \t/* disable ATR by default, it will be configured below */\n \tadapter->flags &= ~IXGBE_FLAG_FDIR_HASH_CAPABLE;\n", "prefixes": [] }