get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 50592,
    "url": "http://patches.dpdk.org/api/patches/50592/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190228055650.25237-34-qi.z.zhang@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20190228055650.25237-34-qi.z.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190228055650.25237-34-qi.z.zhang@intel.com",
    "date": "2019-02-28T05:56:46",
    "name": "[33/37] net/ice/base: change profile priority for RSS reply",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "a60834d5221b3b2f8b05831eb211d3e0f977cc8a",
    "submitter": {
        "id": 504,
        "url": "http://patches.dpdk.org/api/people/504/?format=api",
        "name": "Qi Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190228055650.25237-34-qi.z.zhang@intel.com/mbox/",
    "series": [
        {
            "id": 3567,
            "url": "http://patches.dpdk.org/api/series/3567/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=3567",
            "date": "2019-02-28T05:56:13",
            "name": "share code update.",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/3567/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/50592/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/50592/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id BC7861B1F2;\n\tThu, 28 Feb 2019 06:55:55 +0100 (CET)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby dpdk.org (Postfix) with ESMTP id 08D331B147\n\tfor <dev@dpdk.org>; Thu, 28 Feb 2019 06:55:51 +0100 (CET)",
            "from fmsmga006.fm.intel.com ([10.253.24.20])\n\tby fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t27 Feb 2019 21:55:51 -0800",
            "from dpdk51.sh.intel.com ([10.67.110.190])\n\tby fmsmga006.fm.intel.com with ESMTP; 27 Feb 2019 21:55:50 -0800"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.58,422,1544515200\"; d=\"scan'208\";a=\"322784415\"",
        "From": "Qi Zhang <qi.z.zhang@intel.com>",
        "To": "wenzhuo.lu@intel.com,\n\tqiming.yang@intel.com",
        "Cc": "paul.m.stillwell.jr@intel.com, dev@dpdk.org, ferruh.yigit@intel.com,\n\tQi Zhang <qi.z.zhang@intel.com>,\n\tVignesh Sridhar <vignesh.sridhar@intel.com>",
        "Date": "Thu, 28 Feb 2019 13:56:46 +0800",
        "Message-Id": "<20190228055650.25237-34-qi.z.zhang@intel.com>",
        "X-Mailer": "git-send-email 2.13.6",
        "In-Reply-To": "<20190228055650.25237-1-qi.z.zhang@intel.com>",
        "References": "<20190228055650.25237-1-qi.z.zhang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 33/37] net/ice/base: change profile priority for\n\tRSS reply",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "1. Add call to replay RSS configurations\n2. Add RSS configurations to end of list and not the head to avoid\ninversion on replay.\n\nSigned-off-by: Vignesh Sridhar <vignesh.sridhar@intel.com>\nSigned-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n drivers/net/ice/base/ice_common.c |  5 ++++-\n drivers/net/ice/base/ice_flow.c   |  3 ++-\n drivers/net/ice/base/ice_osdep.h  | 16 ++++++++++++++++\n 3 files changed, 22 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c\nindex 425f76e8d..74f925c03 100644\n--- a/drivers/net/ice/base/ice_common.c\n+++ b/drivers/net/ice/base/ice_common.c\n@@ -3854,7 +3854,10 @@ enum ice_status ice_replay_vsi(struct ice_hw *hw, u16 vsi_handle)\n \t\tif (status)\n \t\t\treturn status;\n \t}\n-\n+\t/* Replay per VSI all RSS configurations */\n+\tstatus = ice_replay_rss_cfg(hw, vsi_handle);\n+\tif (status)\n+\t\treturn status;\n \t/* Replay per VSI all filters */\n \tstatus = ice_replay_vsi_all_fltr(hw, vsi_handle);\n \tif (!status)\ndiff --git a/drivers/net/ice/base/ice_flow.c b/drivers/net/ice/base/ice_flow.c\nindex 03a324d49..428002c28 100644\n--- a/drivers/net/ice/base/ice_flow.c\n+++ b/drivers/net/ice/base/ice_flow.c\n@@ -1672,7 +1672,8 @@ ice_add_rss_vsi_ctx(struct ice_hw *hw, u16 vsi_handle,\n \n \trss_cfg->hashed_flds = prof->segs[prof->segs_cnt - 1].match;\n \trss_cfg->packet_hdr = prof->segs[prof->segs_cnt - 1].hdrs;\n-\tLIST_ADD(&rss_cfg->l_entry, &hw->vsi_ctx[vsi_handle]->rss_list_head);\n+\tLIST_ADD_TAIL(&rss_cfg->l_entry,\n+\t\t      &hw->vsi_ctx[vsi_handle]->rss_list_head);\n \n \treturn ICE_SUCCESS;\n }\ndiff --git a/drivers/net/ice/base/ice_osdep.h b/drivers/net/ice/base/ice_osdep.h\nindex 252c8f4e7..560e36c1b 100644\n--- a/drivers/net/ice/base/ice_osdep.h\n+++ b/drivers/net/ice/base/ice_osdep.h\n@@ -462,6 +462,22 @@ LIST_HEAD(ice_list_head, ice_list_entry);\n #define LIST_ADD(entry, list_head)    LIST_INSERT_HEAD(list_head, entry, next)\n #define LIST_ADD_AFTER(entry, list_entry) \\\n \tLIST_INSERT_AFTER(list_entry, entry, next)\n+\n+static inline void list_add_tail(struct ice_list_entry *entry,\n+\t\t\t\t struct ice_list_head *head)\n+{\n+\tstruct ice_list_entry *tail = head->lh_first;\n+\n+\tif (tail == NULL) {\n+\t\tLIST_INSERT_HEAD(head, entry, next);\n+\t\treturn;\n+\t}\n+\twhile (tail->next.le_next != NULL)\n+\t\ttail = tail->next.le_next;\n+\tLIST_INSERT_AFTER(tail, entry, next);\n+}\n+\n+#define LIST_ADD_TAIL(entry, head) list_add_tail(entry, head)\n #define LIST_FOR_EACH_ENTRY(pos, head, type, member)\t\t\t       \\\n \tfor ((pos) = (head)->lh_first ?\t\t\t\t\t       \\\n \t\t     container_of((head)->lh_first, struct type, member) :     \\\n",
    "prefixes": [
        "33/37"
    ]
}