Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/572597/?format=api
{ "id": 572597, "url": "http://patchwork.ozlabs.org/api/patches/572597/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20160125051750.12004.24225.stgit@localhost.localdomain/", "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": "<20160125051750.12004.24225.stgit@localhost.localdomain>", "list_archive_url": null, "date": "2016-01-25T05:17:50", "name": "[next,v3,14/15] i40e: Update feature flags to reflect newly enabled features", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "4b001e75bff483eb0b23d04bc743aa609597c765", "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/20160125051750.12004.24225.stgit@localhost.localdomain/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/572597/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/572597/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 whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ozlabs.org (Postfix) with ESMTP id D087C1402BF\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 25 Jan 2016 16:17:54 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 9BE4C8C472;\n\tMon, 25 Jan 2016 05:17:52 +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 dCdci72bq+VF; Mon, 25 Jan 2016 05:17:51 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id D469F8C430;\n\tMon, 25 Jan 2016 05:17:51 +0000 (UTC)", "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id F1C3C1C107C\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 25 Jan 2016 05:17:52 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id EA49431E9D\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 25 Jan 2016 05:17:52 +0000 (UTC)", "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id HdHfWvAimy57 for <intel-wired-lan@lists.osuosl.org>;\n\tMon, 25 Jan 2016 05:17:52 +0000 (UTC)", "from mail-pf0-f173.google.com (mail-pf0-f173.google.com\n\t[209.85.192.173])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 31077321DB\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 25 Jan 2016 05:17:52 +0000 (UTC)", "by mail-pf0-f173.google.com with SMTP id n128so75867094pfn.3\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSun, 24 Jan 2016 21:17:52 -0800 (PST)", "from localhost.localdomain\n\t(static-50-53-29-36.bvtn.or.frontiernet.net. [50.53.29.36])\n\tby smtp.gmail.com with ESMTPSA id\n\to81sm24933257pfi.92.2016.01.24.21.17.50\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 24 Jan 2016 21:17:51 -0800 (PST)" ], "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=WjLp/a2T; 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:cc:date:message-id:in-reply-to:references\n\t:user-agent:mime-version:content-type:content-transfer-encoding;\n\tbh=J9sDu48qX277cB5P65hHPrzhIP9/kCG6cdZPKKcLZgo=;\n\tb=WjLp/a2Th+5RGnEInyTucTaMQ1Vnnlu0/JiP5gUsh+hrqQFNFMBrK7qtHuAaeBHnyg\n\tW8Eivc5OMjKbwV5hN1fCYpLWGm0HDL0UxKwlkCFD2gMC9KBvn29zVz2HPNFgTXxcxBPH\n\t0fd+Hi+R2V5coLqz/FsqXUH9q3OcrLBEkV3MA=", "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:cc:date:message-id:in-reply-to\n\t:references:user-agent:mime-version:content-type\n\t:content-transfer-encoding;\n\tbh=J9sDu48qX277cB5P65hHPrzhIP9/kCG6cdZPKKcLZgo=;\n\tb=DweEzpK34lFlpWRCJ6YL5BmYRQFUBVNiS1vxvytO48katJgIUgBsslMTO9DG4QmKZI\n\tPKFOD39oKorGx3XkmwCgr9Jn0YScZTNNbEaCPsesQbrbpK3vftwVAeOXY1EUw3/vlYCf\n\tUxWY2RJsFtst0GT/0Z+a5ZawJ+BnZS8j1w3frjowh+B89Z2OVafz4d3MA4rd19DZq6TI\n\tLCtTwQNHAkQTEL3ufq5Tq0/zECC3UxWbrd/5eO/ve1a4gCEQV0LJ1BU8sUhr2XjigDWN\n\tvKHo2fQUVAsSWtzUxYjLgpn3IoJFANPv/mmiqNNtvHHr84tGmKKlbCxgjXCQ6L4Ksw/V\n\tgFSg==", "X-Gm-Message-State": "AG10YORmdsOg2brBXoFejpudRAbVsqIyxH0Woa3oF4EPe939pbSxVfTj1iNhr3HZnFK2TU1e", "X-Received": "by 10.98.70.208 with SMTP id o77mr23399194pfi.123.1453699071898; \n\tSun, 24 Jan 2016 21:17:51 -0800 (PST)", "From": "Alexander Duyck <aduyck@mirantis.com>", "To": "intel-wired-lan@lists.osuosl.org, jeffrey.t.kirsher@intel.com", "Date": "Sun, 24 Jan 2016 21:17:50 -0800", "Message-ID": "<20160125051750.12004.24225.stgit@localhost.localdomain>", "In-Reply-To": "<20160125050602.12004.38884.stgit@localhost.localdomain>", "References": "<20160125050602.12004.38884.stgit@localhost.localdomain>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [next PATCH v3 14/15] i40e: Update feature flags\n\tto reflect newly enabled features", "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": "Recent changes should have enabled support for IPv6 based tunnels and\nsupport for TSO with outer UDP checksums. As such we can update the\nfeature flags to reflect that.\n\nIn addition we can clean-up the flags that aren't needed such as SCTP and\nRXCSUM since having the bits there doesn't add any value.\n\nSigned-off-by: Alexander Duyck <aduyck@mirantis.com>\n---\n drivers/net/ethernet/intel/i40e/i40e_main.c | 16 ++++++++++------\n 1 file changed, 10 insertions(+), 6 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c\nindex e3a903f01d73..1d969acf9517 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_main.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c\n@@ -9023,12 +9023,14 @@ static int i40e_config_netdev(struct i40e_vsi *vsi)\n \tnp = netdev_priv(netdev);\n \tnp->vsi = vsi;\n \n-\tnetdev->hw_enc_features |= NETIF_F_IP_CSUM\t |\n-\t\t\t\t NETIF_F_RXCSUM\t |\n-\t\t\t\t NETIF_F_SCTP_CRC\t |\n-\t\t\t\t NETIF_F_GSO_UDP_TUNNEL |\n-\t\t\t\t NETIF_F_GSO_GRE\t |\n-\t\t\t\t NETIF_F_TSO\t\t |\n+\tnetdev->hw_enc_features |= NETIF_F_IP_CSUM\t |\n+\t\t\t\t NETIF_F_IPV6_CSUM\t |\n+\t\t\t\t NETIF_F_TSO\t\t |\n+\t\t\t\t NETIF_F_TSO6\t\t |\n+\t\t\t\t NETIF_F_TSO_ECN\t |\n+\t\t\t\t NETIF_F_GSO_GRE\t |\n+\t\t\t\t NETIF_F_GSO_UDP_TUNNEL |\n+\t\t\t\t NETIF_F_GSO_UDP_TUNNEL_CSUM |\n \t\t\t\t 0;\n \n \tnetdev->features = NETIF_F_SG\t\t |\n@@ -9050,6 +9052,8 @@ static int i40e_config_netdev(struct i40e_vsi *vsi)\n \n \tif (!(pf->flags & I40E_FLAG_MFP_ENABLED))\n \t\tnetdev->features |= NETIF_F_NTUPLE;\n+\tif (pf->flags & I40E_FLAG_OUTER_UDP_CSUM_CAPABLE)\n+\t\tnetdev->features |= NETIF_F_GSO_UDP_TUNNEL_CSUM;\n \n \t/* copy netdev features into list of user selectable features */\n \tnetdev->hw_features |= netdev->features;\n", "prefixes": [ "next", "v3", "14/15" ] }