Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/808809/?format=api
{ "id": 808809, "url": "http://patchwork.ozlabs.org/api/1.2/patches/808809/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20170901163151.106867-1-willemdebruijn.kernel@gmail.com/", "project": { "id": 7, "url": "http://patchwork.ozlabs.org/api/1.2/projects/7/?format=api", "name": "Linux network development", "link_name": "netdev", "list_id": "netdev.vger.kernel.org", "list_email": "netdev@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170901163151.106867-1-willemdebruijn.kernel@gmail.com>", "list_archive_url": null, "date": "2017-09-01T16:31:51", "name": "[net-next] selftests: correct define in msg_zerocopy.c", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "e4b775a79d71c5d1e0b83ae5977f8536b89a4691", "submitter": { "id": 67615, "url": "http://patchwork.ozlabs.org/api/1.2/people/67615/?format=api", "name": "Willem de Bruijn", "email": "willemdebruijn.kernel@gmail.com" }, "delegate": { "id": 34, "url": "http://patchwork.ozlabs.org/api/1.2/users/34/?format=api", "username": "davem", "first_name": "David", "last_name": "Miller", "email": "davem@davemloft.net" }, "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20170901163151.106867-1-willemdebruijn.kernel@gmail.com/mbox/", "series": [ { "id": 1071, "url": "http://patchwork.ozlabs.org/api/1.2/series/1071/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=1071", "date": "2017-09-01T16:31:51", "name": "[net-next] selftests: correct define in msg_zerocopy.c", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/1071/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/808809/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/808809/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<netdev-owner@vger.kernel.org>", "X-Original-To": "patchwork-incoming@ozlabs.org", "Delivered-To": "patchwork-incoming@ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"h6s6voBu\"; dkim-atps=neutral" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xkPsB0Vdfz9t2x\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 2 Sep 2017 02:31:58 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752212AbdIAQbz (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tFri, 1 Sep 2017 12:31:55 -0400", "from mail-qk0-f194.google.com ([209.85.220.194]:35991 \"EHLO\n\tmail-qk0-f194.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1752033AbdIAQby (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Fri, 1 Sep 2017 12:31:54 -0400", "by mail-qk0-f194.google.com with SMTP id l65so515349qkc.3\n\tfor <netdev@vger.kernel.org>; Fri, 01 Sep 2017 09:31:54 -0700 (PDT)", "from willemb1.nyc.corp.google.com ([100.101.212.81])\n\tby smtp.gmail.com with ESMTPSA id\n\te67sm7273435qkb.67.2017.09.01.09.31.53\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 01 Sep 2017 09:31:53 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=7XlWtZ0ea3bRa5AYMR4gBraUOeUs0eWsXFM76Jn0UYg=;\n\tb=h6s6voBu0H8NyPiA90gtXKkuxrOxzoP5f5ANAHYDVL5NJ9hJLiWvAsOxBNFSdSwmFC\n\tRe9eT6DZew0hnTVlViIj2xDK7+jzmrlq/zB2qa+/44lxTbveEn2ET5pUB22y+G57KMHh\n\tu3WZ3QAI2jgvCKIeH/fsryLfhpzG9gFq15dep2CvJIQmn+M1CJJbzyK3YJlnEDt53a/p\n\ty2LT0CpkIjxb+2rZsw4mQ/ZFDM4LaRmPUSvAjcs7LslQP28BalR01EBc+OfvUzBZVl77\n\t0NqXzR9rLFDIf7h+uWZWOMtAVu1s5n4XdgKsHleCkVZxgduB0fzwBCDMs/BczO6Xm9GO\n\tgxSw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=7XlWtZ0ea3bRa5AYMR4gBraUOeUs0eWsXFM76Jn0UYg=;\n\tb=hzYIWmh7fTWc/p8gD28yOo0AN9OX5w8FNxDLm/H0xK8+jOv4PnuG22MMhk39MJRKCC\n\tTkueMn0joCqFSPRLmpdOcNIdixbgt1ITRURlXxbcPbiOT060baorJDDItwV4qShhdsxd\n\tD6vYFZx6Unw0KEVmUmxySAi9kqCf9suOvNqb14qLV/QMtslSP8m9Ge15DgNL8gl9lZJg\n\tJ++tGj+66cjZvfjwCWZZbZtrFGX87owLZywmrkrK6Jbmk8+Pt/uP95IcCyLNiPVr1VI1\n\t9vDubHeeV+/QS/Nk0V2tsz7dh8Z61pyVMJ1WE7HcORQJkq6uFUqEk+PTfEKoLt7teROr\n\twylQ==", "X-Gm-Message-State": "AHPjjUhYgecH7M8x/Frh9hRHHZ8VQbkrVyWWXPpfpOvens8BiLuE2rIj\n\tY22pQ5DP0QeklG2UZag=", "X-Google-Smtp-Source": "ADKCNb4qoFQjrHjfnu3icYyxrQpbLS4w4HzxEHohYMHW0XfZGvU4BEd/NGauUVXiXyfCs2i7ck04gw==", "X-Received": "by 10.55.39.73 with SMTP id n70mr3184686qkn.257.1504283513958;\n\tFri, 01 Sep 2017 09:31:53 -0700 (PDT)", "From": "Willem de Bruijn <willemdebruijn.kernel@gmail.com>", "To": "netdev@vger.kernel.org", "Cc": "davem@davemloft.net, ast@fb.com, dmm@fb.com,\n\tWillem de Bruijn <willemb@google.com>", "Subject": "[PATCH net-next] selftests: correct define in msg_zerocopy.c", "Date": "Fri, 1 Sep 2017 12:31:51 -0400", "Message-Id": "<20170901163151.106867-1-willemdebruijn.kernel@gmail.com>", "X-Mailer": "git-send-email 2.14.1.581.gf28d330327-goog", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "From: Willem de Bruijn <willemb@google.com>\n\nThe msg_zerocopy test defines SO_ZEROCOPY if necessary, but its value\nis inconsistent with the one in asm-generic.h. Correct that.\n\nAlso convert one error to a warning. When the test is complete, report\nthroughput and close cleanly even if the process did not wait for all\ncompletions.\n\nReported-by: Dan Melnic <dmm@fb.com>\nSigned-off-by: Willem de Bruijn <willemb@google.com>\n---\n tools/testing/selftests/net/msg_zerocopy.c | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)", "diff": "diff --git a/tools/testing/selftests/net/msg_zerocopy.c b/tools/testing/selftests/net/msg_zerocopy.c\nindex 448c69a8af74..40232af5b023 100644\n--- a/tools/testing/selftests/net/msg_zerocopy.c\n+++ b/tools/testing/selftests/net/msg_zerocopy.c\n@@ -59,7 +59,7 @@\n #endif\n \n #ifndef SO_ZEROCOPY\n-#define SO_ZEROCOPY\t59\n+#define SO_ZEROCOPY\t60\n #endif\n \n #ifndef SO_EE_CODE_ZEROCOPY_COPIED\n@@ -382,8 +382,8 @@ static void do_recv_remaining_completions(int fd)\n \t}\n \n \tif (completions < expected_completions)\n-\t\terror(1, 0, \"missing notifications: %lu < %lu\\n\",\n-\t\t completions, expected_completions);\n+\t\tfprintf(stderr, \"missing notifications: %lu < %lu\\n\",\n+\t\t\tcompletions, expected_completions);\n }\n \n static void do_tx(int domain, int type, int protocol)\n", "prefixes": [ "net-next" ] }