Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/809080/?format=api
{ "id": 809080, "url": "http://patchwork.ozlabs.org/api/patches/809080/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20170902152126.17286-8-jiri@resnulli.us/", "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": "<20170902152126.17286-8-jiri@resnulli.us>", "list_archive_url": null, "date": "2017-09-02T15:21:12", "name": "[net-next,07/21] mlxsw: spectrum_router: Publish mlxsw_sp_l3proto", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "3dae15ee271c69b341ed3139a1ff46d31ced30b5", "submitter": { "id": 15321, "url": "http://patchwork.ozlabs.org/api/people/15321/?format=api", "name": "Jiri Pirko", "email": "jiri@resnulli.us" }, "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/20170902152126.17286-8-jiri@resnulli.us/mbox/", "series": [ { "id": 1159, "url": "http://patchwork.ozlabs.org/api/series/1159/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=1159", "date": "2017-09-02T15:21:05", "name": "mlxsw: Offloading GRE tunnels", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/1159/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/809080/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/809080/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>)", "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=resnulli-us.20150623.gappssmtp.com\n\theader.i=@resnulli-us.20150623.gappssmtp.com\n\theader.b=\"HCnv3kbB\"; dkim-atps=neutral" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xl0Fk5jCJz9sQl\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSun, 3 Sep 2017 01:21:46 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752747AbdIBPVo (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tSat, 2 Sep 2017 11:21:44 -0400", "from mail-wr0-f193.google.com ([209.85.128.193]:36486 \"EHLO\n\tmail-wr0-f193.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1752741AbdIBPVl (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Sat, 2 Sep 2017 11:21:41 -0400", "by mail-wr0-f193.google.com with SMTP id 40so1350099wrv.3\n\tfor <netdev@vger.kernel.org>; Sat, 02 Sep 2017 08:21:40 -0700 (PDT)", "from localhost (jirka.pirko.cz. [84.16.102.26])\n\tby smtp.gmail.com with ESMTPSA id\n\tm27sm2079171wmc.3.2017.09.02.08.21.38\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tSat, 02 Sep 2017 08:21:39 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=resnulli-us.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=ndynICBjd8AVjqmTAvMqiNxKzz9JCDE7DHqvBlHq34E=;\n\tb=HCnv3kbBmHOjYQ5oEDfawHeOBkAAOxlk3L9ljVPmkOOft8q2pdVic1pyTDnWTxdHLc\n\t7dUM61OujNQrn+qa9x9B78gcbnPaotgxC/QIPSUCjVaHlD2Ea6b135Ls+I/imDRepXG/\n\tg2teJQua0LEl8veMFFo99Pp06SyUaoAlczxpuAzMrNU9gYul/4iCgeUuTqfvCc3lwl3w\n\tTfuLt5f49B5jvR/4iaPZ4eQC4bYxl1NsfhDpG9OQYQWqq4nxWyJXjPBzYgY/FeeMlKXM\n\tIm6z6zTdv0wvCnF8sk3xnHICxgh6lCEh/hVQQM5fscI/ClIl6iDldF10yDJsc3N6pKxo\n\tar8w==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=ndynICBjd8AVjqmTAvMqiNxKzz9JCDE7DHqvBlHq34E=;\n\tb=HDDPMH+oxLDYIAUS2jzg9E7GYWOFy9wJg5Mt03LejL3lON4DBfZch2PzoWiZryqUPe\n\tAuFGcSS2S/Y+WF74WTRHYVLyDRSVBSC9qRL4HZhGVDNMVZuk4Bp9XnRMeC47CDSGllRK\n\tt2+OYjGDmhI1/c/1HLioTSOZH3GW22Tb/m0tcaVnsbLWTQ8TwkCzwKrENgYxeK5fisdP\n\tW1QYhzWw0MmJF8rbYSi+/kKQgVonP4XhuVFVplGGdONUHuUApbJ37X1A32l/JvwJgHxk\n\tLWdjML4aguwdxc++bPstOrS6qbHt6As8M+K3s1JJa7aHRsAT/EspSmkuS5zfZ2VtFjjR\n\t8CQg==", "X-Gm-Message-State": "AHPjjUgVA+6hVGmF3pZ8NwbfIwOk6PcuXF26zYVtK12cl4eiQ57YN1tD\n\tYN1jXGVlsU+xK6T+KIs=", "X-Google-Smtp-Source": "ADKCNb6jQisjZZwySEyXDECXcl0V5LVH7YAa3AGa6aqjQ5jO614Lhwsc2vaay4oz/bC+1ZLdI/gQgw==", "X-Received": "by 10.223.158.198 with SMTP id b6mr3151426wrf.123.1504365699726; \n\tSat, 02 Sep 2017 08:21:39 -0700 (PDT)", "From": "Jiri Pirko <jiri@resnulli.us>", "To": "netdev@vger.kernel.org", "Cc": "davem@davemloft.net, petrm@mellanox.com, idosch@mellanox.com,\n\tmlxsw@mellanox.com", "Subject": "[patch net-next 07/21] mlxsw: spectrum_router: Publish\n\tmlxsw_sp_l3proto", "Date": "Sat, 2 Sep 2017 17:21:12 +0200", "Message-Id": "<20170902152126.17286-8-jiri@resnulli.us>", "X-Mailer": "git-send-email 2.9.3", "In-Reply-To": "<20170902152126.17286-1-jiri@resnulli.us>", "References": "<20170902152126.17286-1-jiri@resnulli.us>", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "From: Petr Machata <petrm@mellanox.com>\n\nThe spectrum_ipip module that will be introduced in the follow-up\npatches needs to know the data type.\n\nSigned-off-by: Petr Machata <petrm@mellanox.com>\nReviewed-by: Ido Schimmel <idosch@mellanox.com>\nSigned-off-by: Jiri Pirko <jiri@mellanox.com>\n---\n drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c | 5 -----\n drivers/net/ethernet/mellanox/mlxsw/spectrum_router.h | 5 +++++\n 2 files changed, 5 insertions(+), 5 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c\nindex 4e47d45..f866ac5 100644\n--- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c\n+++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c\n@@ -405,11 +405,6 @@ struct mlxsw_sp_rt6 {\n \tstruct rt6_info *rt;\n };\n \n-enum mlxsw_sp_l3proto {\n-\tMLXSW_SP_L3_PROTO_IPV4,\n-\tMLXSW_SP_L3_PROTO_IPV6,\n-};\n-\n struct mlxsw_sp_lpm_tree {\n \tu8 id; /* tree ID */\n \tunsigned int ref_count;\ndiff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.h b/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.h\nindex 87a04af..67c6c1d 100644\n--- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.h\n+++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.h\n@@ -37,6 +37,11 @@\n \n #include \"spectrum.h\"\n \n+enum mlxsw_sp_l3proto {\n+\tMLXSW_SP_L3_PROTO_IPV4,\n+\tMLXSW_SP_L3_PROTO_IPV6,\n+};\n+\n enum mlxsw_sp_rif_counter_dir {\n \tMLXSW_SP_RIF_COUNTER_INGRESS,\n \tMLXSW_SP_RIF_COUNTER_EGRESS,\n", "prefixes": [ "net-next", "07/21" ] }