get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 91640,
    "url": "http://patches.dpdk.org/api/patches/91640/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1618571071-5927-1-git-send-email-tangchengchang@huawei.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": "<1618571071-5927-1-git-send-email-tangchengchang@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1618571071-5927-1-git-send-email-tangchengchang@huawei.com",
    "date": "2021-04-16T11:04:29",
    "name": "[RFC,0/2] add Tx prepare support for bonding device",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 1792,
        "url": "http://patches.dpdk.org/api/people/1792/?format=api",
        "name": "Chengchang Tang",
        "email": "tangchengchang@huawei.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1618571071-5927-1-git-send-email-tangchengchang@huawei.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/91640/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/91640/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 63133A0C43;\n\tFri, 16 Apr 2021 13:04:23 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 21B47141450;\n\tFri, 16 Apr 2021 13:04:23 +0200 (CEST)",
            "from szxga07-in.huawei.com (szxga07-in.huawei.com [45.249.212.35])\n by mails.dpdk.org (Postfix) with ESMTP id 14FC21410CD\n for <dev@dpdk.org>; Fri, 16 Apr 2021 13:04:21 +0200 (CEST)",
            "from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.60])\n by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4FMCvr12DjzB1fQ;\n Fri, 16 Apr 2021 19:02:00 +0800 (CST)",
            "from localhost.localdomain (10.69.192.56) by\n DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id\n 14.3.498.0; Fri, 16 Apr 2021 19:04:11 +0800"
        ],
        "From": "Chengchang Tang <tangchengchang@huawei.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<linuxarm@huawei.com>, <chas3@att.com>, <humin29@huawei.com>,\n <ferruh.yigit@intel.com>",
        "Date": "Fri, 16 Apr 2021 19:04:29 +0800",
        "Message-ID": "<1618571071-5927-1-git-send-email-tangchengchang@huawei.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.69.192.56]",
        "X-CFilter-Loop": "Reflected",
        "Subject": "[dpdk-dev] [RFC 0/2] add Tx prepare support for bonding device",
        "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": "This patch add Tx prepare for bonding device.\n\nCurrently, the bonding driver has not implemented the callback of\nrte_eth_tx_prepare function. Therefore, the TX prepare function of the\nslave devices will never be invoked. When hardware offloading such as\nCKSUM and TSO are enabled for some drivers, tx_prepare needs to be used\nto adjust packets (for example, set correct pseudo packet headers).\nOtherwise, related offloading fails and even packets are sent\nincorrectly. Due to this limitation, the bonded device cannot use these\nHW offloading in the Tx direction.\n\nBecause packet sending algorithms are numerous and complex in bond PMD,\nit is hard to design the callback for rte_eth_tx_prepare. In this patch,\nthe tx_prepare callback of bonding PMD is not implemented. Instead,\nrte_eth_tx_prepare has been called in tx_burst callback. And a global\nvariable is introduced to control whether the bonded device need call\nthe rte_eth_tx_prepare. If upper-layer users need to use some TX\noffloading that depend on tx_prepare , they should enable the preparation\nfunction. In this way, the bonded device will call the rte_eth_tx_prepare\nfor the fast path packets in the tx_burst callback.\n\nChengchang Tang (2):\n  net/bonding: add Tx prepare for bonding\n  app/testpmd: add cmd for bonding Tx prepare\n\n app/test-pmd/cmdline.c                      | 66 +++++++++++++++++++++++++++++\n doc/guides/testpmd_app_ug/testpmd_funcs.rst |  9 ++++\n drivers/net/bonding/eth_bond_private.h      |  1 +\n drivers/net/bonding/rte_eth_bond.h          | 29 +++++++++++++\n drivers/net/bonding/rte_eth_bond_api.c      | 28 ++++++++++++\n drivers/net/bonding/rte_eth_bond_pmd.c      | 33 +++++++++++++--\n drivers/net/bonding/version.map             |  5 +++\n 7 files changed, 167 insertions(+), 4 deletions(-)\n\n--\n2.7.4",
    "diff": null,
    "prefixes": [
        "RFC",
        "0/2"
    ]
}