Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/537613/?format=api
{ "id": 537613, "url": "http://patchwork.ozlabs.org/api/patches/537613/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20151029001945.19165.81033.stgit@bwallan-cwp1.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": "<20151029001945.19165.81033.stgit@bwallan-cwp1.jf.intel.com>", "list_archive_url": null, "date": "2015-10-29T00:19:45", "name": "[next-queue,v2] fm10k: use BIT() macro instead of open-coded bit-shifting", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "679d121ac20df7305b637b6c9738f22de5c36ebe", "submitter": { "id": 503, "url": "http://patchwork.ozlabs.org/api/people/503/?format=api", "name": "Allan, Bruce W", "email": "bruce.w.allan@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/20151029001945.19165.81033.stgit@bwallan-cwp1.jf.intel.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/537613/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/537613/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\tby ozlabs.org (Postfix) with ESMTP id 45B341402D4\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 29 Oct 2015 11:19:49 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 950728B1D5;\n\tThu, 29 Oct 2015 00:19:48 +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 wvr6ZD51TtVJ; Thu, 29 Oct 2015 00:19:48 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 436D189628;\n\tThu, 29 Oct 2015 00:19:48 +0000 (UTC)", "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 801AD1C172A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 29 Oct 2015 00:19:47 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 7BBDD89628\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 29 Oct 2015 00:19:47 +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 J6EKUcJ64zEc for <intel-wired-lan@lists.osuosl.org>;\n\tThu, 29 Oct 2015 00:19:47 +0000 (UTC)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 0D5DD896AE\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 29 Oct 2015 00:19:47 +0000 (UTC)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby orsmga103.jf.intel.com with ESMTP; 28 Oct 2015 17:19:46 -0700", "from bwallan-cwp1.jf.intel.com (HELO bwallan-cwp1)\n\t([10.166.140.23])\n\tby fmsmga002.fm.intel.com with ESMTP; 28 Oct 2015 17:19:46 -0700", "from bwallan-cwp1.jf.intel.com (localhost [127.0.0.1])\n\tby bwallan-cwp1 (8.15.2/8.15.1) with ESMTP id t9T0Jjr8019208\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 28 Oct 2015 17:19:46 -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.20,212,1444719600\"; d=\"scan'208\";a=\"837970939\"", "From": "Bruce Allan <bruce.w.allan@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Wed, 28 Oct 2015 17:19:45 -0700", "Message-ID": "<20151029001945.19165.81033.stgit@bwallan-cwp1.jf.intel.com>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [next-queue PATCH v2] fm10k: use BIT() macro\n\tinstead of open-coded bit-shifting", "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": "Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>\n---\n drivers/net/ethernet/intel/fm10k/fm10k.h | 2 +-\n drivers/net/ethernet/intel/fm10k/fm10k_type.h | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/fm10k/fm10k.h b/drivers/net/ethernet/intel/fm10k/fm10k.h\nindex 4aaaa90..6735f7d 100644\n--- a/drivers/net/ethernet/intel/fm10k/fm10k.h\n+++ b/drivers/net/ethernet/intel/fm10k/fm10k.h\n@@ -422,7 +422,7 @@ static inline u16 fm10k_desc_unused(struct fm10k_ring *ring)\n \t (&(((union fm10k_rx_desc *)((R)->desc))[i]))\n \n #define FM10K_MAX_TXD_PWR\t14\n-#define FM10K_MAX_DATA_PER_TXD\t(1 << FM10K_MAX_TXD_PWR)\n+#define FM10K_MAX_DATA_PER_TXD\tBIT(FM10K_MAX_TXD_PWR)\n \n /* Tx Descriptors needed, worst case */\n #define TXD_USE_COUNT(S)\tDIV_ROUND_UP((S), FM10K_MAX_DATA_PER_TXD)\ndiff --git a/drivers/net/ethernet/intel/fm10k/fm10k_type.h b/drivers/net/ethernet/intel/fm10k/fm10k_type.h\nindex 2fd962f..098883d 100644\n--- a/drivers/net/ethernet/intel/fm10k/fm10k_type.h\n+++ b/drivers/net/ethernet/intel/fm10k/fm10k_type.h\n@@ -354,7 +354,7 @@ struct fm10k_hw;\n #define FM10K_VLAN_TABLE_VID_MAX\t\t4096\n #define FM10K_VLAN_TABLE_VSI_MAX\t\t64\n #define FM10K_VLAN_LENGTH_SHIFT\t\t\t16\n-#define FM10K_VLAN_CLEAR\t\t\t(1 << 15)\n+#define FM10K_VLAN_CLEAR\t\t\tBIT(15)\n #define FM10K_VLAN_ALL \\\n \t((FM10K_VLAN_TABLE_VID_MAX - 1) << FM10K_VLAN_LENGTH_SHIFT)\n \n", "prefixes": [ "next-queue", "v2" ] }