Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/845267/?format=api
{ "id": 845267, "url": "http://patchwork.ozlabs.org/api/patches/845267/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20171206172515.37577-6-jeffrey.t.kirsher@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": "<20171206172515.37577-6-jeffrey.t.kirsher@intel.com>", "list_archive_url": null, "date": "2017-12-06T17:25:15", "name": "[6/6] fm10k: clarify action when updating the VLAN table", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "0fcdb3766947b9f6cf780509be6da81430d523f1", "submitter": { "id": 473, "url": "http://patchwork.ozlabs.org/api/people/473/?format=api", "name": "Kirsher, Jeffrey T", "email": "jeffrey.t.kirsher@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/20171206172515.37577-6-jeffrey.t.kirsher@intel.com/mbox/", "series": [ { "id": 17079, "url": "http://patchwork.ozlabs.org/api/series/17079/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=17079", "date": "2017-12-06T17:25:15", "name": null, "version": 1, "mbox": "http://patchwork.ozlabs.org/series/17079/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/845267/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/845267/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 3ysQVy5VDhz9s84\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 7 Dec 2017 04:25:46 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id A36418825B;\n\tWed, 6 Dec 2017 17:25:43 +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 XA13uoIr1MSy; Wed, 6 Dec 2017 17:25:41 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 5AE1A880DE;\n\tWed, 6 Dec 2017 17:25:41 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id D29081C3E85\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 6 Dec 2017 17:25:39 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id CC3A48805C\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 6 Dec 2017 17:25:39 +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 osrNhe39SFWi for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 6 Dec 2017 17:25:39 +0000 (UTC)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 2EADE88140\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 6 Dec 2017 17:25:39 +0000 (UTC)", "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t06 Dec 2017 09:25:38 -0800", "from jtkirshe-desk.jf.intel.com (HELO\n\tjtkirshe-DESK.amr.corp.intel.com.com) ([134.134.177.65])\n\tby orsmga002.jf.intel.com with ESMTP; 06 Dec 2017 09:25:37 -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.45,369,1508828400\"; d=\"scan'208\";a=\"16002189\"", "From": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>", "To": "Intel Wired LAN <intel-wired-lan@lists.osuosl.org>", "Date": "Wed, 6 Dec 2017 09:25:15 -0800", "Message-Id": "<20171206172515.37577-6-jeffrey.t.kirsher@intel.com>", "X-Mailer": "git-send-email 2.15.1", "In-Reply-To": "<20171206172515.37577-1-jeffrey.t.kirsher@intel.com>", "References": "<20171206172515.37577-1-jeffrey.t.kirsher@intel.com>", "Subject": "[Intel-wired-lan] [PATCH 6/6] fm10k: clarify action when updating\n\tthe VLAN table", "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>", "Cc": "Ngai-Mint Kwan <ngai-mint.kwan@intel.com>,\n\tJacob Keller <jacob.e.keller@gmail.com>", "MIME-Version": "1.0", "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: Ngai-Mint Kwan <ngai-mint.kwan@intel.com>\n\nClarify the comment for when entering promiscuous mode that we update\nthe VLAN table. Add a comment distinguishing the case where we're\nexiting promiscuous mode and need to clear the entire VLAN table.\n\nSigned-off-by: Ngai-Mint Kwan <ngai-mint.kwan@intel.com>\nSigned-off-by: Jacob Keller <jacob.e.keller@gmail.com>\n---\n drivers/net/ethernet/intel/fm10k/fm10k_netdev.c | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ethernet/intel/fm10k/fm10k_netdev.c b/drivers/net/ethernet/intel/fm10k/fm10k_netdev.c\nindex ec91eabbb723..f1cfa1a1586a 100644\n--- a/drivers/net/ethernet/intel/fm10k/fm10k_netdev.c\n+++ b/drivers/net/ethernet/intel/fm10k/fm10k_netdev.c\n@@ -1165,10 +1165,12 @@ static void fm10k_set_rx_mode(struct net_device *dev)\n \n \t/* update xcast mode first, but only if it changed */\n \tif (interface->xcast_mode != xcast_mode) {\n-\t\t/* update VLAN table */\n+\t\t/* update VLAN table when entering promiscuous mode */\n \t\tif (xcast_mode == FM10K_XCAST_MODE_PROMISC)\n \t\t\tfm10k_queue_vlan_request(interface, FM10K_VLAN_ALL,\n \t\t\t\t\t\t 0, true);\n+\n+\t\t/* clear VLAN table when exiting promiscuous mode */\n \t\tif (interface->xcast_mode == FM10K_XCAST_MODE_PROMISC)\n \t\t\tfm10k_clear_unused_vlans(interface);\n \n", "prefixes": [ "6/6" ] }