get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 90084,
    "url": "http://patches.dpdk.org/api/patches/90084/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210330082212.707-4-pbhagavatula@marvell.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": "<20210330082212.707-4-pbhagavatula@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210330082212.707-4-pbhagavatula@marvell.com",
    "date": "2021-03-30T08:22:06",
    "name": "[v9,3/8] eventdev: introduce event vector Tx capability",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "d0b0552e0d8c311d462e47c08413374969e92fe7",
    "submitter": {
        "id": 1183,
        "url": "http://patches.dpdk.org/api/people/1183/?format=api",
        "name": "Pavan Nikhilesh Bhagavatula",
        "email": "pbhagavatula@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "http://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210330082212.707-4-pbhagavatula@marvell.com/mbox/",
    "series": [
        {
            "id": 15971,
            "url": "http://patches.dpdk.org/api/series/15971/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=15971",
            "date": "2021-03-30T08:22:03",
            "name": "Introduce event vectorization",
            "version": 9,
            "mbox": "http://patches.dpdk.org/series/15971/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/90084/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/90084/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 50FEDA034F;\n\tTue, 30 Mar 2021 10:22:47 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 158BA140DD2;\n\tTue, 30 Mar 2021 10:22:42 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id A621D40691\n for <dev@dpdk.org>; Tue, 30 Mar 2021 10:22:40 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id\n 12U8KgUf025679; Tue, 30 Mar 2021 01:22:39 -0700",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com with ESMTP id 37k63bcnmh-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Tue, 30 Mar 2021 01:22:39 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Tue, 30 Mar 2021 01:22:38 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Tue, 30 Mar 2021 01:22:38 -0700",
            "from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176])\n by maili.marvell.com (Postfix) with ESMTP id 7C9B53F703F;\n Tue, 30 Mar 2021 01:22:34 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=AE1LlJoNcjwaTz1TP9dH4VULHKipgmsn4/TVF9JakVY=;\n b=OCzIGtG4TsGTABeMleaOj3e6VYRL2wdq41DMjAwY5Mn8lI22BNRWQfDApA3YWlypZbmS\n UqBvucrwR628X7WLIU+uUDxw7fQpTocgY9y1qyqbWDq1HJMQrHbNYN+RrV22zGOMPXKd\n ove7d7ipUMqqZgTq+hjt/Kx30MUou/leZHSFzjMpB2vzafCZR13O8TmGdzlgBwSp/nZ+\n CAXXn8nlvPou7wErqQRZenYF3llir1J/3zab8b/QI6WiCCtsr+NsDaNXUkRpM06Sk75j\n 4NjJ2TQDHSD2SzECj9/YcRm/9fW7N8j5CnMQdm1Fz807DRlu2KkFIMcSbS4pVml6Cjbc 7A==",
        "From": "<pbhagavatula@marvell.com>",
        "To": "<jerinj@marvell.com>, <jay.jayatheerthan@intel.com>,\n <erik.g.carrillo@intel.com>, <abhinandan.gujjar@intel.com>,\n <timothy.mcdaniel@intel.com>, <hemant.agrawal@nxp.com>,\n <harry.van.haaren@intel.com>, <mattias.ronnblom@ericsson.com>,\n <liang.j.ma@intel.com>",
        "CC": "<dev@dpdk.org>, Pavan Nikhilesh <pbhagavatula@marvell.com>",
        "Date": "Tue, 30 Mar 2021 13:52:06 +0530",
        "Message-ID": "<20210330082212.707-4-pbhagavatula@marvell.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20210330082212.707-1-pbhagavatula@marvell.com>",
        "References": "<20210326140850.7332-1-pbhagavatula@marvell.com>\n <20210330082212.707-1-pbhagavatula@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "nqCOyTtVRne66VbFr_G-8S4yR9UibLSf",
        "X-Proofpoint-GUID": "nqCOyTtVRne66VbFr_G-8S4yR9UibLSf",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761\n definitions=2021-03-30_02:2021-03-26,\n 2021-03-30 signatures=0",
        "Subject": "[dpdk-dev] [PATCH v9 3/8] eventdev: introduce event vector Tx\n capability",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Pavan Nikhilesh <pbhagavatula@marvell.com>\n\nIntroduce event vector transmit capability for event eth\ntx adapter.\n\nThe capability indicates that the Tx adapter is capable of\ntransmitting event vectors.\nWhen rte_event_vector::union_valid is set, the Tx adapter should\ntransmit all the packets to the rte_event_vector::port using the\nrte_event_vector::queue.\nIf rte_event_vector::union_valid is not set then the Tx adapter\nshould peek into each mbuf to get the destination port and queue\npair.\n\nSigned-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>\nAcked-by: Jerin Jacob <jerinj@marvell.com>\nAcked-by: Jay Jayatheerthan <jay.jayatheerthan@intel.com>\n---\n doc/guides/prog_guide/event_ethernet_tx_adapter.rst | 12 ++++++++++++\n lib/librte_eventdev/rte_eventdev.h                  |  8 +++++++-\n 2 files changed, 19 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/doc/guides/prog_guide/event_ethernet_tx_adapter.rst b/doc/guides/prog_guide/event_ethernet_tx_adapter.rst\nindex a8c13e136..f80d22621 100644\n--- a/doc/guides/prog_guide/event_ethernet_tx_adapter.rst\n+++ b/doc/guides/prog_guide/event_ethernet_tx_adapter.rst\n@@ -164,3 +164,15 @@ The  ``rte_event_eth_tx_adapter_stats_get()`` function reports counters defined\n in struct ``rte_event_eth_tx_adapter_stats``. The counter values are the sum of\n the counts from the eventdev PMD callback if the callback is supported, and\n the counts maintained by the service function, if one exists.\n+\n+Tx event vectorization\n+~~~~~~~~~~~~~~~~~~~~~~\n+\n+The event device, ethernet device pairs which support the capability\n+``RTE_EVENT_ETH_TX_ADAPTER_CAP_EVENT_VECTOR`` can process event vector of mbufs.\n+Additionally, application can provide a hint to the Tx adapter that all the\n+mbufs are destined to the same ethernet port and queue by setting the bit\n+``rte_event_vector::attr_valid`` and filling `rte_event_vector::port`` and\n+``rte_event_vector::queue``.\n+If ``rte_event_vector::attr_valid`` is not set then the Tx adapter should peek\n+into each mbuf and transmit them to the requested ethernet port and queue pair.\ndiff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h\nindex 936c97cc2..5f1f544cc 100644\n--- a/lib/librte_eventdev/rte_eventdev.h\n+++ b/lib/librte_eventdev/rte_eventdev.h\n@@ -927,11 +927,13 @@ struct rte_event_vector {\n \t/**< Indicates that the below union attributes have valid information.\n \t */\n \tunion {\n-\t\t/* Used by Rx adapter.\n+\t\t/* Used by Rx/Tx adapter.\n \t\t * Indicates that all the elements in this vector belong to the\n \t\t * same port and queue pair when originating from Rx adapter,\n \t\t * valid only when event type is ETHDEV_VECTOR or\n \t\t * ETH_RX_ADAPTER_VECTOR.\n+\t\t * Can also be used to indicate the Tx adapter the destination\n+\t\t * port and queue of the mbufs in the vector\n \t\t */\n \t\tstruct {\n \t\t\tuint16_t port;\n@@ -1296,6 +1298,10 @@ rte_event_crypto_adapter_caps_get(uint8_t dev_id, uint8_t cdev_id,\n #define RTE_EVENT_ETH_TX_ADAPTER_CAP_INTERNAL_PORT\t0x1\n /**< This flag is sent when the PMD supports a packet transmit callback\n  */\n+#define RTE_EVENT_ETH_TX_ADAPTER_CAP_EVENT_VECTOR\t0x2\n+/**< Indicates that the Tx adapter is capable of handling event vector of\n+ * mbufs.\n+ */\n \n /**\n  * Retrieve the event device's eth Tx adapter capabilities\n",
    "prefixes": [
        "v9",
        "3/8"
    ]
}