Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/124706/?format=api
http://patches.dpdk.org/api/patches/124706/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230302212057.1114863-17-mingxia.liu@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": "<20230302212057.1114863-17-mingxia.liu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230302212057.1114863-17-mingxia.liu@intel.com", "date": "2023-03-02T21:20:52", "name": "[v9,16/21] net/cpfl: support timestamp offload", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "bb46094f5a5ee0426360f07945a40d1addb672ab", "submitter": { "id": 2514, "url": "http://patches.dpdk.org/api/people/2514/?format=api", "name": "Liu, Mingxia", "email": "mingxia.liu@intel.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230302212057.1114863-17-mingxia.liu@intel.com/mbox/", "series": [ { "id": 27228, "url": "http://patches.dpdk.org/api/series/27228/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=27228", "date": "2023-03-02T21:20:36", "name": "add support for cpfl PMD in DPDK", "version": 9, "mbox": "http://patches.dpdk.org/series/27228/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/124706/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/124706/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 8229641DB5;\n\tThu, 2 Mar 2023 14:07:59 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2F26A42D6C;\n\tThu, 2 Mar 2023 14:06:33 +0100 (CET)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 70C2C42D39\n for <dev@dpdk.org>; Thu, 2 Mar 2023 14:06:31 +0100 (CET)", "from orsmga001.jf.intel.com ([10.7.209.18])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 Mar 2023 05:06:31 -0800", "from dpdk-mingxial-ice.sh.intel.com ([10.67.110.191])\n by orsmga001.jf.intel.com with ESMTP; 02 Mar 2023 05:06:29 -0800" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1677762391; x=1709298391;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=tgzrXYLJlSI0Pln/4aLHLUAX5GsYjc2MOUQg6YzEzNE=;\n b=nctEhX7GWOcfVQsWrpzuR1CQNFHh++N2nQEm8JKbM6+sTJw4F9HyEmOj\n UykGnmZMOD6pTa9mGkjNpDZlyBsqAA78yhRzV1UdO0SkUnM6wQpeYL/04\n +nXZMtPNqinpn+XpM23Vk6T/OxAwY+2sWZljAxhiHW1uWEXqeHBhAkf/p\n tYR1XzoZ9KcOhNbSUlUFijiPrTveRugG7hszTDrDCJhYGlhmzDsiDKCXe\n OCIorH2DRUXD/jO64VX/NkPvG5SpvVfFrP9SBhcz7Nyf2nQm0tt+qrHir\n +XfUNExkDjUaAG5nUbAg2KwLhyXwVEWgDgy1LJ8dE51hpZ78JTlsxHTKJ A==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10636\"; a=\"322988296\"", "E=Sophos;i=\"5.98,227,1673942400\"; d=\"scan'208\";a=\"322988296\"", "E=McAfee;i=\"6500,9779,10636\"; a=\"707406441\"", "E=Sophos;i=\"5.98,227,1673942400\"; d=\"scan'208\";a=\"707406441\"" ], "X-ExtLoop1": "1", "From": "Mingxia Liu <mingxia.liu@intel.com>", "To": "dev@dpdk.org,\n\tbeilei.xing@intel.com,\n\tyuying.zhang@intel.com", "Cc": "Mingxia Liu <mingxia.liu@intel.com>", "Subject": "[PATCH v9 16/21] net/cpfl: support timestamp offload", "Date": "Thu, 2 Mar 2023 21:20:52 +0000", "Message-Id": "<20230302212057.1114863-17-mingxia.liu@intel.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20230302212057.1114863-1-mingxia.liu@intel.com>", "References": "<20230302103527.931071-1-mingxia.liu@intel.com>\n <20230302212057.1114863-1-mingxia.liu@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": "Add support for timestamp offload.\n\nSigned-off-by: Mingxia Liu <mingxia.liu@intel.com>\n---\n drivers/net/cpfl/cpfl_ethdev.c | 3 ++-\n drivers/net/cpfl/cpfl_rxtx.c | 7 +++++++\n 2 files changed, 9 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c\nindex e64cadfd38..ae716d104c 100644\n--- a/drivers/net/cpfl/cpfl_ethdev.c\n+++ b/drivers/net/cpfl/cpfl_ethdev.c\n@@ -100,7 +100,8 @@ cpfl_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)\n \t\tRTE_ETH_RX_OFFLOAD_IPV4_CKSUM |\n \t\tRTE_ETH_RX_OFFLOAD_UDP_CKSUM |\n \t\tRTE_ETH_RX_OFFLOAD_TCP_CKSUM |\n-\t\tRTE_ETH_RX_OFFLOAD_OUTER_IPV4_CKSUM;\n+\t\tRTE_ETH_RX_OFFLOAD_OUTER_IPV4_CKSUM |\n+\t\tRTE_ETH_RX_OFFLOAD_TIMESTAMP;\n \n \tdev_info->tx_offload_capa =\n \t\tRTE_ETH_TX_OFFLOAD_IPV4_CKSUM\t\t|\ndiff --git a/drivers/net/cpfl/cpfl_rxtx.c b/drivers/net/cpfl/cpfl_rxtx.c\nindex a3832acd4f..ea28d3978c 100644\n--- a/drivers/net/cpfl/cpfl_rxtx.c\n+++ b/drivers/net/cpfl/cpfl_rxtx.c\n@@ -516,6 +516,13 @@ cpfl_rx_queue_init(struct rte_eth_dev *dev, uint16_t rx_queue_id)\n \t\treturn -EINVAL;\n \t}\n \n+\terr = idpf_qc_ts_mbuf_register(rxq);\n+\tif (err != 0) {\n+\t\tPMD_DRV_LOG(ERR, \"fail to register timestamp mbuf %u\",\n+\t\t\t rx_queue_id);\n+\t\treturn -EIO;\n+\t}\n+\n \tif (rxq->adapter->is_rx_singleq) {\n \t\t/* Single queue */\n \t\terr = idpf_qc_single_rxq_mbufs_alloc(rxq);\n", "prefixes": [ "v9", "16/21" ] }{ "id": 124706, "url": "