Show a cover letter.

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

{
    "id": 200,
    "url": "http://patches.dpdk.org/api/covers/200/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/cover/20230928074305.2991100-1-haijie1@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": "<20230928074305.2991100-1-haijie1@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230928074305.2991100-1-haijie1@huawei.com",
    "date": "2023-09-28T07:42:57",
    "name": "[v2,0/8] fix Rx and Tx queue state",
    "submitter": {
        "id": 2935,
        "url": "http://patches.dpdk.org/api/people/2935/?format=api",
        "name": "Jie Hai",
        "email": "haijie1@huawei.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/cover/20230928074305.2991100-1-haijie1@huawei.com/mbox/",
    "series": [
        {
            "id": 29668,
            "url": "http://patches.dpdk.org/api/series/29668/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29668",
            "date": "2023-09-28T07:42:57",
            "name": "fix Rx and Tx queue state",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/29668/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/covers/200/comments/",
    "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 7D9C94265D;\n\tThu, 28 Sep 2023 09:46:16 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6E592402EA;\n\tThu, 28 Sep 2023 09:46:16 +0200 (CEST)",
            "from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187])\n by mails.dpdk.org (Postfix) with ESMTP id 83B8A40273\n for <dev@dpdk.org>; Thu, 28 Sep 2023 09:46:14 +0200 (CEST)",
            "from kwepemi500020.china.huawei.com (unknown [172.30.72.53])\n by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Rx55n2c2MztT8R\n for <dev@dpdk.org>; Thu, 28 Sep 2023 15:41:49 +0800 (CST)",
            "from localhost.localdomain (10.67.165.2) by\n kwepemi500020.china.huawei.com (7.221.188.8) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id\n 15.1.2507.31; Thu, 28 Sep 2023 15:46:11 +0800"
        ],
        "From": "Jie Hai <haijie1@huawei.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<haijie1@huawei.com>, <lihuisong@huawei.com>",
        "Subject": "[PATCH v2 0/8] fix Rx and Tx queue state",
        "Date": "Thu, 28 Sep 2023 15:42:57 +0800",
        "Message-ID": "<20230928074305.2991100-1-haijie1@huawei.com>",
        "X-Mailer": "git-send-email 2.30.0",
        "In-Reply-To": "<20230908112901.1169869-1-haijie1@huawei.com>",
        "References": "<20230908112901.1169869-1-haijie1@huawei.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.67.165.2]",
        "X-ClientProxiedBy": "dggems704-chm.china.huawei.com (10.3.19.181) To\n kwepemi500020.china.huawei.com (7.221.188.8)",
        "X-CFilter-Loop": "Reflected",
        "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": "The DPDK framework reports the queue status, which is stored in\n'dev->data->tx_queue_state' and 'dev->data->rx_queue_state' . The state\nis currently maintained by the drivers. Users may determine whether\na queue participates in packet forwarding based on the state,\nFor example,\n\n[1] 5028f207a4fa (\"app/testpmd: fix secondary process packet forwarding\"\n[2] 141a520b35f7 (\"app/testpmd: fix primary process not polling all queues\")\n\nHowever, not all drivers correctly report the queue status. This may cause\nforwarding problems.\n\nSince it is difficult to modify the queue status of all drivers, we consider\nupdating the queue status at the framework level. Some drivers support queues\nfor hairpin, leaving status updating for such queues to the drivers. Some\ndrivers support deferred_start. Assume that all drivers that support\n'deferred_start' can obtain the configuration through 'rte_eth_tx_queue_info_get'\nand 'rte_eth_rx_queue_info_get'. So we can directly update the queue status in\n'rte_eth_dev_start' and 'rte_eth_dev_stop'.\n\nThis patchset does the follow things:\n1. update Rx and Tx queue status in dev_start and dev_stop.\n2. implement rxq|txq_info_get ops for drivers supporting deferred start.\n3. resubmit the patch [2] and makes some fixes on the patch.\n\nJie Hai (8):\n  lib/ethdev: update Rx and Tx queue status\n  net/cpfl: support getting queue information\n  net/enetc: save deferred start configuratin for queues\n  net/enetc: support getting queue information\n  net/failsafe: support getting queue information\n  net/fm10k: support getting queue information\n  net/idpf: support getting queue information\n  app/testpmd: fix primary process not polling all queues\n\n app/test-pmd/testpmd.c              | 25 ++++++++++++++----\n drivers/net/cpfl/cpfl_ethdev.c      |  2 ++\n drivers/net/cpfl/cpfl_rxtx.c        | 26 +++++++++++++++++++\n drivers/net/cpfl/cpfl_rxtx.h        |  4 +++\n drivers/net/enetc/enetc.h           |  2 ++\n drivers/net/enetc/enetc_ethdev.c    | 26 +++++++++++++++++++\n drivers/net/failsafe/failsafe_ops.c | 24 +++++++++++++++++\n drivers/net/fm10k/fm10k_ethdev.c    | 28 ++++++++++++++++++++\n drivers/net/idpf/idpf_ethdev.c      | 22 ++++++++++++++++\n lib/ethdev/rte_ethdev.c             | 40 +++++++++++++++++++++++++++++\n 10 files changed, 194 insertions(+), 5 deletions(-)"
}