get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/802489/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 802489,
    "url": "http://patchwork.ozlabs.org/api/patches/802489/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/150296561607.16910.15787227064709574787.stgit@anamdev.jf.intel.com/",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api",
        "name": "Intel Wired Ethernet development",
        "link_name": "intel-wired-lan",
        "list_id": "intel-wired-lan.osuosl.org",
        "list_email": "intel-wired-lan@osuosl.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<150296561607.16910.15787227064709574787.stgit@anamdev.jf.intel.com>",
    "list_archive_url": null,
    "date": "2017-08-17T10:26:56",
    "name": "[RFC,v2,2/6,net-next] net: i40e: Maintain a mapping of TCs with the VSI seids",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "b877c198161c694184b00a80cf10cea5ea30e9ed",
    "submitter": {
        "id": 68504,
        "url": "http://patchwork.ozlabs.org/api/people/68504/?format=api",
        "name": "Nambiar, Amritha",
        "email": "amritha.nambiar@intel.com"
    },
    "delegate": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/users/68/?format=api",
        "username": "jtkirshe",
        "first_name": "Jeff",
        "last_name": "Kirsher",
        "email": "jeffrey.t.kirsher@intel.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/150296561607.16910.15787227064709574787.stgit@anamdev.jf.intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/802489/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/802489/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@osuosl.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Authentication-Results": "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xY2V1688Vz9t2x\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 17 Aug 2017 20:27:53 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 2B60C8A029;\n\tThu, 17 Aug 2017 10:27:52 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id kcQYNYlby48D; Thu, 17 Aug 2017 10:27:50 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 5861989BC5;\n\tThu, 17 Aug 2017 10:27:50 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id B47CF1C16C1\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 17 Aug 2017 10:27:48 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 91F1888D70\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 17 Aug 2017 10:27:48 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id V3uckGp2OjdV for <intel-wired-lan@lists.osuosl.org>;\n\tThu, 17 Aug 2017 10:27:47 +0000 (UTC)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 8DE1888DF1\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 17 Aug 2017 10:27:47 +0000 (UTC)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t17 Aug 2017 03:27:47 -0700",
            "from anamdev.jf.intel.com ([10.166.29.110])\n\tby fmsmga002.fm.intel.com with ESMTP; 17 Aug 2017 03:27:46 -0700"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos; i=\"5.41,387,1498546800\"; d=\"scan'208\";\n\ta=\"1206714079\"",
        "From": "Amritha Nambiar <amritha.nambiar@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org, jeffrey.t.kirsher@intel.com",
        "Date": "Thu, 17 Aug 2017 03:26:56 -0700",
        "Message-ID": "<150296561607.16910.15787227064709574787.stgit@anamdev.jf.intel.com>",
        "In-Reply-To": "<150296538797.16910.13738130623106637990.stgit@anamdev.jf.intel.com>",
        "References": "<150296538797.16910.13738130623106637990.stgit@anamdev.jf.intel.com>",
        "User-Agent": "StGit/0.17.1-dirty",
        "MIME-Version": "1.0",
        "Cc": "netdev@vger.kernel.org, mitch.a.williams@intel.com",
        "Subject": "[Intel-wired-lan] [RFC PATCH v2 2/6] [net-next]net: i40e: Maintain\n\ta mapping of TCs with the VSI seids",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.18-1",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>",
        "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>",
        "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"
    },
    "content": "Add mapping of TCs with the seids of the channel VSIs. TC0\nwill be mapped to the main VSI seid and all other TCs are\nmapped to the seid of the channel VSI.\n\nSigned-off-by: Amritha Nambiar <amritha.nambiar@intel.com>\n---\n drivers/net/ethernet/intel/i40e/i40e.h      |    1 +\n drivers/net/ethernet/intel/i40e/i40e_main.c |    2 ++\n 2 files changed, 3 insertions(+)",
    "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e.h b/drivers/net/ethernet/intel/i40e/i40e.h\nindex 8852ac0..1391e5d 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e.h\n+++ b/drivers/net/ethernet/intel/i40e/i40e.h\n@@ -738,6 +738,7 @@ struct i40e_vsi {\n \tatomic_t next_base_queue;\n \n \tstruct list_head ch_list;\n+\tu16 tc_seid_map[I40E_MAX_TRAFFIC_CLASS];\n \n \tvoid *priv;\t/* client driver data reference. */\n \ndiff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c\nindex 601a86d..b02da99 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_main.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c\n@@ -6127,6 +6127,7 @@ static int i40e_configure_queue_channels(struct i40e_vsi *vsi)\n \tint ret = 0, i;\n \n \t/* Create app vsi with the TCs. Main VSI with TC0 is already set up */\n+\tvsi->tc_seid_map[0] = vsi->seid;\n \tfor (i = 1; i < I40E_MAX_TRAFFIC_CLASS; i++)\n \t\tif (vsi->tc_config.enabled_tc & BIT(i)) {\n \t\t\tch = kzalloc(sizeof(*ch), GFP_KERNEL);\n@@ -6156,6 +6157,7 @@ static int i40e_configure_queue_channels(struct i40e_vsi *vsi)\n \t\t\t\t\ti, ch->num_queue_pairs);\n \t\t\t\tgoto err_free;\n \t\t\t}\n+\t\t\tvsi->tc_seid_map[i] = ch->seid;\n \t\t}\n \treturn ret;\n \n",
    "prefixes": [
        "RFC",
        "v2",
        "2/6",
        "net-next"
    ]
}