Cover Detail
Show a cover letter.
GET /api/covers/124/?format=api
https://patches.dpdk.org/api/covers/124/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/cover/20230908112901.1169869-1-haijie1@huawei.com/", "project": { "id": 1, "url": "https://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": "<20230908112901.1169869-1-haijie1@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230908112901.1169869-1-haijie1@huawei.com", "date": "2023-09-08T11:28:25", "name": "[00/36] fix Rx and Tx queue state", "submitter": { "id": 2935, "url": "https://patches.dpdk.org/api/people/2935/?format=api", "name": "Jie Hai", "email": "haijie1@huawei.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/cover/20230908112901.1169869-1-haijie1@huawei.com/mbox/", "series": [ { "id": 29461, "url": "https://patches.dpdk.org/api/series/29461/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=29461", "date": "2023-09-08T11:28:25", "name": "fix Rx and Tx queue state", "version": 1, "mbox": "https://patches.dpdk.org/series/29461/mbox/" } ], "comments": "https://patches.dpdk.org/api/covers/124/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 B4EBF42547;\n\tFri, 8 Sep 2023 13:32:15 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9FAA0402AF;\n\tFri, 8 Sep 2023 13:32:15 +0200 (CEST)", "from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187])\n by mails.dpdk.org (Postfix) with ESMTP id 1396340042\n for <dev@dpdk.org>; Fri, 8 Sep 2023 13:32:13 +0200 (CEST)", "from kwepemi500020.china.huawei.com (unknown [172.30.72.55])\n by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Rhv6h0TwCzrSSW\n for <dev@dpdk.org>; Fri, 8 Sep 2023 19:30:20 +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; Fri, 8 Sep 2023 19:32:10 +0800" ], "From": "Jie Hai <haijie1@huawei.com>", "To": "<dev@dpdk.org>", "CC": "<haijie1@huawei.com>, <lihuisong@huawei.com>", "Subject": "[PATCH 00/36] fix Rx and Tx queue state", "Date": "Fri, 8 Sep 2023 19:28:25 +0800", "Message-ID": "<20230908112901.1169869-1-haijie1@huawei.com>", "X-Mailer": "git-send-email 2.30.0", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Originating-IP": "[10.67.165.2]", "X-ClientProxiedBy": "dggems702-chm.china.huawei.com (10.3.19.179) 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 state, which is stored in\ndev->data->tx_queue_state and dev->data->rx_queue_state. The\nstate is maintained by the driver. 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\nTherefore, the drivers need to modify the queue state in time\naccording to the actual situation, especially when dev_start\nand dev_stop are called. see [3] for more information.\n\n[3] https://inbox.dpdk.org/dev/20230721160422.3848154-1-ferruh.yigit@amd.com/\n\nThis patchset also resubmit the patch [2] and makes some fixes on the patch.\n\nJie Hai (36):\n net/axgbe: fix Rx and Tx queue state\n net/af_packet: fix Rx and Tx queue state\n net/af_xdp: fix Rx and Tx queue state\n net/avp: fix Rx and Tx queue state\n net/bnx2x: fix Rx and Tx queue state\n net/bnxt: fix Rx and Tx queue state\n net/bonding: fix Rx and Tx queue state\n net/cxgbe: fix Rx and Tx queue state\n net/dpaa: fix Rx and Tx queue state\n net/dpaa2: fix Rx and Tx queue state\n net/e1000: fix Rx and Tx queue state\n net/ena: fix Rx and Tx queue state\n net/enetc: fix Rx and Tx queue state\n net/enic: fix Rx and Tx queue state\n net/hinic: fix Rx and Tx queue state\n net/ipn3ke: fix Rx and Tx queue state\n net/memif: fix Rx and Tx queue state\n net/mana: fix Rx and Tx queue state\n net/mlx4: fix Rx and Tx queue state\n net/mvneta: fix Rx and Tx queue state\n net/mvpp2: fix Rx and Tx queue state\n net/netvsc: fix Rx and Tx queue state\n net/nfp: fix Rx and Tx queue state\n net/ngbe: fix Rx and Tx queue state\n net/null: fix Rx and Tx queue state\n net/octeon_ep: fix Rx and Tx queue state\n net/octeontx: fix Rx and Tx queue state\n net/pfe: fix Rx and Tx queue state\n net/ring: fix Rx and Tx queue state\n net/sfc: fix Rx and Tx queue state\n net/softnic: fix Rx and Tx queue state\n net/txgbe: fix Rx and Tx queue state\n net/vhost: fix Rx and Tx queue state\n net/virtio: fix Rx and Tx queue state\n net/vmxnet3: fix Rx and Tx queue state\n app/testpmd: fix primary process not polling all queues\n\n app/test-pmd/testpmd.c | 25 +++++++++++++++----\n drivers/net/af_packet/rte_eth_af_packet.c | 9 +++++++\n drivers/net/af_xdp/rte_eth_af_xdp.c | 13 ++++++++++\n drivers/net/avp/avp_ethdev.c | 12 +++++++++\n drivers/net/axgbe/axgbe_ethdev.c | 7 ++++++\n drivers/net/axgbe/axgbe_rxtx.c | 2 ++\n drivers/net/bnx2x/bnx2x_ethdev.c | 12 +++++++++\n drivers/net/bnxt/bnxt_ethdev.c | 6 +++++\n drivers/net/bonding/rte_eth_bond_pmd.c | 10 ++++++++\n drivers/net/cxgbe/cxgbe_ethdev.c | 6 +++++\n drivers/net/dpaa/dpaa_ethdev.c | 12 +++++++++\n drivers/net/dpaa2/dpaa2_ethdev.c | 11 ++++++++\n drivers/net/e1000/em_rxtx.c | 8 ++++++\n drivers/net/e1000/igb_rxtx.c | 4 +++\n drivers/net/ena/ena_ethdev.c | 12 +++++++++\n drivers/net/enetc/enetc_ethdev.c | 12 +++++++++\n drivers/net/enic/enic_ethdev.c | 6 +++++\n drivers/net/hinic/hinic_pmd_ethdev.c | 12 +++++++++\n drivers/net/ipn3ke/ipn3ke_representor.c | 12 +++++++++\n drivers/net/mana/rx.c | 3 +++\n drivers/net/mana/tx.c | 4 +++\n drivers/net/memif/rte_eth_memif.c | 16 ++++++++++++\n drivers/net/mlx4/mlx4.c | 13 ++++++++++\n drivers/net/mvneta/mvneta_ethdev.c | 12 +++++++++\n drivers/net/mvpp2/mrvl_ethdev.c | 10 ++++++++\n drivers/net/netvsc/hn_ethdev.c | 12 +++++++++\n drivers/net/nfp/flower/nfp_flower.c | 8 ++++++\n .../net/nfp/flower/nfp_flower_representor.c | 12 +++++++++\n drivers/net/nfp/nfp_common.c | 2 ++\n drivers/net/nfp/nfp_ethdev.c | 6 +++++\n drivers/net/nfp/nfp_ethdev_vf.c | 6 +++++\n drivers/net/ngbe/ngbe_rxtx.c | 2 ++\n drivers/net/null/rte_eth_null.c | 15 +++++++++++\n drivers/net/octeon_ep/otx_ep_ethdev.c | 11 ++++++++\n drivers/net/octeontx/octeontx_ethdev.c | 11 ++++++++\n drivers/net/pfe/pfe_ethdev.c | 11 ++++++++\n drivers/net/ring/rte_eth_ring.c | 15 +++++++++++\n drivers/net/sfc/sfc_repr.c | 12 +++++++++\n drivers/net/softnic/rte_eth_softnic.c | 12 +++++++++\n drivers/net/txgbe/txgbe_rxtx.c | 8 ++++++\n drivers/net/vhost/rte_eth_vhost.c | 12 +++++++++\n drivers/net/virtio/virtio_ethdev.c | 11 ++++++++\n drivers/net/vmxnet3/vmxnet3_ethdev.c | 12 +++++++++\n 43 files changed, 422 insertions(+), 5 deletions(-)" }{ "id": 124, "url": "