Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/616989/?format=api
{ "id": 616989, "url": "http://patchwork.ozlabs.org/api/patches/616989/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20160429224321.12418.72391.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": "<20160429224321.12418.72391.stgit@ahduyck-xeon-server>", "list_archive_url": null, "date": "2016-04-29T22:43:21", "name": "[net-next,v2,3/9] net: Fix netdev_fix_features so that TSO_MANGLEID is only available with TSO", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "16c3bb54385ab7d700243749df05e6dffec49c1d", "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/20160429224321.12418.72391.stgit@ahduyck-xeon-server/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/616989/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/616989/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 3qxTJF2Rv2z9t6f\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 30 Apr 2016 08:43:41 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752481AbcD2Wn3 (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tFri, 29 Apr 2016 18:43:29 -0400", "from mail-pa0-f48.google.com ([209.85.220.48]:32982 \"EHLO\n\tmail-pa0-f48.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1752111AbcD2Wn2 (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Fri, 29 Apr 2016 18:43:28 -0400", "by mail-pa0-f48.google.com with SMTP id zm5so56571610pac.0\n\tfor <netdev@vger.kernel.org>; Fri, 29 Apr 2016 15:43:27 -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\tl81sm26086804pfj.21.2016.04.29.15.43.21\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 29 Apr 2016 15:43:22 -0700 (PDT)" ], "Authentication-Results": "ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=mirantis.com header.i=@mirantis.com\n\theader.b=DhSE9f8m; 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=g5xoF0B5LLjNYVDAZdtvzfsXTtm9LyLMVszsYYmBYqo=;\n\tb=DhSE9f8mZc3QYqrxSLd2PxMajumzXMcG03J6vlw1FUVF4QMkBbyROyReJZLRRhmrgS\n\tD84q1/tmLPdRK3UdKpyLgC22cLnrfQE0K+AresI6E29kDCHVMVVtQxybDV1S7xvICRUe\n\tcmjcVh2cCISibWMaWnAmaDcmK2VVke5NWUqcE=", "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=g5xoF0B5LLjNYVDAZdtvzfsXTtm9LyLMVszsYYmBYqo=;\n\tb=CyPWP613tbqJVAhkg6/3dbfB72eDeQlnqn5oWjhXjUtKKKsC8UxyyYCpwfmANwCsDe\n\tuoY4X+DzsAhKRjHqZOLBD85bGa+3u2VgUg+uqlBU6EJymh+dXGjdJgMWJ9LGmyg1saxV\n\tp+FPZ0g397WeSIgeMOZ4bFwBdnxamOLcoxUkZkTusOtoe771EembFMbqBxrFFDb0TcHN\n\tUqZ6CUgQ2vVk9xkSxy9tN2WQaOxU9LFpxibaVP7kl7sUhtsh8n97icsXcldy0OgB3f/D\n\tACjDVDps3xwQQ+xORw3Q0aymOCnoCW2y3lSI9doiwKBo1jEValPyy2XKLic6OOXrfJGM\n\thpGA==", "X-Gm-Message-State": "AOPr4FVsG8eRsmsUnlZHVXI9GaBg/ff5581kqzKwlgM1aZorlqbsTwDOYNojanjSScy3Uoji", "X-Received": "by 10.66.25.243 with SMTP id f19mr32732601pag.11.1461969802463; \n\tFri, 29 Apr 2016 15:43:22 -0700 (PDT)", "Subject": "[net-next PATCH v2 3/9] net: Fix netdev_fix_features so that\n\tTSO_MANGLEID is only available with TSO", "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:21 -0700", "Message-ID": "<20160429224321.12418.72391.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": "This change makes it so that we will strip the TSO_MANGLEID bit if TSO is\nnot present. This way we will also handle ECN correctly of TSO is not\npresent.\n\nSigned-off-by: Alexander Duyck <aduyck@mirantis.com>\n---\n net/core/dev.c | 4 ++++\n 1 file changed, 4 insertions(+)", "diff": "diff --git a/net/core/dev.c b/net/core/dev.c\nindex 673d1f118bfb..e98ba63fe280 100644\n--- a/net/core/dev.c\n+++ b/net/core/dev.c\n@@ -6721,6 +6721,10 @@ static netdev_features_t netdev_fix_features(struct net_device *dev,\n \t\tfeatures &= ~NETIF_F_TSO6;\n \t}\n \n+\t/* TSO with IPv4 ID mangling requires IPv4 TSO be enabled */\n+\tif ((features & NETIF_F_TSO_MANGLEID) && !(features & NETIF_F_TSO))\n+\t\tfeatures &= ~NETIF_F_TSO_MANGLEID;\n+\n \t/* TSO ECN requires that TSO is present as well. */\n \tif ((features & NETIF_F_ALL_TSO) == NETIF_F_TSO_ECN)\n \t\tfeatures &= ~NETIF_F_TSO_ECN;\n", "prefixes": [ "net-next", "v2", "3/9" ] }