Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/886465/?format=api
{ "id": 886465, "url": "http://patchwork.ozlabs.org/api/patches/886465/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1521149003-1433-3-git-send-email-shannon.nelson@oracle.com/", "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": "<1521149003-1433-3-git-send-email-shannon.nelson@oracle.com>", "list_archive_url": null, "date": "2018-03-15T21:23:21", "name": "[next-queue,2/4] ixgbe: remove unneeded ipsec test in TX path", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "9d33cc465afa34c9e1abef8ba2a619ead03fd960", "submitter": { "id": 70766, "url": "http://patchwork.ozlabs.org/api/people/70766/?format=api", "name": "Shannon Nelson", "email": "shannon.nelson@oracle.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/1521149003-1433-3-git-send-email-shannon.nelson@oracle.com/mbox/", "series": [ { "id": 34073, "url": "http://patchwork.ozlabs.org/api/series/34073/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=34073", "date": "2018-03-15T21:23:19", "name": "ixgbe: Enable tso and checksum offload with ipsec", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/34073/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/886465/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/886465/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@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" ], "Authentication-Results": [ "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=oracle.com", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=oracle.com header.i=@oracle.com\n\theader.b=\"ABr/zCTd\"; dkim-atps=neutral" ], "Received": [ "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 402M5r0MTRz9sQx\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 16 Mar 2018 08:23:43 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 86EBA8A2A9;\n\tThu, 15 Mar 2018 21:23:42 +0000 (UTC)", "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id LBycHOkGkd9P; Thu, 15 Mar 2018 21:23:40 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 9FF8B8A258;\n\tThu, 15 Mar 2018 21:23:40 +0000 (UTC)", "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 70F0A1C033D\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 15 Mar 2018 21:23:38 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 6C13E882AB\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 15 Mar 2018 21:23:38 +0000 (UTC)", "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id KckPQJHHESgC for <intel-wired-lan@lists.osuosl.org>;\n\tThu, 15 Mar 2018 21:23:38 +0000 (UTC)", "from aserp2120.oracle.com (aserp2120.oracle.com [141.146.126.78])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id E3CF088259\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 15 Mar 2018 21:23:37 +0000 (UTC)", "from pps.filterd (aserp2120.oracle.com [127.0.0.1])\n\tby aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id\n\tw2FKWUS7086700; Thu, 15 Mar 2018 21:23:37 GMT", "from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233])\n\tby aserp2120.oracle.com with ESMTP id 2gqyxx86jp-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=OK); Thu, 15 Mar 2018 21:23:36 +0000", "from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72])\n\tby aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w2FLNZkm026820\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=OK); Thu, 15 Mar 2018 21:23:36 GMT", "from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18])\n\tby userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id\n\tw2FLNZY7015455; Thu, 15 Mar 2018 21:23:35 GMT", "from slnelson-mint18.us.oracle.com (/10.159.152.19)\n\tby default (Oracle Beehive Gateway v4.0)\n\twith ESMTP ; Thu, 15 Mar 2018 14:23:35 -0700" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;\n\th=from : to : cc :\n\tsubject : date : message-id : in-reply-to : references;\n\ts=corp-2017-10-26; \n\tbh=TJ2ibyuHpu/+F23lvBC61DwKvnHjT/r9DSZFIj2fuCY=;\n\tb=ABr/zCTdTaMb3WJZaVqUjND0BWekIjuY2ca3ra4/3BPpFyVOokA3lyi3w6pmEb0xcZ8T\n\tDN9ebpE3VuWXtYHTmUKfoRraMETOjceOrbj9Xbhk+DWyvSA+3+VCSdKlFCgdelcBFJ+8\n\tV3SmZwco2YTbo7FU6Kj13dM4wSA5jg6qXBdxzVu9TVNldIl+RWsNTfPIuZA58Qe3TO2I\n\tyAPEcWHIHgcB3lSR7lpeOnAjPFgFn0V7uYPx4kKCjv5hPc86VTpi2b+75LHZ71IHTbZB\n\teYnBx/AeyydP12kSnj8aj4J4sGjVEt+XFRo+ABSBd6aSHR6IjcXZ1xON//UwOAknhDzM\n\tIg== ", "From": "Shannon Nelson <shannon.nelson@oracle.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Thu, 15 Mar 2018 14:23:21 -0700", "Message-Id": "<1521149003-1433-3-git-send-email-shannon.nelson@oracle.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1521149003-1433-1-git-send-email-shannon.nelson@oracle.com>", "References": "<1521149003-1433-1-git-send-email-shannon.nelson@oracle.com>", "X-Proofpoint-Virus-Version": "vendor=nai engine=5900 definitions=8832\n\tsignatures=668690", "X-Proofpoint-Spam-Details": "rule=notspam policy=default score=0 suspectscore=1\n\tmalwarescore=0\n\tphishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=763\n\tadultscore=0 classifier=spam adjust=0 reason=mlx scancount=1\n\tengine=8.0.1-1711220000 definitions=main-1803150169", "Subject": "[Intel-wired-lan] [next-queue 2/4] ixgbe: remove unneeded ipsec\n\ttest in TX path", "X-BeenThere": "intel-wired-lan@osuosl.org", "X-Mailman-Version": "2.1.24", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>", "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>", "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>", "Cc": "steffen.klassert@secunet.com, netdev@vger.kernel.org", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>" }, "content": "Since the ipsec data fields will be zero anyway in the non-ipsec\ncase, we can remove the conditional jump.\n\nSuggested-by: Alexander Duyck <alexander.duyck@gmail.com>\nSigned-off-by: Shannon Nelson <shannon.nelson@oracle.com>\n---\n drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 6 ++----\n 1 file changed, 2 insertions(+), 4 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\nindex 153cd9e..a54f3d8 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\n@@ -7864,10 +7864,8 @@ static void ixgbe_tx_csum(struct ixgbe_ring *tx_ring,\n \tvlan_macip_lens |= skb_network_offset(skb) << IXGBE_ADVTXD_MACLEN_SHIFT;\n \tvlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK;\n \n-\tif (first->tx_flags & IXGBE_TX_FLAGS_IPSEC) {\n-\t\tfceof_saidx |= itd->sa_idx;\n-\t\ttype_tucmd |= itd->flags | itd->trailer_len;\n-\t}\n+\tfceof_saidx |= itd->sa_idx;\n+\ttype_tucmd |= itd->flags | itd->trailer_len;\n \n \tixgbe_tx_ctxtdesc(tx_ring, vlan_macip_lens, fceof_saidx, type_tucmd, 0);\n }\n", "prefixes": [ "next-queue", "2/4" ] }