Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/616987/?format=api
{ "id": 616987, "url": "http://patchwork.ozlabs.org/api/patches/616987/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20160429224308.12418.51424.stgit@ahduyck-xeon-server/", "project": { "id": 7, "url": "http://patchwork.ozlabs.org/api/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": "<20160429224308.12418.51424.stgit@ahduyck-xeon-server>", "list_archive_url": null, "date": "2016-04-29T22:43:08", "name": "[net-next,v2,1/9] net: Disable segmentation if checksumming is not supported", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "6f24ca83a73bdf2aa0b8e3a0a4bbf569ea1e9ebc", "submitter": { "id": 67293, "url": "http://patchwork.ozlabs.org/api/people/67293/?format=api", "name": "Alexander Duyck", "email": "aduyck@mirantis.com" }, "delegate": { "id": 34, "url": "http://patchwork.ozlabs.org/api/users/34/?format=api", "username": "davem", "first_name": "David", "last_name": "Miller", "email": "davem@davemloft.net" }, "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20160429224308.12418.51424.stgit@ahduyck-xeon-server/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/616987/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/616987/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<netdev-owner@vger.kernel.org>", "X-Original-To": "patchwork-incoming@ozlabs.org", "Delivered-To": "patchwork-incoming@ozlabs.org", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3qxTHl4hgMz9t6f\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 30 Apr 2016 08:43:15 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752827AbcD2WnM (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tFri, 29 Apr 2016 18:43:12 -0400", "from mail-pa0-f49.google.com ([209.85.220.49]:35253 \"EHLO\n\tmail-pa0-f49.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1752760AbcD2WnL (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Fri, 29 Apr 2016 18:43:11 -0400", "by mail-pa0-f49.google.com with SMTP id iv1so50858225pac.2\n\tfor <netdev@vger.kernel.org>; Fri, 29 Apr 2016 15:43:10 -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\tto9sm26335007pab.27.2016.04.29.15.43.09\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 29 Apr 2016 15:43:09 -0700 (PDT)" ], "Authentication-Results": "ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=mirantis.com header.i=@mirantis.com\n\theader.b=B9v1Aewp; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=mirantis.com; s=google;\n\th=subject:from:to:date:message-id:in-reply-to:references:user-agent\n\t:mime-version:content-transfer-encoding;\n\tbh=xwcgTJ2r8tXQ6IwvWyy94a2GjYIZyPuKrqJI6QMb77E=;\n\tb=B9v1AewpFHNuHlMurv8vNZI7WyfBUF5OcWL58A8ZQCE5yqB0U2aSKm4XsU+xlv79Ig\n\tPq7Pia5nDvkzk0mJ2RdXS62+qF2kJyum9+yiiKJRq2VsSJ8h6ipkYeh1T5ruveFaIJyB\n\tgE0yc5ilaCspyZuChg7d3e6l8/XO20IwjqCyk=", "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:in-reply-to\n\t:references:user-agent:mime-version:content-transfer-encoding;\n\tbh=xwcgTJ2r8tXQ6IwvWyy94a2GjYIZyPuKrqJI6QMb77E=;\n\tb=P6Ad3uOYSgEVQ/RjOzkqHnB3vF/D8LgRQEnEaqVDMEHdljYgh53GbOv1fdrt5lLJGS\n\tyMYzhnqlTUiIC0zueKWV3NoIw7CesjAZqsyWKNKy1e+k0ZXI0vSjyzEEspXSM6+WwPT0\n\tETuVtuSB7Q2ovj1oCjqIpp8sGoPgaWKSsQ6XH+GZTH7+uiefOtyCb3NhUD6nm+3+Y50e\n\tOB/wgUrSqSesq4f3g629QiMDN1zLooutkeYwgptpciBDmWPKdDCKq0k3FUNIrBXy37O7\n\tLuBpms8eGfljakt1LG8kdi+f8qRwp+Soc/ksvrwsOrOI30dufqIWk9J2s9XLt/cjhg6e\n\tFE/A==", "X-Gm-Message-State": "AOPr4FVju66wA6KmjsMreDzqkNnQxrcmSQs/PIs5SPga5F0jECS4/8Z2ci5W6OE9rTtt3m4p", "X-Received": "by 10.66.41.107 with SMTP id e11mr32931963pal.15.1461969790151; \n\tFri, 29 Apr 2016 15:43:10 -0700 (PDT)", "Subject": "[net-next PATCH v2 1/9] net: Disable segmentation if checksumming\n\tis not supported", "From": "Alexander Duyck <aduyck@mirantis.com>", "To": "talal@mellanox.com, netdev@vger.kernel.org,\n\tmichael.chan@broadcom.com, davem@davemloft.net, galp@mellanox.com,\n\togerlitz@mellanox.com, eranbe@mellanox.com", "Date": "Fri, 29 Apr 2016 15:43:08 -0700", "Message-ID": "<20160429224308.12418.51424.stgit@ahduyck-xeon-server>", "In-Reply-To": "<20160429222735.12418.61229.stgit@ahduyck-xeon-server>", "References": "<20160429222735.12418.61229.stgit@ahduyck-xeon-server>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "In the case of the mlx4 and mlx5 driver they do not support IPv6 checksum\noffload for tunnels. With this being the case we should disable GSO in\naddition to the checksum offload features when we find that a device cannot\nperform a checksum on a given packet type.\n\nSigned-off-by: Alexander Duyck <aduyck@mirantis.com>\n---\n net/core/dev.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/net/core/dev.c b/net/core/dev.c\nindex d91dfbec0fc6..673d1f118bfb 100644\n--- a/net/core/dev.c\n+++ b/net/core/dev.c\n@@ -2815,7 +2815,7 @@ static netdev_features_t harmonize_features(struct sk_buff *skb,\n \n \tif (skb->ip_summed != CHECKSUM_NONE &&\n \t !can_checksum_protocol(features, type)) {\n-\t\tfeatures &= ~NETIF_F_CSUM_MASK;\n+\t\tfeatures &= ~(NETIF_F_CSUM_MASK | NETIF_F_GSO_MASK);\n \t} else if (illegal_highdma(skb->dev, skb)) {\n \t\tfeatures &= ~NETIF_F_SG;\n \t}\n", "prefixes": [ "net-next", "v2", "1/9" ] }