Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/817946/?format=api
{ "id": 817946, "url": "http://patchwork.ozlabs.org/api/patches/817946/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20170924172212.10096-10-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": "<20170924172212.10096-10-jiri@resnulli.us>", "list_archive_url": null, "date": "2017-09-24T17:22:09", "name": "[net-next,v2,09/12] mlxsw: spectrum: router: Squash the default route table to main", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "91068bb093d1f630c37561ca50215ec60123cf05", "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/20170924172212.10096-10-jiri@resnulli.us/mbox/", "series": [ { "id": 4828, "url": "http://patchwork.ozlabs.org/api/series/4828/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=4828", "date": "2017-09-24T17:22:00", "name": "mlxsw: Add support for offloading IPv4 multicast routes", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/4828/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/817946/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/817946/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=\"Ka58TgXI\"; dkim-atps=neutral" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3y0YvM1bTLz9sRm\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 25 Sep 2017 03:22:55 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752770AbdIXRW3 (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tSun, 24 Sep 2017 13:22:29 -0400", "from mail-wm0-f67.google.com ([74.125.82.67]:37266 \"EHLO\n\tmail-wm0-f67.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1752762AbdIXRWY (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Sun, 24 Sep 2017 13:22:24 -0400", "by mail-wm0-f67.google.com with SMTP id f4so5304368wmh.4\n\tfor <netdev@vger.kernel.org>; Sun, 24 Sep 2017 10:22:23 -0700 (PDT)", "from localhost (ip-89-177-136-69.net.upcbroadband.cz.\n\t[89.177.136.69]) by smtp.gmail.com with ESMTPSA id\n\tg13sm5987870wrg.63.2017.09.24.10.22.22\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tSun, 24 Sep 2017 10:22:22 -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=fO9qjvEbL445+ej6/rue2m9vh+vii98fPJq3gHrccPc=;\n\tb=Ka58TgXIvRvgqZf0AaRQ7mxv0KllCVWTtD7cLqg1REaajcE79UrvfEVQjC1kcuDnjD\n\tP6dnycJj4yOQuquJlibymHIMPArpkqVk0Xg7UcPnpHwPKkj3R3wg45pShxr5qebI9oDT\n\tEPPFhVVZlhcUCFQHUGAPz1wU/5LbbHlzMOI4/t2eYbe+OOdNfYOVgu5gnIcg80v2d6uL\n\tAr8Krrk59NjL2i8qxFUyR4ZOX7aC6QO/bJM2fF9CpIb0ItFSIgCN2MJSh/TLm2ckoR04\n\tsmWH5QcIYqfXlacJeawbb4IyeMUGCY51wNNytBgK4af5rY3rqws5+kFhrMFatEsnGTi9\n\tMZFQ==", "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=fO9qjvEbL445+ej6/rue2m9vh+vii98fPJq3gHrccPc=;\n\tb=R9LWxVglPKpnllokFRlcRbrf7UaxHo+kz2QUepVWxYAqfD/CGw2zivJfltdOVNK6J8\n\t8ybdfN1Bh7k8RVFTgotQRwK3zP67Uc4KudYej/aZ2OUPQNLzk7Bj5JM7ofTbt9LGiwVA\n\tfqwr9W0zXq0B06AFITlXnS9ckeKLHtdc7hbf1lYkds2Xk/wpeCJ6ujAxDriVROjGJ3zy\n\tmMPWp4Rg677lPST3EbEpC4JyhdvT9xxuNICXxUuHHkW6uY8cFlFbhY1GwvcUfNq5q0Wb\n\tZooHhTlDh2EKT1LRxZ/DoAZZhcSJICsh7bpipLIUw5j0dO4DM8mJaoPnBbl1VzJEqKDD\n\tLJiw==", "X-Gm-Message-State": "AHPjjUiATOQ2MK5rLYdFKSOelezgTa8kvfI8ilZeSH8bFTut1csXg7o3\n\tUlPqG4c4tCJMZE3tGn2FvN1U7byU", "X-Google-Smtp-Source": "AOwi7QBgVzTn7xChAIveq1u/ZhGR4pYQy3TkBKLLiw30bqffzp0O0AUwvu+oPbEeRV4pjPnC93/G1w==", "X-Received": "by 10.28.95.9 with SMTP id t9mr3605836wmb.109.1506273742897;\n\tSun, 24 Sep 2017 10:22:22 -0700 (PDT)", "From": "Jiri Pirko <jiri@resnulli.us>", "To": "netdev@vger.kernel.org", "Cc": "davem@davemloft.net, yotamg@mellanox.com, idosch@mellanox.com,\n\tmlxsw@mellanox.com, nikolay@cumulusnetworks.com, andrew@lunn.ch", "Subject": "[patch net-next v2 09/12] mlxsw: spectrum: router: Squash the\n\tdefault route table to main", "Date": "Sun, 24 Sep 2017 19:22:09 +0200", "Message-Id": "<20170924172212.10096-10-jiri@resnulli.us>", "X-Mailer": "git-send-email 2.9.5", "In-Reply-To": "<20170924172212.10096-1-jiri@resnulli.us>", "References": "<20170924172212.10096-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: Yotam Gigi <yotamg@mellanox.com>\n\nCurrently, the mlxsw Spectrum driver offloads only either the RT_TABLE_MAIN\nFIB table or the VRF tables, so the RT_TABLE_LOCAL table is squashed to the\nRT_TABLE_MAIN table to allow local routes to be offloaded too.\n\nBy default, multicast MFC routes which are not assigned to any user\nrequested table are put in the RT_TABLE_DEFAULT table.\n\nDue to the fact that offloading multicast MFC routes support in Spectrum\nrouter logic is going to be introduced soon, squash the default table to\nMAIN too.\n\nSigned-off-by: Yotam Gigi <yotamg@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 | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c\nindex 0bd93dc..1e6122f 100644\n--- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c\n+++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c\n@@ -692,8 +692,8 @@ static int mlxsw_sp_vr_lpm_tree_unbind(struct mlxsw_sp *mlxsw_sp,\n \n static u32 mlxsw_sp_fix_tb_id(u32 tb_id)\n {\n-\t/* For our purpose, squash main and local table into one */\n-\tif (tb_id == RT_TABLE_LOCAL)\n+\t/* For our purpose, squash main, default and local tables into one */\n+\tif (tb_id == RT_TABLE_LOCAL || tb_id == RT_TABLE_DEFAULT)\n \t\ttb_id = RT_TABLE_MAIN;\n \treturn tb_id;\n }\n", "prefixes": [ "net-next", "v2", "09/12" ] }