Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/614592/?format=api
{ "id": 614592, "url": "http://patchwork.ozlabs.org/api/patches/614592/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20160425183139.11331.75627.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": "<20160425183139.11331.75627.stgit@ahduyck-xeon-server>", "list_archive_url": null, "date": "2016-04-25T18:31:39", "name": "[net-next,7/8] mlx5e: Add support for UDP tunnel segmentation with outer checksum offload", "commit_ref": null, "pull_url": null, "state": "deferred", "archived": true, "hash": "1ee5e6b8eed2a5d1ef3e0610d37247213414e180", "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/20160425183139.11331.75627.stgit@ahduyck-xeon-server/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/614592/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/614592/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 3qtvvZ5VFdz9t3n\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 26 Apr 2016 04:31:54 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S933394AbcDYSbr (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tMon, 25 Apr 2016 14:31:47 -0400", "from mail-pa0-f51.google.com ([209.85.220.51]:36506 \"EHLO\n\tmail-pa0-f51.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S933271AbcDYSbq (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Mon, 25 Apr 2016 14:31:46 -0400", "by mail-pa0-f51.google.com with SMTP id bt5so14110193pac.3\n\tfor <netdev@vger.kernel.org>; Mon, 25 Apr 2016 11:31:40 -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\tu63sm6689371pfu.18.2016.04.25.11.31.39\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 25 Apr 2016 11:31:39 -0700 (PDT)" ], "Authentication-Results": "ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=mirantis.com header.i=@mirantis.com\n\theader.b=QUQVRgbS; 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=HpY5LNSKuQnAo3NOiC5yc9MeolnaKjCZnyddxQtimXw=;\n\tb=QUQVRgbSlYKxDdxCyfCQg9pehkpdNQsRgsISvG7bobjvEw+2LCM6o5zoNajB36urAC\n\tOWk8jcecWk9TBt1hlAcXXaw7xWiUlPzRfmvhHoIArp5N/7zDmtkWuDt0mDD6BJjimPe8\n\tDUbIPfiVgwDtnWVSZCPXFjvatejDEc1IVo+BQ=", "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=HpY5LNSKuQnAo3NOiC5yc9MeolnaKjCZnyddxQtimXw=;\n\tb=mYveLfNWJVCpOYXHkglS1TG7AQho5auvtD8pIYPb/2YOE1XMqGhrIXQWRSdsuoDYkr\n\tnktxNVzxqz9xWEyl4aYkV2RfvM0Y8o9JZ6d5z1QWMGTuHL3RLloGb6ewCfWdU/UmSF33\n\tIuwka70w1mPlmLhTyBdwsqCDGZViNLixPD8HA8r7NBVs0HxwJa+hEqa0XcQFM4x3TMxt\n\tnRwYQtQbDejgqpq4oG29eW1UohM5Kz61cFfxhy+DPutW5nG+X8pnr72Fq1VTS6V/k/je\n\twTOU3y/ZuJEYMnrWaf00TkiyrGDqPKwCzjEvX3DiZua2+0fuM6R3jlAzf/IHd5Tcx1x0\n\t+Ctg==", "X-Gm-Message-State": "AOPr4FWwn7htX0oXYIgANAyNFrqA62HA4hz/B8n3KWVHYNqEBgnumUehN1oNdUOBgMoEpANP", "X-Received": "by 10.66.248.163 with SMTP id yn3mr50500141pac.86.1461609100307; \n\tMon, 25 Apr 2016 11:31:40 -0700 (PDT)", "Subject": "[net-next PATCH 7/8] mlx5e: Add support for UDP tunnel segmentation\n\twith outer checksum offload", "From": "Alexander Duyck <aduyck@mirantis.com>", "To": "talal@mellanox.com, netdev@vger.kernel.org, davem@davemloft.net,\n\tgalp@mellanox.com, ogerlitz@mellanox.com, eranbe@mellanox.com", "Date": "Mon, 25 Apr 2016 11:31:39 -0700", "Message-ID": "<20160425183139.11331.75627.stgit@ahduyck-xeon-server>", "In-Reply-To": "<20160425182442.11331.88349.stgit@ahduyck-xeon-server>", "References": "<20160425182442.11331.88349.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 patch assumes that the mlx5 hardware will ignore existing IPv4/v6\nheader fields for length and checksum as well as the length and checksum\nfields for outer UDP headers.\n\nSigned-off-by: Alexander Duyck <aduyck@mirantis.com>\n---\n drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 7 ++++++-\n 1 file changed, 6 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c\nindex d485d1e4e100..a687d6624c8e 100644\n--- a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c\n+++ b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c\n@@ -2580,13 +2580,18 @@ static void mlx5e_build_netdev(struct net_device *netdev)\n \tnetdev->hw_features |= NETIF_F_HW_VLAN_CTAG_FILTER;\n \n \tif (mlx5e_vxlan_allowed(mdev)) {\n-\t\tnetdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL;\n+\t\tnetdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL |\n+\t\t\t\t\t NETIF_F_GSO_UDP_TUNNEL_CSUM |\n+\t\t\t\t\t NETIF_F_GSO_PARTIAL;\n \t\tnetdev->hw_enc_features |= NETIF_F_IP_CSUM;\n \t\tnetdev->hw_enc_features |= NETIF_F_RXCSUM;\n \t\tnetdev->hw_enc_features |= NETIF_F_TSO;\n \t\tnetdev->hw_enc_features |= NETIF_F_TSO6;\n \t\tnetdev->hw_enc_features |= NETIF_F_RXHASH;\n \t\tnetdev->hw_enc_features |= NETIF_F_GSO_UDP_TUNNEL;\n+\t\tnetdev->hw_enc_features |= NETIF_F_GSO_UDP_TUNNEL_CSUM |\n+\t\t\t\t\t NETIF_F_GSO_PARTIAL;\n+\t\tnetdev->gso_partial_features = NETIF_F_GSO_UDP_TUNNEL_CSUM;\n \t}\n \n \tnetdev->features = netdev->hw_features;\n", "prefixes": [ "net-next", "7/8" ] }