get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 64641,
    "url": "http://patches.dpdk.org/api/patches/64641/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200114112945.39375-5-reshma.pattan@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": "<20200114112945.39375-5-reshma.pattan@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200114112945.39375-5-reshma.pattan@intel.com",
    "date": "2020-01-14T11:29:44",
    "name": "[4/5] net/ixgbe: add missing stubs for ppc",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "cd2ec100c1dd577153b0047bc773994d7be46f3f",
    "submitter": {
        "id": 70,
        "url": "http://patches.dpdk.org/api/people/70/?format=api",
        "name": "Pattan, Reshma",
        "email": "reshma.pattan@intel.com"
    },
    "delegate": {
        "id": 31221,
        "url": "http://patches.dpdk.org/api/users/31221/?format=api",
        "username": "yexl",
        "first_name": "xiaolong",
        "last_name": "ye",
        "email": "xiaolong.ye@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200114112945.39375-5-reshma.pattan@intel.com/mbox/",
    "series": [
        {
            "id": 8112,
            "url": "http://patches.dpdk.org/api/series/8112/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8112",
            "date": "2020-01-14T11:29:40",
            "name": "net/ixgbe: improvements to ixgbe driver",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/8112/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/64641/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/64641/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 7229BA04FD;\n\tTue, 14 Jan 2020 12:30:23 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 7795E1C216;\n\tTue, 14 Jan 2020 12:30:01 +0100 (CET)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by dpdk.org (Postfix) with ESMTP id 8582B1C1F3\n for <dev@dpdk.org>; Tue, 14 Jan 2020 12:29:57 +0100 (CET)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n 14 Jan 2020 03:29:57 -0800",
            "from silpixa00400214.ir.intel.com (HELO\n silpixa00400214.ger.corp.intel.com) ([10.237.222.119])\n by fmsmga001.fm.intel.com with ESMTP; 14 Jan 2020 03:29:56 -0800"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.69,432,1571727600\"; d=\"scan'208\";a=\"248239030\"",
        "From": "Reshma Pattan <reshma.pattan@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Reshma Pattan <reshma.pattan@intel.com>,\n Vlad Zolotarov <vladz@cloudius-systems.com>",
        "Date": "Tue, 14 Jan 2020 11:29:44 +0000",
        "Message-Id": "<20200114112945.39375-5-reshma.pattan@intel.com>",
        "X-Mailer": "git-send-email 2.21.0",
        "In-Reply-To": "<20200114112945.39375-1-reshma.pattan@intel.com>",
        "References": "<20200114112945.39375-1-reshma.pattan@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 4/5] net/ixgbe: add missing stubs for ppc",
        "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 <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": "add stubs for ixgbe_xmit_fixed_burst_vec,\nixgbe_rx_queue_release_mbufs_vec and\nixgbe_txq_vec_setup\n\nCC: Vlad Zolotarov <vladz@cloudius-systems.com>\n\nSigned-off-by: Reshma Pattan <reshma.pattan@intel.com>\n---\n drivers/net/ixgbe/ixgbe_rxtx.c | 25 +++++++++++++++++++------\n drivers/net/ixgbe/ixgbe_rxtx.h |  2 --\n 2 files changed, 19 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c\nindex 2be32603c..795ba6bfb 100644\n--- a/drivers/net/ixgbe/ixgbe_rxtx.c\n+++ b/drivers/net/ixgbe/ixgbe_rxtx.c\n@@ -339,7 +339,6 @@ ixgbe_xmit_pkts_simple(void *tx_queue, struct rte_mbuf **tx_pkts,\n \treturn nb_tx;\n }\n \n-#if defined(RTE_ARCH_X86) || defined(RTE_ARCH_ARM64)\n static uint16_t\n ixgbe_xmit_pkts_vec(void *tx_queue, struct rte_mbuf **tx_pkts,\n \t\t    uint16_t nb_pkts)\n@@ -361,7 +360,6 @@ ixgbe_xmit_pkts_vec(void *tx_queue, struct rte_mbuf **tx_pkts,\n \n \treturn nb_tx;\n }\n-#endif\n \n static inline void\n ixgbe_set_xmit_ctx(struct ixgbe_tx_queue *txq,\n@@ -2387,14 +2385,12 @@ ixgbe_set_tx_function(struct rte_eth_dev *dev, struct ixgbe_tx_queue *txq)\n \t\t\t(txq->tx_rs_thresh >= RTE_PMD_IXGBE_TX_MAX_BURST)) {\n \t\tPMD_INIT_LOG(DEBUG, \"Using simple tx code path\");\n \t\tdev->tx_pkt_prepare = NULL;\n-#if defined(RTE_ARCH_X86) || defined(RTE_ARCH_ARM64)\n \t\tif (txq->tx_rs_thresh <= RTE_IXGBE_TX_MAX_FREE_BUF_SZ &&\n \t\t\t\t(rte_eal_process_type() != RTE_PROC_PRIMARY ||\n \t\t\t\t\tixgbe_txq_vec_setup(txq) == 0)) {\n \t\t\tPMD_INIT_LOG(DEBUG, \"Vector tx enabled.\");\n \t\t\tdev->tx_pkt_burst = ixgbe_xmit_pkts_vec;\n \t\t} else\n-#endif\n \t\tdev->tx_pkt_burst = ixgbe_xmit_pkts_simple;\n \t} else {\n \t\tPMD_INIT_LOG(DEBUG, \"Using full-featured tx code path\");\n@@ -2682,13 +2678,11 @@ ixgbe_rx_queue_release_mbufs(struct ixgbe_rx_queue *rxq)\n {\n \tunsigned i;\n \n-#if defined(RTE_ARCH_X86) || defined(RTE_ARCH_ARM64)\n \t/* SSE Vector driver has a different way of releasing mbufs. */\n \tif (rxq->rx_using_sse) {\n \t\tixgbe_rx_queue_release_mbufs_vec(rxq);\n \t\treturn;\n \t}\n-#endif\n \n \tif (rxq->sw_ring != NULL) {\n \t\tfor (i = 0; i < rxq->nb_rx_desc; i++) {\n@@ -5834,4 +5828,23 @@ ixgbe_rxq_vec_setup(struct ixgbe_rx_queue __rte_unused *rxq)\n {\n \treturn -1;\n }\n+\n+uint16_t\n+ixgbe_xmit_fixed_burst_vec(void *tx_queue, struct rte_mbuf **tx_pkts,\n+\t\t\t\t\tuint16_t nb_pkts)\n+{\n+\treturn 0;\n+}\n+\n+int\n+ixgbe_txq_vec_setup(struct ixgbe_tx_queue *txq)\n+{\n+\treturn -1;\n+}\n+\n+void\n+ixgbe_rx_queue_release_mbufs_vec(struct ixgbe_rx_queue *rxq)\n+{\n+\treturn;\n+}\n #endif\ndiff --git a/drivers/net/ixgbe/ixgbe_rxtx.h b/drivers/net/ixgbe/ixgbe_rxtx.h\nindex 5c9aa0f9d..3e11630f7 100644\n--- a/drivers/net/ixgbe/ixgbe_rxtx.h\n+++ b/drivers/net/ixgbe/ixgbe_rxtx.h\n@@ -288,11 +288,9 @@ void ixgbe_rx_queue_release_mbufs_vec(struct ixgbe_rx_queue *rxq);\n extern const uint32_t ptype_table[IXGBE_PACKET_TYPE_MAX];\n extern const uint32_t ptype_table_tn[IXGBE_PACKET_TYPE_TN_MAX];\n \n-#if defined(RTE_ARCH_X86) || defined(RTE_ARCH_ARM64)\n uint16_t ixgbe_xmit_fixed_burst_vec(void *tx_queue, struct rte_mbuf **tx_pkts,\n \t\t\t\t    uint16_t nb_pkts);\n int ixgbe_txq_vec_setup(struct ixgbe_tx_queue *txq);\n-#endif\n \n uint64_t ixgbe_get_tx_port_offloads(struct rte_eth_dev *dev);\n uint64_t ixgbe_get_rx_queue_offloads(struct rte_eth_dev *dev);\n",
    "prefixes": [
        "4/5"
    ]
}