Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/611044/?format=api
{ "id": 611044, "url": "http://patchwork.ozlabs.org/api/patches/611044/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20160415170046.3137.8553.stgit@ahduyck-xeon-server/", "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": "<20160415170046.3137.8553.stgit@ahduyck-xeon-server>", "list_archive_url": null, "date": "2016-04-15T17:00:46", "name": "[next-queue] fm10k: Align Rx buffers to 512B blocks", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "8e1ed4c9f6a66f94e27038ec20129dc05f092aff", "submitter": { "id": 67293, "url": "http://patchwork.ozlabs.org/api/people/67293/?format=api", "name": "Alexander Duyck", "email": "aduyck@mirantis.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/20160415170046.3137.8553.stgit@ahduyck-xeon-server/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/611044/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/611044/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 3qmkMN19Z1z9t6W\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 16 Apr 2016 03:01:03 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 54438C041E;\n\tFri, 15 Apr 2016 17:01:02 +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 QPQBrlzfpKfH; Fri, 15 Apr 2016 17:00:56 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 4A9FCC0401;\n\tFri, 15 Apr 2016 17:00:56 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 703D71CF583\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 15 Apr 2016 17:00:54 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 6969991F24\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 15 Apr 2016 17:00:54 +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 ZzDfYxAItadV for <intel-wired-lan@lists.osuosl.org>;\n\tFri, 15 Apr 2016 17:00:53 +0000 (UTC)", "from mail-pf0-f176.google.com (mail-pf0-f176.google.com\n\t[209.85.192.176])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 8CFF391F1A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 15 Apr 2016 17:00:53 +0000 (UTC)", "by mail-pf0-f176.google.com with SMTP id e128so58402270pfe.3\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 15 Apr 2016 10:00:53 -0700 (PDT)", "from [192.168.1.143] (static-50-53-29-36.bvtn.or.frontiernet.net.\n\t[50.53.29.36]) by smtp.gmail.com with ESMTPSA id\n\t85sm7437480pfs.34.2016.04.15.10.00.52\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 15 Apr 2016 10:00:52 -0700 (PDT)" ], "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=mirantis.com header.i=@mirantis.com\n\theader.b=YIUZ7upF; dkim-atps=neutral", "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "from auto-whitelisted by SQLgrey-1.7.6", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=mirantis.com;\n\ts=google; \n\th=subject:from:to:date:message-id:user-agent:mime-version\n\t:content-transfer-encoding;\n\tbh=WPnlApt4bERirpJfWa/HVUZEcn/Km5hq3Hwx+YnFBao=;\n\tb=YIUZ7upFSBBZuVkmYXJdZg+VlqN2mJazg3yog//vYvqf92YvJRIXyaUQdf3zxl028b\n\tz/cCNpy+bDLvOoykfHcgPLRCzLY9fih8p1yqHJj7e+af+iJM7cuAZjgTaCzkhCQXqrWp\n\tCIyMMcTMNnVetOKWP78ehz62HPeXD40FuHIWA=", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:subject:from:to:date:message-id:user-agent\n\t:mime-version:content-transfer-encoding;\n\tbh=WPnlApt4bERirpJfWa/HVUZEcn/Km5hq3Hwx+YnFBao=;\n\tb=O3HlvK34CPUwMEUtUF7kiORCYSd4xK6DPzFHZyo0d++J89AXrKx+1Pys4YmKnB31oF\n\tcgywzHdvhddY20L/kce0vKCgH35vLeDNZmLZ3NvdB01OPtTuSrWlB5jeOsxrmg1Ea86I\n\tdyx8GLfVo3p7C1ynsKuGNvuJ9WlCzMyp7Tlu6Vc4U2sS7RUcLQ/MLbujGSeZr3AmZAcR\n\tugrqYNKn9famjuCL0lbCZcJZi8b3oTvPu/u3kiRaPuQgppHSdYwMUCAtPtTFYmq8IOvM\n\ti86dfPlzoOWpSWclcxAaAHtfIHpWtQEuvExvCKYTnHqgnsuQxnGcWsIQNW04Vv/UBnLG\n\t99kw==", "X-Gm-Message-State": "AOPr4FXln0D4YBRoM4yTwvmoz2cueCcvYLGQlMFIksX6ARcZ8Qq/L2NkSn9xxcd8db/u5pXF", "X-Received": "by 10.98.28.206 with SMTP id c197mr5862797pfc.131.1460739653230; \n\tFri, 15 Apr 2016 10:00:53 -0700 (PDT)", "From": "Alexander Duyck <aduyck@mirantis.com>", "To": "intel-wired-lan@lists.osuosl.org, jeffrey.t.kirsher@intel.com,\n\talexander.duyck@gmail.com", "Date": "Fri, 15 Apr 2016 13:00:46 -0400", "Message-ID": "<20160415170046.3137.8553.stgit@ahduyck-xeon-server>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [next-queue PATCH] fm10k: Align Rx buffers to\n\t512B blocks", "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": "While reviewing the i40e driver changes to support page based receive I\nrealized that I had overlooked the fact that the fm10k hardware required a\n512 byte alignment for Rx buffers. This patch is meant to address that by\nchanging the alignment for Rx buffers to 512 bytes instead of allowing it\nto be L1 cache aligned.\n\nSigned-off-by: Alexander Duyck <aduyck@mirantis.com>\n---\n drivers/net/ethernet/intel/fm10k/fm10k_main.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ethernet/intel/fm10k/fm10k_main.c b/drivers/net/ethernet/intel/fm10k/fm10k_main.c\nindex 0e166e9c90c8..53d02416476c 100644\n--- a/drivers/net/ethernet/intel/fm10k/fm10k_main.c\n+++ b/drivers/net/ethernet/intel/fm10k/fm10k_main.c\n@@ -272,7 +272,7 @@ static bool fm10k_add_rx_frag(struct fm10k_rx_buffer *rx_buffer,\n #if (PAGE_SIZE < 8192)\n \tunsigned int truesize = FM10K_RX_BUFSZ;\n #else\n-\tunsigned int truesize = SKB_DATA_ALIGN(size);\n+\tunsigned int truesize = ALIGN(size, 512);\n #endif\n \tunsigned int pull_len;\n \n", "prefixes": [ "next-queue" ] }