Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/127548/?format=api
https://patches.dpdk.org/api/patches/127548/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230526073850.101079-12-beilei.xing@intel.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": "<20230526073850.101079-12-beilei.xing@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230526073850.101079-12-beilei.xing@intel.com", "date": "2023-05-26T07:38:48", "name": "[v4,11/13] net/cpfl: enable write back based on ITR expire", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "f4d5a66b773077556892090606d17285c170e8ab", "submitter": { "id": 410, "url": "https://patches.dpdk.org/api/people/410/?format=api", "name": "Xing, Beilei", "email": "beilei.xing@intel.com" }, "delegate": { "id": 1540, "url": "https://patches.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20230526073850.101079-12-beilei.xing@intel.com/mbox/", "series": [ { "id": 28204, "url": "https://patches.dpdk.org/api/series/28204/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=28204", "date": "2023-05-26T07:38:37", "name": "net/cpfl: add hairpin queue support", "version": 4, "mbox": "https://patches.dpdk.org/series/28204/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/127548/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/127548/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 7B4E542BA9;\n\tFri, 26 May 2023 10:03:47 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B05B542D65;\n\tFri, 26 May 2023 10:02:58 +0200 (CEST)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id E0E3242D59\n for <dev@dpdk.org>; Fri, 26 May 2023 10:02:54 +0200 (CEST)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 26 May 2023 01:02:54 -0700", "from dpdk-beileix-3.sh.intel.com ([10.67.110.253])\n by fmsmga001.fm.intel.com with ESMTP; 26 May 2023 01:02:52 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1685088175; x=1716624175;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=hS/AowAHVW7n9HZ0z891ed5mVtjUWeS03D6vLCEt/h8=;\n b=bhLvxvxkUSzWLUVpp3k7yftnR7Silb8NwosrDV1f++y++YhNjHCLhg2z\n m12z+Amhp+o4EFhmbAXsI5DfmUco+wPxr946lk4qXB2XpuYUkFa0Ri0/w\n zJV1tHUtivVSDB2xQ5hSSN3mNhPgB7Ik65fhwcBWcLgctjsAFj8/phlvt\n E8sB3UjbYYEY191M++q9lVxGcFsFLePR9hbPgea+YzaGSgBnkidrGZ0uR\n k86McNHR1DdJy5LtcnVXo3ZXynJWP/Jqyd5E4XNxht+Txaq+4csuUDJEr\n 7s+gEGNACqhIoaMpqz+93YsXUiPBLjg/WDo+wL9iJ/hsGR7EROOkbvsas w==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10721\"; a=\"338742726\"", "E=Sophos;i=\"6.00,193,1681196400\"; d=\"scan'208\";a=\"338742726\"", "E=McAfee;i=\"6600,9927,10721\"; a=\"849483920\"", "E=Sophos;i=\"6.00,193,1681196400\"; d=\"scan'208\";a=\"849483920\"" ], "X-ExtLoop1": "1", "From": "beilei.xing@intel.com", "To": "jingjing.wu@intel.com", "Cc": "dev@dpdk.org, mingxia.liu@intel.com, Beilei Xing <beilei.xing@intel.com>", "Subject": "[PATCH v4 11/13] net/cpfl: enable write back based on ITR expire", "Date": "Fri, 26 May 2023 07:38:48 +0000", "Message-Id": "<20230526073850.101079-12-beilei.xing@intel.com>", "X-Mailer": "git-send-email 2.26.2", "In-Reply-To": "<20230526073850.101079-1-beilei.xing@intel.com>", "References": "<20230519073116.56749-1-beilei.xing@intel.com>\n <20230526073850.101079-1-beilei.xing@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": "From: Beilei Xing <beilei.xing@intel.com>\n\nThis patch enables write back based on ITR expire\n(WR_ON_ITR) for hairpin queues.\n\nSigned-off-by: Mingxia Liu <mingxia.liu@intel.com>\nSigned-off-by: Beilei Xing <beilei.xing@intel.com>\n---\n drivers/net/cpfl/cpfl_ethdev.c | 13 ++++++++++++-\n 1 file changed, 12 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c\nindex 8035878602..74f33e9814 100644\n--- a/drivers/net/cpfl/cpfl_ethdev.c\n+++ b/drivers/net/cpfl/cpfl_ethdev.c\n@@ -735,11 +735,22 @@ cpfl_dev_configure(struct rte_eth_dev *dev)\n static int\n cpfl_config_rx_queues_irqs(struct rte_eth_dev *dev)\n {\n+\tuint32_t qids[CPFL_MAX_P2P_NB_QUEUES + IDPF_DEFAULT_RXQ_NUM] = {0};\n \tstruct cpfl_vport *cpfl_vport = dev->data->dev_private;\n \tstruct idpf_vport *vport = &cpfl_vport->base;\n \tuint16_t nb_rx_queues = dev->data->nb_rx_queues;\n+\tstruct cpfl_rx_queue *cpfl_rxq;\n+\tint i;\n \n-\treturn idpf_vport_irq_map_config(vport, nb_rx_queues);\n+\tfor (i = 0; i < nb_rx_queues; i++) {\n+\t\tcpfl_rxq = dev->data->rx_queues[i];\n+\t\tif (cpfl_rxq->hairpin_info.hairpin_q)\n+\t\t\tqids[i] = cpfl_hw_qid_get(cpfl_vport->p2p_q_chunks_info->rx_start_qid,\n+\t\t\t\t\t\t (i - cpfl_vport->nb_data_rxq));\n+\t\telse\n+\t\t\tqids[i] = cpfl_hw_qid_get(vport->chunks_info.rx_start_qid, i);\n+\t}\n+\treturn idpf_vport_irq_map_config_by_qids(vport, qids, nb_rx_queues);\n }\n \n /* Update hairpin_info for dev's tx hairpin queue */\n", "prefixes": [ "v4", "11/13" ] }{ "id": 127548, "url": "