get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 121321,
    "url": "http://patchwork.dpdk.org/api/patches/121321/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20221223015558.3143279-10-mingxia.liu@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20221223015558.3143279-10-mingxia.liu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20221223015558.3143279-10-mingxia.liu@intel.com",
    "date": "2022-12-23T01:55:46",
    "name": "[09/21] net/cpfl: support basic Rx data path",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "75de5ca8c95d466a3235dcf7c3ce1513f5b19820",
    "submitter": {
        "id": 2514,
        "url": "http://patchwork.dpdk.org/api/people/2514/?format=api",
        "name": "Liu, Mingxia",
        "email": "mingxia.liu@intel.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patchwork.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20221223015558.3143279-10-mingxia.liu@intel.com/mbox/",
    "series": [
        {
            "id": 26253,
            "url": "http://patchwork.dpdk.org/api/series/26253/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=26253",
            "date": "2022-12-23T01:55:37",
            "name": "add support for cpfl PMD in DPDK",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/26253/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/121321/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/121321/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 93EFCA0093;\n\tFri, 23 Dec 2022 03:52:41 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 84C9442D40;\n\tFri, 23 Dec 2022 03:52:04 +0100 (CET)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id DC6F542D33\n for <dev@dpdk.org>; Fri, 23 Dec 2022 03:52:01 +0100 (CET)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 22 Dec 2022 18:52:01 -0800",
            "from dpdk-mingxial-01.sh.intel.com ([10.67.119.112])\n by orsmga006.jf.intel.com with ESMTP; 22 Dec 2022 18:52:00 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1671763922; x=1703299922;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=0WoTsnKOSihh1BdTTDRqGvPhKC3zBNVIsLu4reL0H2Q=;\n b=atXV5s/hMTKOf6KUbHu5hBTT1e38oeOIPvMBkZc7EUpvgLYDdFQhwh+j\n fjmbVkUuvCb3r7Rnh6JycUW+MAqQ0TcOsBnkktgbu/PS60/ztHsOqVkvl\n sf0mXMG29LCEMf1/NOAXMD2M5jRoZ9GqA8WXpuSd/geXlybn40m8ry6KB\n NC4+yWuDvuN4Z5jUnhPjrdDZP6+w6wemwoqfhoU5ni3aShiL2E+QCSrl7\n rSyYOUo0saqS/3H2aMJYeM7C8OuMApycRwh51MhEXTgzqRaFHoemdrAtM\n EEQ6nYYKFjIw9TjcYXPJmEWlmwQJY6w+K8zd62YuXJVBUONaS7gJeAzCn g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10569\"; a=\"321467109\"",
            "E=Sophos;i=\"5.96,267,1665471600\"; d=\"scan'208\";a=\"321467109\"",
            "E=McAfee;i=\"6500,9779,10569\"; a=\"629707169\"",
            "E=Sophos;i=\"5.96,267,1665471600\"; d=\"scan'208\";a=\"629707169\""
        ],
        "X-ExtLoop1": "1",
        "From": "Mingxia Liu <mingxia.liu@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "jingjing.wu@intel.com, beilei.xing@intel.com, qi.z.zhang@intel.com,\n Mingxia Liu <mingxia.liu@intel.com>",
        "Subject": "[PATCH 09/21] net/cpfl: support basic Rx data path",
        "Date": "Fri, 23 Dec 2022 01:55:46 +0000",
        "Message-Id": "<20221223015558.3143279-10-mingxia.liu@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20221223015558.3143279-1-mingxia.liu@intel.com>",
        "References": "<20221223015558.3143279-1-mingxia.liu@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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"
    },
    "content": "Add basic Rx support in split queue mode and single queue mode.\n\nSigned-off-by: Mingxia Liu <mingxia.liu@intel.com>\n---\n drivers/net/cpfl/cpfl_ethdev.c |  2 ++\n drivers/net/cpfl/cpfl_rxtx.c   | 11 +++++++++++\n drivers/net/cpfl/cpfl_rxtx.h   |  1 +\n 3 files changed, 14 insertions(+)",
    "diff": "diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c\nindex 5c487e5511..02594e1455 100644\n--- a/drivers/net/cpfl/cpfl_ethdev.c\n+++ b/drivers/net/cpfl/cpfl_ethdev.c\n@@ -251,6 +251,8 @@ cpfl_dev_start(struct rte_eth_dev *dev)\n \t\tgoto err_mtu;\n \t}\n \n+\tcpfl_set_rx_function(dev);\n+\n \tret = idpf_vc_ena_dis_vport(vport, true);\n \tif (ret != 0) {\n \t\tPMD_DRV_LOG(ERR, \"Failed to enable vport\");\ndiff --git a/drivers/net/cpfl/cpfl_rxtx.c b/drivers/net/cpfl/cpfl_rxtx.c\nindex a10deb6c96..30df129a19 100644\n--- a/drivers/net/cpfl/cpfl_rxtx.c\n+++ b/drivers/net/cpfl/cpfl_rxtx.c\n@@ -734,3 +734,14 @@ cpfl_stop_queues(struct rte_eth_dev *dev)\n \t\t\tPMD_DRV_LOG(WARNING, \"Fail to stop Tx queue %d\", i);\n \t}\n }\n+\n+void\n+cpfl_set_rx_function(struct rte_eth_dev *dev)\n+{\n+\tstruct idpf_vport *vport = dev->data->dev_private;\n+\n+\tif (vport->rxq_model == VIRTCHNL2_QUEUE_MODEL_SPLIT)\n+\t\tdev->rx_pkt_burst = idpf_splitq_recv_pkts;\n+\telse\n+\t\tdev->rx_pkt_burst = idpf_singleq_recv_pkts;\n+}\ndiff --git a/drivers/net/cpfl/cpfl_rxtx.h b/drivers/net/cpfl/cpfl_rxtx.h\nindex 037d479d56..c29c30c7a3 100644\n--- a/drivers/net/cpfl/cpfl_rxtx.h\n+++ b/drivers/net/cpfl/cpfl_rxtx.h\n@@ -37,4 +37,5 @@ int cpfl_tx_queue_stop(struct rte_eth_dev *dev, uint16_t tx_queue_id);\n int cpfl_rx_queue_stop(struct rte_eth_dev *dev, uint16_t rx_queue_id);\n void cpfl_dev_tx_queue_release(struct rte_eth_dev *dev, uint16_t qid);\n void cpfl_dev_rx_queue_release(struct rte_eth_dev *dev, uint16_t qid);\n+void cpfl_set_rx_function(struct rte_eth_dev *dev);\n #endif /* _CPFL_RXTX_H_ */\n",
    "prefixes": [
        "09/21"
    ]
}