Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/818955/?format=api
{ "id": 818955, "url": "http://patchwork.ozlabs.org/api/patches/818955/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20170927062322.5476-2-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": "<20170927062322.5476-2-jiri@resnulli.us>", "list_archive_url": null, "date": "2017-09-27T06:23:11", "name": "[net-next,v3,01/12] fib: notifier: Add VIF add and delete event types", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "2d94c57c6f0cac30e2e1650930d91b42ec7991d0", "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/20170927062322.5476-2-jiri@resnulli.us/mbox/", "series": [ { "id": 5290, "url": "http://patchwork.ozlabs.org/api/series/5290/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=5290", "date": "2017-09-27T06:23:12", "name": "mlxsw: Add support for offloading IPv4 multicast routes", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/5290/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/818955/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/818955/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=\"ez3WFSWb\"; dkim-atps=neutral" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3y278Y6Hxpz9t3F\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 27 Sep 2017 16:24:45 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751936AbdI0GYf (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tWed, 27 Sep 2017 02:24:35 -0400", "from mail-wr0-f196.google.com ([209.85.128.196]:33570 \"EHLO\n\tmail-wr0-f196.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1750846AbdI0GXZ (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Wed, 27 Sep 2017 02:23:25 -0400", "by mail-wr0-f196.google.com with SMTP id b9so3594100wra.0\n\tfor <netdev@vger.kernel.org>; Tue, 26 Sep 2017 23:23:25 -0700 (PDT)", "from localhost (jirka.pirko.cz. [84.16.102.26])\n\tby smtp.gmail.com with ESMTPSA id\n\td9sm18882615wrd.37.2017.09.26.23.23.24\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tTue, 26 Sep 2017 23:23:24 -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=nmUxE1f3fbrX244+5cOfEY17YDCf+6KXPJXoXbOLcWQ=;\n\tb=ez3WFSWbnnIm+RpfS2mBUm9Pn1j9LJQpxn9lYxJ2Min8EVVD6Aimhc7cyG3/2mCjAE\n\tvQDyNSEbt3rFK9DfELM20e+mez2ZXRd2XUgOCQz+soIfDRVf4HG1o0nAS//oIIwpI5f1\n\thnfilbdkS7tePAsCOEHjLuAjyBz7Rnfr9hca37OFZCrJvqu3cbnT0ugZC/NN34P2Vk5k\n\t3HLslDq9hG+8a2cFX0ESyNdOtnZ4YoJf6Udv491HzS1OvXTtj6E80f4T3mARZyG1W0Vl\n\tghW+w50M45ZFagHVT1ghTr+49isf9wmR33KN9t7HQxphvBE4PC3pPPTPb3TPl+dXZnt8\n\tHC+g==", "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=nmUxE1f3fbrX244+5cOfEY17YDCf+6KXPJXoXbOLcWQ=;\n\tb=mh7lGtueAdJU5GG3FlXRcsL8ZxKB8y4FnxTtnHzg+xDWI7fqgojVq+nuI+BVza0pyo\n\tRPGLP4GgaFY78S7c4zr/Q0L86NZaz/gNDKHwEhDyLfeSA6IWYV40GAY2Z/bcQNhe1E+5\n\tzjGaX7+b5iam3z0/fxUEJ5BNNm1wbYWIdhpS15Kd6/c0TOuJ7eEBqhC3n0RCThhSyzXW\n\tCtcEtVbjXiq9C7kuUAM9g0/dw/eRBF7l04cRT02EnvOUNvhu4Yp/sdTyJHAYqpiKrIwA\n\tPLq5zOKaQmUUt2Nn6eya+eZEcoZjuyG/5jWi7XSBW7fNc1QyuM4+1wasD2+KR4yGWbLw\n\tSA+w==", "X-Gm-Message-State": "AHPjjUh+uuKtb3Vo8cDRGg7dTBlrZ1jD6patXZRdN/kDu2hQm6/AkurU\n\t/2Uc2eTVBIhwimn2HPm2xLjsiplf", "X-Google-Smtp-Source": "AOwi7QBrNkp13mbtYiUp4M/531yYQ4f13P6jT11N7AVCnuCEfpQ/nd/EKTGUS+5ryYxE5gDrxL0DRw==", "X-Received": "by 10.223.169.7 with SMTP id u7mr374545wrc.37.1506493404691;\n\tTue, 26 Sep 2017 23:23:24 -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,\n\tlinyunsheng@huawei.com", "Subject": "[patch net-next v3 01/12] fib: notifier: Add VIF add and delete\n\tevent types", "Date": "Wed, 27 Sep 2017 08:23:11 +0200", "Message-Id": "<20170927062322.5476-2-jiri@resnulli.us>", "X-Mailer": "git-send-email 2.9.5", "In-Reply-To": "<20170927062322.5476-1-jiri@resnulli.us>", "References": "<20170927062322.5476-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\nIn order for an interface to forward packets according to the kernel\nmulticast routing table, it must be configured with a VIF index according\nto the mroute user API. The VIF index is then used to refer to that\ninterface in the mroute user API, for example, to set the iif and oifs of\nan MFC entry.\n\nIn order to allow drivers to be aware and offload multicast routes, they\nhave to be aware of the VIF add and delete notifications.\n\nDue to the fact that a specific VIF can be deleted and re-added pointing to\nanother netdevice, and the MFC routes that point to it will forward the\nmatching packets to the new netdevice, a driver willing to offload MFC\ncache entries must be aware of the VIF add and delete events in addition to\nMFC routes notifications.\n\nSigned-off-by: Yotam Gigi <yotamg@mellanox.com>\nReviewed-by: Ido Schimmel <idosch@mellanox.com>\nSigned-off-by: Jiri Pirko <jiri@mellanox.com>\nReviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>\n---\n include/net/fib_notifier.h | 2 ++\n 1 file changed, 2 insertions(+)", "diff": "diff --git a/include/net/fib_notifier.h b/include/net/fib_notifier.h\nindex 669b971..54cd6b8 100644\n--- a/include/net/fib_notifier.h\n+++ b/include/net/fib_notifier.h\n@@ -20,6 +20,8 @@ enum fib_event_type {\n \tFIB_EVENT_RULE_DEL,\n \tFIB_EVENT_NH_ADD,\n \tFIB_EVENT_NH_DEL,\n+\tFIB_EVENT_VIF_ADD,\n+\tFIB_EVENT_VIF_DEL,\n };\n \n struct fib_notifier_ops {\n", "prefixes": [ "net-next", "v3", "01/12" ] }