Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/123558/?format=api
https://patches.dpdk.org/api/patches/123558/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230209084541.2712723-17-mingxia.liu@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": "<20230209084541.2712723-17-mingxia.liu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230209084541.2712723-17-mingxia.liu@intel.com", "date": "2023-02-09T08:45:36", "name": "[v5,16/21] net/cpfl: support timestamp offload", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "9451a4c101ba687deec711162cb2b98004f64e9c", "submitter": { "id": 2514, "url": "https://patches.dpdk.org/api/people/2514/?format=api", "name": "Liu, Mingxia", "email": "mingxia.liu@intel.com" }, "delegate": { "id": 319, "url": "https://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20230209084541.2712723-17-mingxia.liu@intel.com/mbox/", "series": [ { "id": 26914, "url": "https://patches.dpdk.org/api/series/26914/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=26914", "date": "2023-02-09T08:45:20", "name": "add support for cpfl PMD in DPDK", "version": 5, "mbox": "https://patches.dpdk.org/series/26914/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/123558/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/123558/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 8648641C4D;\n\tThu, 9 Feb 2023 10:44:43 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id CCCDD42D79;\n\tThu, 9 Feb 2023 10:43:36 +0100 (CET)", "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by mails.dpdk.org (Postfix) with ESMTP id 06D5F410EA\n for <dev@dpdk.org>; Thu, 9 Feb 2023 10:43:32 +0100 (CET)", "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 09 Feb 2023 01:43:23 -0800", "from dpdk-mingxial-01.sh.intel.com ([10.67.119.167])\n by orsmga008.jf.intel.com with ESMTP; 09 Feb 2023 01:43:18 -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=1675935813; x=1707471813;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=uWwgj6aNT+ja4NIOHIRLkyEUzQ1d8wMSZww20XynaAY=;\n b=Bgrq5Jo8bLKFSEwPbkU6s0ZeCSm10IdsqIbD9yeaeslC7cU7qhu5JEI+\n M3KL/Al2t7TZqXEMezS/N7iFqfOzOiEZnzGBoq8DmHkhOrf1lAoInk0GF\n 7IKf41OD6j0BvkhdZv6x8HckgGn7WzcVss7UOhVIqljl1ozoWMvZLyY/5\n JqwoWvz3mYPy3waxL06Y7uDKdnoh4pQIAIsEarzH3WMRDMdYGqXE1Sw3Z\n tFWu689P0Vjbw5iClzMJelRKSeK6i9nXggVuCtE3Mu8h+BwVUQfQu0VEn\n vlvGf4MKK9+LrtjuZJah4xqe+s8CibaDyk1XubEgZXmlburrkwCBlh82W w==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10615\"; a=\"309712420\"", "E=Sophos;i=\"5.97,283,1669104000\"; d=\"scan'208\";a=\"309712420\"", "E=McAfee;i=\"6500,9779,10615\"; a=\"697964752\"", "E=Sophos;i=\"5.97,283,1669104000\"; d=\"scan'208\";a=\"697964752\"" ], "X-ExtLoop1": "1", "From": "Mingxia Liu <mingxia.liu@intel.com>", "To": "dev@dpdk.org, qi.z.zhang@intel.com, jingjing.wu@intel.com,\n beilei.xing@intel.com", "Cc": "Mingxia Liu <mingxia.liu@intel.com>", "Subject": "[PATCH v5 16/21] net/cpfl: support timestamp offload", "Date": "Thu, 9 Feb 2023 08:45:36 +0000", "Message-Id": "<20230209084541.2712723-17-mingxia.liu@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20230209084541.2712723-1-mingxia.liu@intel.com>", "References": "<20230118075738.904616-1-mingxia.liu@intel.com>\n <20230209084541.2712723-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 doc/guides/nics/features/cpfl.ini | 1 +\n drivers/net/cpfl/cpfl_ethdev.c | 3 ++-\n drivers/net/cpfl/cpfl_rxtx.c | 7 +++++++\n 3 files changed, 10 insertions(+), 1 deletion(-)", "diff": "diff --git a/doc/guides/nics/features/cpfl.ini b/doc/guides/nics/features/cpfl.ini\nindex f4e45c7c68..c1209df3e5 100644\n--- a/doc/guides/nics/features/cpfl.ini\n+++ b/doc/guides/nics/features/cpfl.ini\n@@ -11,6 +11,7 @@ MTU update = Y\n TSO = P\n L3 checksum offload = P\n L4 checksum offload = P\n+Timestamp offload = P\n Linux = Y\n x86-32 = Y\n x86-64 = Y\ndiff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c\nindex 9d921b4355..5393b32922 100644\n--- a/drivers/net/cpfl/cpfl_ethdev.c\n+++ b/drivers/net/cpfl/cpfl_ethdev.c\n@@ -103,7 +103,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 f1119b27e1..c81e830c6a 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\t\trx_queue_id);\n+\t\treturn -EIO;\n+\t}\n+\n \tif (rxq->bufq1 == NULL) {\n \t\t/* Single queue */\n \t\terr = idpf_qc_single_rxq_mbufs_alloc(rxq);\n", "prefixes": [ "v5", "16/21" ] }{ "id": 123558, "url": "