get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 45305,
    "url": "https://patches.dpdk.org/api/patches/45305/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1537865352-114085-1-git-send-email-nikhil.rao@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": "<1537865352-114085-1-git-send-email-nikhil.rao@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1537865352-114085-1-git-send-email-nikhil.rao@intel.com",
    "date": "2018-09-25T08:49:12",
    "name": "[v2] eventdev: fix port id argument in Rx adapter caps API",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "17ad9805d25fa8df7dc1beb850ceee1d0dd2a45f",
    "submitter": {
        "id": 528,
        "url": "https://patches.dpdk.org/api/people/528/?format=api",
        "name": "Rao, Nikhil",
        "email": "nikhil.rao@intel.com"
    },
    "delegate": {
        "id": 310,
        "url": "https://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1537865352-114085-1-git-send-email-nikhil.rao@intel.com/mbox/",
    "series": [
        {
            "id": 1485,
            "url": "https://patches.dpdk.org/api/series/1485/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1485",
            "date": "2018-09-25T08:49:12",
            "name": "[v2] eventdev: fix port id argument in Rx adapter caps API",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/1485/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/45305/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/45305/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 EC8ED4CA6;\n\tTue, 25 Sep 2018 10:50:59 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id 3CAC24C99;\n\tTue, 25 Sep 2018 10:50:58 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t25 Sep 2018 01:50:57 -0700",
            "from unknown (HELO localhost.localdomain.localdomain)\n\t([10.224.122.193])\n\tby fmsmga001.fm.intel.com with ESMTP; 25 Sep 2018 01:50:55 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.54,301,1534834800\"; d=\"scan'208\";a=\"93022237\"",
        "From": "Nikhil Rao <nikhil.rao@intel.com>",
        "To": "jerin.jacob@caviumnetworks.com",
        "Cc": "dev@dpdk.org,\n\tNikhil Rao <nikhil.rao@intel.com>,\n\tstable@dpdk.org",
        "Date": "Tue, 25 Sep 2018 14:19:12 +0530",
        "Message-Id": "<1537865352-114085-1-git-send-email-nikhil.rao@intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1536150078-89772-1-git-send-email-nikhil.rao@intel.com>",
        "References": "<1536150078-89772-1-git-send-email-nikhil.rao@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2] eventdev: fix port id argument in Rx adapter\n\tcaps API",
        "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": "Make the ethernet port id passed into\nrte_event_eth_rx_adapter_caps_get() 16 bit.\n\nAlso, update the event rx adapter test to use 16 bit\nethernet port ids.\n\nFixes: c2189c907dd1 (\"eventdev: make ethdev port identifiers 16-bit\")\nCc: stable@dpdk.org\n\nSigned-off-by: Nikhil Rao <nikhil.rao@intel.com>\nAcked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>\n---\n\nv2:\n* squash changes to autotest and library into a single patch (Jerin Jacob)\n* add update to release notes (Jerin Jacob)\n\n lib/librte_eventdev/rte_eventdev.h     | 2 +-\n lib/librte_eventdev/rte_eventdev.c     | 2 +-\n test/test/test_event_eth_rx_adapter.c  | 6 +++---\n doc/guides/rel_notes/release_18_11.rst | 4 +++-\n lib/librte_eventdev/Makefile           | 2 +-\n 5 files changed, 9 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h\nindex a24213e..8541109 100644\n--- a/lib/librte_eventdev/rte_eventdev.h\n+++ b/lib/librte_eventdev/rte_eventdev.h\n@@ -1112,7 +1112,7 @@ struct rte_event {\n  *\n  */\n int\n-rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint8_t eth_port_id,\n+rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint16_t eth_port_id,\n \t\t\t\tuint32_t *caps);\n \n #define RTE_EVENT_TIMER_ADAPTER_CAP_INTERNAL_PORT (1ULL << 0)\ndiff --git a/lib/librte_eventdev/rte_eventdev.c b/lib/librte_eventdev/rte_eventdev.c\nindex 0a8572b..b1914dc 100644\n--- a/lib/librte_eventdev/rte_eventdev.c\n+++ b/lib/librte_eventdev/rte_eventdev.c\n@@ -109,7 +109,7 @@\n }\n \n int\n-rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint8_t eth_port_id,\n+rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint16_t eth_port_id,\n \t\t\t\tuint32_t *caps)\n {\n \tstruct rte_eventdev *dev;\ndiff --git a/test/test/test_event_eth_rx_adapter.c b/test/test/test_event_eth_rx_adapter.c\nindex 4641640..592bcaa 100644\n--- a/test/test/test_event_eth_rx_adapter.c\n+++ b/test/test/test_event_eth_rx_adapter.c\n@@ -32,7 +32,7 @@ struct event_eth_rx_adapter_test_params {\n static struct event_eth_rx_adapter_test_params default_params;\n \n static inline int\n-port_init_common(uint8_t port, const struct rte_eth_conf *port_conf,\n+port_init_common(uint16_t port, const struct rte_eth_conf *port_conf,\n \t\tstruct rte_mempool *mp)\n {\n \tconst uint16_t rx_ring_size = 512, tx_ring_size = 512;\n@@ -94,7 +94,7 @@ struct event_eth_rx_adapter_test_params {\n }\n \n static inline int\n-port_init_rx_intr(uint8_t port, struct rte_mempool *mp)\n+port_init_rx_intr(uint16_t port, struct rte_mempool *mp)\n {\n \tstatic const struct rte_eth_conf port_conf_default = {\n \t\t.rxmode = {\n@@ -110,7 +110,7 @@ struct event_eth_rx_adapter_test_params {\n }\n \n static inline int\n-port_init(uint8_t port, struct rte_mempool *mp)\n+port_init(uint16_t port, struct rte_mempool *mp)\n {\n \tstatic const struct rte_eth_conf port_conf_default = {\n \t\t.rxmode = {\ndiff --git a/doc/guides/rel_notes/release_18_11.rst b/doc/guides/rel_notes/release_18_11.rst\nindex 97daad1..842b46b 100644\n--- a/doc/guides/rel_notes/release_18_11.rst\n+++ b/doc/guides/rel_notes/release_18_11.rst\n@@ -99,6 +99,8 @@ API Changes\n   flag the MAC can be properly configured in any case. This is particularly\n   important for bonding.\n \n+* eventdev: Type of 2nd parameter to ``rte_event_eth_rx_adapter_caps_get()``\n+  has been changed from uint8_t to uint16_t.\n \n ABI Changes\n -----------\n@@ -162,7 +164,7 @@ The libraries prepended with a plus sign were incremented in this version.\n      librte_distributor.so.1\n      librte_eal.so.8\n      librte_ethdev.so.10\n-     librte_eventdev.so.4\n+   + librte_eventdev.so.6\n      librte_flow_classify.so.1\n      librte_gro.so.1\n      librte_gso.so.1\ndiff --git a/lib/librte_eventdev/Makefile b/lib/librte_eventdev/Makefile\nindex 47f599a..ce800ea 100644\n--- a/lib/librte_eventdev/Makefile\n+++ b/lib/librte_eventdev/Makefile\n@@ -8,7 +8,7 @@ include $(RTE_SDK)/mk/rte.vars.mk\n LIB = librte_eventdev.a\n \n # library version\n-LIBABIVER := 5\n+LIBABIVER := 6\n \n # build flags\n CFLAGS += -DALLOW_EXPERIMENTAL_API\n",
    "prefixes": [
        "v2"
    ]
}