Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/840493/?format=api
{ "id": 840493, "url": "http://patchwork.ozlabs.org/api/patches/840493/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20171122185705.29785.4436.stgit@localhost.localdomain/", "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": "<20171122185705.29785.4436.stgit@localhost.localdomain>", "list_archive_url": null, "date": "2017-11-22T18:57:05", "name": "[jkirsher/next-queue,09/16] ixgbe: Default to 1 pool always being allocated", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "fae9fa72026e8e489784b8eca547510a2dcd3265", "submitter": { "id": 252, "url": "http://patchwork.ozlabs.org/api/people/252/?format=api", "name": "Alexander Duyck", "email": "alexander.duyck@gmail.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/20171122185705.29785.4436.stgit@localhost.localdomain/mbox/", "series": [ { "id": 14756, "url": "http://patchwork.ozlabs.org/api/series/14756/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=14756", "date": "2017-11-22T18:56:10", "name": "ixgbe/fm10k: macvlan fixes", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/14756/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/840493/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/840493/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.136; helo=silver.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"W6nUv1iW\"; dkim-atps=neutral" ], "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 3yhssg1sqfz9s1h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 23 Nov 2017 06:27:18 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 89B072D562;\n\tWed, 22 Nov 2017 19:27:16 +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 kc7fmSRNLlkl; Wed, 22 Nov 2017 19:27:15 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id C42862EC69;\n\tWed, 22 Nov 2017 19:27:15 +0000 (UTC)", "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 9F0D01C2092\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 22 Nov 2017 19:05:09 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 985C287500\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 22 Nov 2017 19:05:09 +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 cJdHvZZ1t72R for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 22 Nov 2017 19:05:08 +0000 (UTC)", "from mail-pl0-f66.google.com (mail-pl0-f66.google.com\n\t[209.85.160.66])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id C1E0687244\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 22 Nov 2017 19:05:08 +0000 (UTC)", "by mail-pl0-f66.google.com with SMTP id k7so1260249pln.13\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 22 Nov 2017 11:05:08 -0800 (PST)", "from localhost.localdomain ([2001:470:b:9c3:9e5c:8eff:fe4f:f2d0])\n\tby smtp.gmail.com with ESMTPSA id\n\ty7sm28398307pfy.144.2017.11.22.10.57.05\n\tfor <intel-wired-lan@lists.osuosl.org>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 22 Nov 2017 10:57:05 -0800 (PST)" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=subject:from:to:date:message-id:in-reply-to:references:user-agent\n\t:mime-version:content-transfer-encoding;\n\tbh=fwuC5xlkz/BwYpTRXUHo8AVr5iQy6kC2pueZSvVf3Y4=;\n\tb=W6nUv1iWlXoTVeS1KW4TI+Sd8UygTMiae6iO+TkzOu0R0YTilEcNoybdH9c9MlcMjB\n\tQVA9NjJDgVzR0YWZehPfSEv7OvVHP8C9xK5gSlYwEL0XjJlNem/BAqSscqqCotU39WMn\n\tSVIPbWMn0IUZPHwbSGY6rmBgASeKuGJ0/ZVe67O3IHc2uPSbkXs0ujUhPLIbFqYtUsRY\n\t1dm/B5cxLf9mGVCWsCpp0mzgYO5re5ZOMcshWkgjWLaLtstGmEmidUnbsviQwapD17Sc\n\t/LHbc0REyU+T0eI0rubv2B0LlkiRBWKuUAd3TwAG+blClSYI2DeI5gH19QsTAKhfzbTF\n\ts2fw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:subject:from:to:date:message-id:in-reply-to\n\t:references:user-agent:mime-version:content-transfer-encoding;\n\tbh=fwuC5xlkz/BwYpTRXUHo8AVr5iQy6kC2pueZSvVf3Y4=;\n\tb=EfbQKZOJRhmUoJHFsVmGtKTWG7kIcVrJKrIvwrYY6zq+B/VXuWOvz8nf72WlEAq9d4\n\tHGa4NY90uHeJsQzUmnzTXsYhBKAZ2CvWrcXhx7OQlpnj7KW8zsPJZvG6XqW1iesLk+gN\n\t2Z74ePL/lUIRbC4LBwf0bThbOxVTSjHt0fB5s7nqcMkXu72/aBLugcoJ/D//p20W015y\n\tpt4FTXjZXm34+b4q7M/W0ofmxxbDY7PXPn1xAhaCiZsb4RLK7a/VF661bPz9OtEr3IxV\n\tIMh2Gnb5lZh/vx5ffoQgzdafKuiMqqaM1ZxgnnZPpV2mmgnZ3PsJAz1Ubp0bvt7lCcIy\n\tskjA==", "X-Gm-Message-State": "AJaThX4UWB0bIz/FIb+TMa6t60sfxVCp/XCaasKdGTav5jRiaDZw/kIz\n\tggG5T7rzBo59OtaLcsS3CCevXfHP", "X-Google-Smtp-Source": "AGs4zMarpNrxIjh6DwFKWiWuM+Sck7s4bn5sULlM4WMqKn/wXZ8jvY+YqepErwIeLg17IrxnEFwkbg==", "X-Received": "by 10.84.235.8 with SMTP id o8mr19052896plk.354.1511377026016;\n\tWed, 22 Nov 2017 10:57:06 -0800 (PST)", "From": "Alexander Duyck <alexander.duyck@gmail.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Wed, 22 Nov 2017 10:57:05 -0800", "Message-ID": "<20171122185705.29785.4436.stgit@localhost.localdomain>", "In-Reply-To": "<20171122185256.29785.93548.stgit@localhost.localdomain>", "References": "<20171122185256.29785.93548.stgit@localhost.localdomain>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [jkirsher/next-queue PATCH 09/16] ixgbe: Default\n\tto 1 pool always being allocated", "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": "From: Alexander Duyck <alexander.h.duyck@intel.com>\n\nWe might as well configure the limit to default to 1 pool always for the\ninterface. This accounts for the fact that the PF counts as 1 pool if\nSR-IOV is enabled, and in general we are always running in 1 pool mode when\nRSS or DCB is enabled as well, though we don't need to actually evaulate\nany of the VMDq features in those cases.\n\nSigned-off-by: Alexander Duyck <alexander.h.duyck@intel.com>\n---\n drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 1 +\n drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 7 ++-----\n 2 files changed, 3 insertions(+), 5 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\nindex 6b553f96ead9..611e6980b5ac 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\n@@ -6127,6 +6127,7 @@ static int ixgbe_sw_init(struct ixgbe_adapter *adapter,\n \tfdir = min_t(int, IXGBE_MAX_FDIR_INDICES, num_online_cpus());\n \tadapter->ring_feature[RING_F_FDIR].limit = fdir;\n \tadapter->fdir_pballoc = IXGBE_FDIR_PBALLOC_64K;\n+\tadapter->ring_feature[RING_F_VMDQ].limit = 1;\n #ifdef CONFIG_IXGBE_DCA\n \tadapter->flags |= IXGBE_FLAG_DCA_CAPABLE;\n #endif\ndiff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c\nindex 0085f4632966..543f2e60e4b7 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c\n@@ -78,12 +78,9 @@ static int __ixgbe_enable_sriov(struct ixgbe_adapter *adapter,\n \tstruct ixgbe_hw *hw = &adapter->hw;\n \tint i;\n \n-\tadapter->flags |= IXGBE_FLAG_SRIOV_ENABLED;\n-\n \t/* Enable VMDq flag so device will be set in VM mode */\n-\tadapter->flags |= IXGBE_FLAG_VMDQ_ENABLED;\n-\tif (!adapter->ring_feature[RING_F_VMDQ].limit)\n-\t\tadapter->ring_feature[RING_F_VMDQ].limit = 1;\n+\tadapter->flags |= IXGBE_FLAG_SRIOV_ENABLED |\n+\t\t\t IXGBE_FLAG_VMDQ_ENABLED;\n \n \t/* Allocate memory for per VF control structures */\n \tadapter->vfinfo = kcalloc(num_vfs, sizeof(struct vf_data_storage),\n", "prefixes": [ "jkirsher/next-queue", "09/16" ] }