Cover Letter Detail
Show a cover letter.
GET /api/covers/816692/?format=api
{ "id": 816692, "url": "http://patchwork.ozlabs.org/api/covers/816692/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/cover/20170921064338.1282-1-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": "<20170921064338.1282-1-jiri@resnulli.us>", "list_archive_url": null, "date": "2017-09-21T06:43:26", "name": "[net-next,00/12] mlxsw: Add support for offloading IPv4 multicast routes", "submitter": { "id": 15321, "url": "http://patchwork.ozlabs.org/api/people/15321/?format=api", "name": "Jiri Pirko", "email": "jiri@resnulli.us" }, "mbox": "http://patchwork.ozlabs.org/project/netdev/cover/20170921064338.1282-1-jiri@resnulli.us/mbox/", "series": [ { "id": 4309, "url": "http://patchwork.ozlabs.org/api/series/4309/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=4309", "date": "2017-09-21T06:43:26", "name": "mlxsw: Add support for offloading IPv4 multicast routes", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/4309/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/816692/comments/", "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=\"KLnCLeb9\"; dkim-atps=neutral" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xyRsG3ZWLz9s7g\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 21 Sep 2017 16:43:46 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751913AbdIUGno (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tThu, 21 Sep 2017 02:43:44 -0400", "from mail-wm0-f46.google.com ([74.125.82.46]:48517 \"EHLO\n\tmail-wm0-f46.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751732AbdIUGnk (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Thu, 21 Sep 2017 02:43:40 -0400", "by mail-wm0-f46.google.com with SMTP id r68so12570810wmg.3\n\tfor <netdev@vger.kernel.org>; Wed, 20 Sep 2017 23:43:39 -0700 (PDT)", "from localhost (ip-89-177-125-82.net.upcbroadband.cz.\n\t[89.177.125.82]) by smtp.gmail.com with ESMTPSA id\n\tj2sm681500wrj.82.2017.09.20.23.43.38\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tWed, 20 Sep 2017 23:43:38 -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;\n\tbh=O5/zAfEhouwgOArCBQHqvA0ddQYZICKPRnOeJMgnkCA=;\n\tb=KLnCLeb9zlOsEPof46ElgRGk6vJ+QhKWvVioujZ0Zd89hNPy+bhEKgNYTisbmkejYF\n\t84Wq2BuQkx6MwrfIEX24oMEPjq7nMgijihvgjsuHGL+irk5cqSRRcSvdrcLYCWaUOv4/\n\tAu7yO60vjr3OnzOpsv1zjk6/3ILVtRWfG/58D0vUVHWQfHxIWiBrIM29nF0QCQq+lsiw\n\tgMAkRv3Lhmjw1lZ5WC/LzTcgVss+cUKjXF/k7nV7TK8N40hG9tzNHG4KyjKViAnajVWQ\n\t4TKy8WZ/IcHgFdH5M47fm+dEFCdf/N8CfXJ4vDTtY9Nd0Cc+e5DNa5yP0pL6QUiYG4oW\n\tvANg==", "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;\n\tbh=O5/zAfEhouwgOArCBQHqvA0ddQYZICKPRnOeJMgnkCA=;\n\tb=m8yUaoHj0aQjRSzIOkwpAzcJaqcZW9sJVhchvAqbF3udxOU5w8jj29BphbtVpJ4cVY\n\ts9yBnJu/EUyvikNNPTbUPcb4R1tZmSkErAtKpKtvwR4+ruPDbbW9NlfSKsr4M+8AoYHc\n\tUsVCzsqfowx3n8rZLYenSmzsN+LKAnY0YN4p/wyIh1CAUMNzMCjNyoxkhO7DJlvlbbsD\n\tskBz7EU4UskeP2U8/+OoRG2XWpy36xPR+fbY6TU0/yA7DoI0KdMm0qxFC51DkCzXNI1G\n\thLIgnaycfx/aP0Ppybhf8FT8ufmKEb5nMwZq5voCtqyE2hOw7b7BRnuZkRTNIQ4lzctU\n\tR0DQ==", "X-Gm-Message-State": "AHPjjUgdxTrxAOtVxSQHE03ukTq+1whTCTAd4AfQkvKKGdY4ObyIYtgQ\n\t0EDm9ti5NnDfiDRyZhKz/9ejev0D", "X-Google-Smtp-Source": "AOwi7QAY61jytmLxbV0ZTCwCtY0VRxAa6L7k0Tu/VtUYpjrs9pFoIn0R4+NUTnnSS867phY2KnedqQ==", "X-Received": "by 10.28.36.212 with SMTP id k203mr5255803wmk.127.1505976219046; \n\tWed, 20 Sep 2017 23:43:39 -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", "Subject": "[patch net-next 00/12] mlxsw: Add support for offloading IPv4\n\tmulticast routes", "Date": "Thu, 21 Sep 2017 08:43:26 +0200", "Message-Id": "<20170921064338.1282-1-jiri@resnulli.us>", "X-Mailer": "git-send-email 2.9.5", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "From: Jiri Pirko <jiri@mellanox.com>\n\nYotam says:\n\nThis patchset introduces offloading of the kernel IPv4 multicast router\nlogic in the Spectrum driver.\n\nPatches 1-4 update ipmr to use the FIB notification chain for both MFC and\nVIF notifications, and patches 7-11 update the Spectrum driver to register\nto these notifications and offload the routes.\n\nSimilarly to IPv4 and IPv6, any failure will trigger the abort mechanism\nwhich is updated in this patch-set to eject multicast route tables too.\n\nAt this stage, the following limitations apply:\n - A multicast MFC route will be offloaded by the driver if all the output\n interfaces are Spectrum router interfaces (RIFs). In any other case\n (which includes pimreg device, tunnel devices and management ports) the\n route will be trapped to the CPU and the packets will be forwarded by\n software.\n - ipmr proxy routes are not supported and will trigger the abort\n mechanism.\n - The MFC TTL values are currently treated as boolean: if the value is\n different than 255, the traffic is forwarded to the interface and if the\n value is 255 it is not forwarded. Dropping packets based on their TTL isn't\n currently supported.\n\nTo allow users to have visibility on which of the routes are offloaded and\nwhich are not, patch 5 introduces a per-route offload indication similar to\nIPv4 and IPv6 routes which is sent to the user via the RTNetlink interface.\n\nThe Spectrum driver multicast router offloading support, which is\nintroduced in patches 7 and 8, is divided into two parts:\n - The hardware logic which abstracts the Spectrum hardware and provides a\n simple API for the upper levels.\n - The offloading logic which gets the MFC and VIF notifications from the\n kernel and updates the hardware using the hardware logic part.\n\nFinally, the last patch makes the Spectrum router logic not ignore the\nmulticast FIB notifications and call the corresponding functions in the\nmulticast router offloading logic.\n\nYotam Gigi (12):\n fib: notifier: Add VIF add and delete event types\n ipmr: Add reference count to MFC entries\n ipmr: Add FIB notification access functions\n ipmr: Send FIB notifications on MFC and VIF entries\n net: ipmr: Add MFC offload indication\n net: mroute: Check if rule is a default rule\n mlxsw: spectrum: Add the multicast routing offloading logic\n mlxsw: spectrum: Add the multicast routing hardware logic\n mlxsw: spectrum: router: Squash the default route table to main\n mlxsw: spectrum_router: Add multicast routes notification handling\n functionality\n mlxsw: spectrum: Notify multicast router on RIF MTU changes\n mlxsw: spectrum: router: Don't ignore IPMR notifications\n\n drivers/net/ethernet/mellanox/mlxsw/Makefile | 3 +-\n drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 2 +\n drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c | 1012 ++++++++++++++++++++\n drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.h | 133 +++\n .../net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c | 828 ++++++++++++++++\n .../net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.h | 43 +\n .../net/ethernet/mellanox/mlxsw/spectrum_router.c | 205 +++-\n include/linux/mroute.h | 43 +\n include/net/fib_notifier.h | 2 +\n include/net/netns/ipv4.h | 3 +\n net/ipv4/ipmr.c | 209 +++-\n 11 files changed, 2472 insertions(+), 11 deletions(-)\n create mode 100644 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c\n create mode 100644 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.h\n create mode 100644 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c\n create mode 100644 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.h" }