get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 51860,
    "url": "https://patches.dpdk.org/api/patches/51860/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190328180015.13878-1-gage.eads@intel.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<20190328180015.13878-1-gage.eads@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190328180015.13878-1-gage.eads@intel.com",
    "date": "2019-03-28T18:00:07",
    "name": "[v4,0/8] Add stack library and new mempool handler",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 586,
        "url": "https://patches.dpdk.org/api/people/586/?format=api",
        "name": "Eads, Gage",
        "email": "gage.eads@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20190328180015.13878-1-gage.eads@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/51860/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/51860/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 250911B40F;\n\tThu, 28 Mar 2019 19:01:12 +0100 (CET)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id A528E568A\n\tfor <dev@dpdk.org>; Thu, 28 Mar 2019 19:01:09 +0100 (CET)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t28 Mar 2019 11:01:08 -0700",
            "from txasoft-yocto.an.intel.com ([10.123.72.192])\n\tby orsmga002.jf.intel.com with ESMTP; 28 Mar 2019 11:01:04 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.60,281,1549958400\"; d=\"scan'208\";a=\"146081511\"",
        "From": "Gage Eads <gage.eads@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "olivier.matz@6wind.com, arybchenko@solarflare.com,\n\tbruce.richardson@intel.com, konstantin.ananyev@intel.com,\n\tgavin.hu@arm.com, \n\tHonnappa.Nagarahalli@arm.com, nd@arm.com, thomas@monjalon.net",
        "Date": "Thu, 28 Mar 2019 13:00:07 -0500",
        "Message-Id": "<20190328180015.13878-1-gage.eads@intel.com>",
        "X-Mailer": "git-send-email 2.13.6",
        "In-Reply-To": "<20190306144559.391-1-gage.eads@intel.com>",
        "References": "<20190306144559.391-1-gage.eads@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v4 0/8] Add stack library and new mempool handler",
        "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": "This patchset introduces a stack library, supporting both lock-based and\nlock-free stacks, and a lock-free stack mempool handler.\n\nThe lock-based stack code is derived from the existing stack mempool handler,\nand that handler is refactored to use the stack library.\n\nThe lock-free stack mempool handler is intended for usages where the rte\nring's \"non-preemptive\" constraint is not acceptable; for example, if the\napplication uses a mixture of pinned high-priority threads and multiplexed\nlow-priority threads that share a mempool.\n\nNote that the lock-free algorithm relies on a 128-bit compare-and-swap[1],\nso it is currently limited to the x86_64 platform.\n\nThis patchset is the successor to a patchset containing only the new mempool\nhandler[2].\n\n[1] http://mails.dpdk.org/archives/dev/2019-March/125751.html\n[2] http://mails.dpdk.org/archives/dev/2019-January/123555.html\n\n---\nv4:\n- Fix test_stack.c 32-bit build by using %zu format specifier for size_t\n- Rebase onto master\n\nv3:\n- Rebase patchset onto master (test/test/ -> app/test/)\n- Fix rte_stack_std_push() segfault introduced in v2\n\nv2:\n- Reworked structure and function naming to use rte_stack_{std, lf}_...\n- Updated to the latest rte_atomic128_cmp_exchange() interface.\n- Rename STACK_F_NB -> RTE_STACK_F_LF.\n- Remove rte_rmb() and rte_wmb() from the generic push and pop implementations.\n  These are obviated by rte_atomic128_cmp_exchange()'s two memorder arguments.\n- Edit stack_lib.rst text to 80 chars/line.\n- Fix rte_stack.h doxygen formatting.\n- Allocate popped_objs array from the heap\n- Fix stack_thread_push_pop bug (\"&t->sz\" -> \"t->sz\")\n- Remove unnecessary NULL check from test_stack_basic\n- Properly terminate the name string in test_stack_name_length\n- Add an empty array of struct rte_nb_lifo_elem elements\n- In rte_nb_lifo_push(), retrieve the last element from __nb_lifo_pop()\n- Split C11 implementation into a separate patchset\n\nGage Eads (8):\n  stack: introduce rte stack library\n  mempool/stack: convert mempool to use rte stack\n  test/stack: add stack test\n  test/stack: add stack perf test\n  stack: add lock-free stack implementation\n  stack: add C11 atomic implementation\n  test/stack: add lock-free stack tests\n  mempool/stack: add lock-free stack mempool handler\n\n MAINTAINERS                                     |   9 +-\n app/test/Makefile                               |   3 +\n app/test/meson.build                            |   7 +\n app/test/test_stack.c                           | 423 ++++++++++++++++++++++++\n app/test/test_stack_perf.c                      | 356 ++++++++++++++++++++\n config/common_base                              |   5 +\n doc/api/doxy-api-index.md                       |   1 +\n doc/api/doxy-api.conf.in                        |   1 +\n doc/guides/prog_guide/env_abstraction_layer.rst |  10 +\n doc/guides/prog_guide/index.rst                 |   1 +\n doc/guides/prog_guide/stack_lib.rst             |  83 +++++\n doc/guides/rel_notes/release_19_05.rst          |  13 +\n drivers/mempool/stack/Makefile                  |   3 +-\n drivers/mempool/stack/meson.build               |   6 +-\n drivers/mempool/stack/rte_mempool_stack.c       | 115 +++----\n lib/Makefile                                    |   2 +\n lib/librte_stack/Makefile                       |  25 ++\n lib/librte_stack/meson.build                    |  10 +\n lib/librte_stack/rte_stack.c                    | 219 ++++++++++++\n lib/librte_stack/rte_stack.h                    | 395 ++++++++++++++++++++++\n lib/librte_stack/rte_stack_c11_mem.h            | 175 ++++++++++\n lib/librte_stack/rte_stack_generic.h            | 151 +++++++++\n lib/librte_stack/rte_stack_pvt.h                |  34 ++\n lib/librte_stack/rte_stack_version.map          |   9 +\n lib/meson.build                                 |   2 +-\n mk/rte.app.mk                                   |   1 +\n 26 files changed, 1987 insertions(+), 72 deletions(-)\n create mode 100644 app/test/test_stack.c\n create mode 100644 app/test/test_stack_perf.c\n create mode 100644 doc/guides/prog_guide/stack_lib.rst\n create mode 100644 lib/librte_stack/Makefile\n create mode 100644 lib/librte_stack/meson.build\n create mode 100644 lib/librte_stack/rte_stack.c\n create mode 100644 lib/librte_stack/rte_stack.h\n create mode 100644 lib/librte_stack/rte_stack_c11_mem.h\n create mode 100644 lib/librte_stack/rte_stack_generic.h\n create mode 100644 lib/librte_stack/rte_stack_pvt.h\n create mode 100644 lib/librte_stack/rte_stack_version.map",
    "diff": null,
    "prefixes": [
        "v4",
        "0/8"
    ]
}