Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/818097/?format=api
{ "id": 818097, "url": "http://patchwork.ozlabs.org/api/patches/818097/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20170925083230.1193-3-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": "<20170925083230.1193-3-jiri@resnulli.us>", "list_archive_url": null, "date": "2017-09-25T08:32:22", "name": "[net-next,02/10] mlxsw: Add fields for mlxsw's meta header for adjacency table", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "b6f18bcd9a0407e9a2ce79bf11952ec9adc6e126", "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/20170925083230.1193-3-jiri@resnulli.us/mbox/", "series": [ { "id": 4898, "url": "http://patchwork.ozlabs.org/api/series/4898/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=4898", "date": "2017-09-25T08:32:21", "name": "mlxsw: Add router adjacency dpipe table", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/4898/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/818097/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/818097/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=\"oK0I1oGy\"; dkim-atps=neutral" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3y0y61653gz9t62\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 25 Sep 2017 18:33:29 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S934315AbdIYId0 (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tMon, 25 Sep 2017 04:33:26 -0400", "from mail-wr0-f193.google.com ([209.85.128.193]:33040 \"EHLO\n\tmail-wr0-f193.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S933294AbdIYIcd (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Mon, 25 Sep 2017 04:32:33 -0400", "by mail-wr0-f193.google.com with SMTP id b9so1443838wra.0\n\tfor <netdev@vger.kernel.org>; Mon, 25 Sep 2017 01:32:33 -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\ty48sm5708875wrb.68.2017.09.25.01.32.32\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tMon, 25 Sep 2017 01:32:32 -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=OzVEllWmpIJgS3NgsxteUgk7xLl2hCv17060tH2HMjk=;\n\tb=oK0I1oGyGhl1VcyfwKM7UDMYYzYIR/ejvMatO/DP1JvVtgXS8NHkXWRgLBsfH4t5Ry\n\tVWjTJS/otACJFzbOpf/rcMXIul+tOo8/7orYkKcRG5OT+lbSCTt4uVYRnS2lZ7VBY2/I\n\tqe7tqiLewyTdixsoioY+W+LKecQ/HsuEeiqBHuVBHaJT+AWYn+J/s55TkexHe+ib8XUx\n\ti5kvdwclBhn7vxoRFUHUEJJJndhkXAk+JA8fWwsahhqP07BJj83UaV/s7qtKs9kctW+r\n\tAuzKzNs6ib1ImiOagiVkokeoV0HC5fikJ7jtCBjqwfa7V+MSkP+53hQWh/gPbJcAhbTc\n\tqk6A==", "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=OzVEllWmpIJgS3NgsxteUgk7xLl2hCv17060tH2HMjk=;\n\tb=F0ouRdp3QZrDULIWSF3A0Nk3UHpoEyuJc0z2HHhu4Z3/5DVaFbiXj0ZT+2cJRG4xE4\n\tozBWWzp9hEh00Z7vHiUi8UwuS/BjjEmNNsQRYLvc5BKwlA4QTZm1elFo9AvpHQaCBVww\n\tu7NjUA1eCkxb42WFq35O2gAqwuB3CBlMS93B3UvydZAherVEQX9DFkzefpdh6942MkcZ\n\tnSXT6vObayrlt9zG+JNvhIsTvY89Wsl7hx6j5IlHhohLgLHlZT7kqhleoIoGyx7l15vc\n\taAe4uOl2IlcCQCwYuTSwP+4a52P8IHZ2KshqI9UGeFn1mIC4sZo+HyX/kx66bbYyjjc3\n\tg1sw==", "X-Gm-Message-State": "AHPjjUh4g6KeWmy6aWaWYHAL2WWPLCX+g5RfhwI922td0oLTIc/4QWvr\n\tmO66GjmgpTpvxcOuWs2iFEvWFOKd", "X-Google-Smtp-Source": "AOwi7QDU5mBBlPC7FL95Sx60EPT+pYyvjVobKCdWeaX6uZB82B2Q4FziEPEVCrxhjwISFvqsyRimig==", "X-Received": "by 10.223.175.230 with SMTP id y38mr4928639wrd.213.1506328352790;\n\tMon, 25 Sep 2017 01:32:32 -0700 (PDT)", "From": "Jiri Pirko <jiri@resnulli.us>", "To": "netdev@vger.kernel.org", "Cc": "davem@davemloft.net, arkadis@mellanox.com, idosch@mellanox.com,\n\tmlxsw@mellanox.com", "Subject": "[patch net-next 02/10] mlxsw: Add fields for mlxsw's meta header\n\tfor adjacency table", "Date": "Mon, 25 Sep 2017 10:32:22 +0200", "Message-Id": "<20170925083230.1193-3-jiri@resnulli.us>", "X-Mailer": "git-send-email 2.9.5", "In-Reply-To": "<20170925083230.1193-1-jiri@resnulli.us>", "References": "<20170925083230.1193-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: Arkadi Sharshevsky <arkadis@mellanox.com>\n\nThis patch adds field for mlxsw's meta header which will be used to\ndescribe the match/action behavior of the adjacency table.\n\nThe fields are:\n1. Adj_index - The global index of the nexthop group in the adjacency\n table.\n\n2. Adj_hash_index - Local index offset which is based on packets hash\n mod the nexthop group size.\n\nSigned-off-by: Arkadi Sharshevsky <arkadis@mellanox.com>\nSigned-off-by: Jiri Pirko <jiri@mellanox.com>\n---\n drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c | 12 ++++++++++++\n 1 file changed, 12 insertions(+)", "diff": "diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c\nindex 9164809..9253273 100644\n--- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c\n+++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c\n@@ -43,6 +43,8 @@ enum mlxsw_sp_field_metadata_id {\n \tMLXSW_SP_DPIPE_FIELD_METADATA_ERIF_PORT,\n \tMLXSW_SP_DPIPE_FIELD_METADATA_L3_FORWARD,\n \tMLXSW_SP_DPIPE_FIELD_METADATA_L3_DROP,\n+\tMLXSW_SP_DPIPE_FIELD_METADATA_ADJ_INDEX,\n+\tMLXSW_SP_DPIPE_FIELD_METADATA_ADJ_HASH_INDEX,\n };\n \n static struct devlink_dpipe_field mlxsw_sp_dpipe_fields_metadata[] = {\n@@ -62,6 +64,16 @@ static struct devlink_dpipe_field mlxsw_sp_dpipe_fields_metadata[] = {\n \t\t.id = MLXSW_SP_DPIPE_FIELD_METADATA_L3_DROP,\n \t\t.bitwidth = 1,\n \t},\n+\t{\n+\t\t.name = \"adj_index\",\n+\t\t.id = MLXSW_SP_DPIPE_FIELD_METADATA_ADJ_INDEX,\n+\t\t.bitwidth = 32,\n+\t},\n+\t{\n+\t\t.name = \"adj_hash_index\",\n+\t\t.id = MLXSW_SP_DPIPE_FIELD_METADATA_ADJ_HASH_INDEX,\n+\t\t.bitwidth = 32,\n+\t},\n };\n \n enum mlxsw_sp_dpipe_header_id {\n", "prefixes": [ "net-next", "02/10" ] }