Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/813780/?format=api
{ "id": 813780, "url": "http://patchwork.ozlabs.org/api/patches/813780/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/1505385988-94522-5-git-send-email-ilyal@mellanox.com/", "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": "<1505385988-94522-5-git-send-email-ilyal@mellanox.com>", "list_archive_url": null, "date": "2017-09-14T10:46:27", "name": "[net-next,4/5] net: Add TLS TX offload features", "commit_ref": null, "pull_url": null, "state": "deferred", "archived": true, "hash": "38ffaa82befb9ead2f7347c841def74c453a9143", "submitter": { "id": 67931, "url": "http://patchwork.ozlabs.org/api/people/67931/?format=api", "name": "Ilya Lesokhin", "email": "ilyal@mellanox.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/1505385988-94522-5-git-send-email-ilyal@mellanox.com/mbox/", "series": [ { "id": 3066, "url": "http://patchwork.ozlabs.org/api/series/3066/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=3066", "date": "2017-09-14T10:46:26", "name": "tls: Add generic NIC offload infrastructure", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/3066/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/813780/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/813780/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>)", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xtFfD11Fhz9sP1\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 14 Sep 2017 20:49:40 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751964AbdINKtb (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tThu, 14 Sep 2017 06:49:31 -0400", "from mail-il-dmz.mellanox.com ([193.47.165.129]:37262 \"EHLO\n\tmellanox.co.il\" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org\n\twith ESMTP id S1751841AbdINKqf (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Thu, 14 Sep 2017 06:46:35 -0400", "from Internal Mail-Server by MTLPINE1 (envelope-from\n\tilyal@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 14 Sep 2017 13:46:31 +0300", "from gen-l-vrt-094.mtl.labs.mlnx (gen-l-vrt-094.mtl.labs.mlnx\n\t[10.137.9.1])\n\tby labmailer.mlnx (8.13.8/8.13.8) with ESMTP id v8EAkUp1020670;\n\tThu, 14 Sep 2017 13:46:30 +0300" ], "From": "Ilya Lesokhin <ilyal@mellanox.com>", "To": "netdev@vger.kernel.org, davem@davemloft.net", "Cc": "davejwatson@fb.com, tom@herbertland.com,\n\thannes@stressinduktion.org, borisp@mellanox.com,\n\tilyal@mellanox.com, aviadye@mellanox.com, liranl@mellanox.com", "Subject": "[PATCH net-next 4/5] net: Add TLS TX offload features", "Date": "Thu, 14 Sep 2017 13:46:27 +0300", "Message-Id": "<1505385988-94522-5-git-send-email-ilyal@mellanox.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1505385988-94522-1-git-send-email-ilyal@mellanox.com>", "References": "<1505385988-94522-1-git-send-email-ilyal@mellanox.com>", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "This patch adds a netdev feature to configure TLS TX offloads.\n\nSigned-off-by: Boris Pismenny <borisp@mellanox.com>\nSigned-off-by: Ilya Lesokhin <ilyal@mellanox.com>\nSigned-off-by: Aviad Yehezkel <aviadye@mellanox.com>\n---\n include/linux/netdev_features.h | 2 ++\n net/core/ethtool.c | 1 +\n 2 files changed, 3 insertions(+)", "diff": "diff --git a/include/linux/netdev_features.h b/include/linux/netdev_features.h\nindex dc8b489..ed0648a 100644\n--- a/include/linux/netdev_features.h\n+++ b/include/linux/netdev_features.h\n@@ -76,6 +76,7 @@ enum {\n \tNETIF_F_HW_ESP_BIT,\t\t/* Hardware ESP transformation offload */\n \tNETIF_F_HW_ESP_TX_CSUM_BIT,\t/* ESP with TX checksum offload */\n \tNETIF_F_RX_UDP_TUNNEL_PORT_BIT, /* Offload of RX port for UDP tunnels */\n+\tNETIF_F_HW_TLS_TX_BIT,\t\t/* Hardware TLS TX offload */\n \n \t/*\n \t * Add your fresh new feature above and remember to update\n@@ -140,6 +141,7 @@ enum {\n #define NETIF_F_HW_ESP\t\t__NETIF_F(HW_ESP)\n #define NETIF_F_HW_ESP_TX_CSUM\t__NETIF_F(HW_ESP_TX_CSUM)\n #define\tNETIF_F_RX_UDP_TUNNEL_PORT __NETIF_F(RX_UDP_TUNNEL_PORT)\n+#define NETIF_F_HW_TLS_TX\t__NETIF_F(HW_TLS_TX)\n \n #define for_each_netdev_feature(mask_addr, bit)\t\\\n \tfor_each_set_bit(bit, (unsigned long *)mask_addr, NETDEV_FEATURE_COUNT)\ndiff --git a/net/core/ethtool.c b/net/core/ethtool.c\nindex 6a582ae..2ae1fc4 100644\n--- a/net/core/ethtool.c\n+++ b/net/core/ethtool.c\n@@ -106,6 +106,7 @@ int ethtool_op_get_ts_info(struct net_device *dev, struct ethtool_ts_info *info)\n \t[NETIF_F_HW_ESP_BIT] =\t\t \"esp-hw-offload\",\n \t[NETIF_F_HW_ESP_TX_CSUM_BIT] =\t \"esp-tx-csum-hw-offload\",\n \t[NETIF_F_RX_UDP_TUNNEL_PORT_BIT] =\t \"rx-udp_tunnel-port-offload\",\n+\t[NETIF_F_HW_TLS_TX_BIT] =\t \"tls-hw-tx-offload\",\n };\n \n static const char\n", "prefixes": [ "net-next", "4/5" ] }