Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/121326/?format=api
http://patchwork.dpdk.org/api/patches/121326/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20221223015558.3143279-15-mingxia.liu@intel.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20221223015558.3143279-15-mingxia.liu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20221223015558.3143279-15-mingxia.liu@intel.com", "date": "2022-12-23T01:55:51", "name": "[14/21] net/cpfl: support Tx offloading", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "1fe72d3f86ec4973a094f1408e678ce05a8eda10", "submitter": { "id": 2514, "url": "http://patchwork.dpdk.org/api/people/2514/?format=api", "name": "Liu, Mingxia", "email": "mingxia.liu@intel.com" }, "delegate": { "id": 319, "url": "http://patchwork.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20221223015558.3143279-15-mingxia.liu@intel.com/mbox/", "series": [ { "id": 26253, "url": "http://patchwork.dpdk.org/api/series/26253/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=26253", "date": "2022-12-23T01:55:37", "name": "add support for cpfl PMD in DPDK", "version": 1, "mbox": "http://patchwork.dpdk.org/series/26253/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/121326/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/121326/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 7F1F0A0093;\n\tFri, 23 Dec 2022 03:53:11 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 78A3642D5A;\n\tFri, 23 Dec 2022 03:52:12 +0100 (CET)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id 2FEC242D56\n for <dev@dpdk.org>; Fri, 23 Dec 2022 03:52:10 +0100 (CET)", "from orsmga006.jf.intel.com ([10.7.209.51])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 22 Dec 2022 18:52:09 -0800", "from dpdk-mingxial-01.sh.intel.com ([10.67.119.112])\n by orsmga006.jf.intel.com with ESMTP; 22 Dec 2022 18:52:08 -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=1671763930; x=1703299930;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=dJUStnh1j556XU0OpJ0VAGGa9E8kIkVrL5mSzW1SjwY=;\n b=Mc2vyK+ICULnIoSUZye8cECRGx75WK4t/ZbCpJITHQU257SavqkXTjyR\n uwN5b49rmTU6XrvTnQdRwQ5qNIJPrsaxqp1t/rYM5KoPhMMzfCmMuQ8MD\n Zc2oeWwuA/WKbcsJDvCNZGJYIpyW+vD6NQVoWQ1eaJcsGLpCkg6jnZQu2\n v/Nm1IbKdT8D5n+y+hvjfJZJNpQr1BnTkLzheSzBu+yEHcfScEeHjHcK1\n zN78r35Wccq2N+gdssNcRTFHSYmr55/rZNYfqSXY0BnaL/EJXlZL1VuYR\n dwKxiKF5yaQ/REhlpwUvUPxYAOG/5Kfzo01wYk27KmxJ1FhGGt0XJgMiq g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10569\"; a=\"321467123\"", "E=Sophos;i=\"5.96,267,1665471600\"; d=\"scan'208\";a=\"321467123\"", "E=McAfee;i=\"6500,9779,10569\"; a=\"629707186\"", "E=Sophos;i=\"5.96,267,1665471600\"; d=\"scan'208\";a=\"629707186\"" ], "X-ExtLoop1": "1", "From": "Mingxia Liu <mingxia.liu@intel.com>", "To": "dev@dpdk.org", "Cc": "jingjing.wu@intel.com, beilei.xing@intel.com, qi.z.zhang@intel.com,\n Mingxia Liu <mingxia.liu@intel.com>", "Subject": "[PATCH 14/21] net/cpfl: support Tx offloading", "Date": "Fri, 23 Dec 2022 01:55:51 +0000", "Message-Id": "<20221223015558.3143279-15-mingxia.liu@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20221223015558.3143279-1-mingxia.liu@intel.com>", "References": "<20221223015558.3143279-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 Tx offloading support:\n - support TSO for single queue model and split queue model.\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 | 8 +++++++-\n 2 files changed, 8 insertions(+), 1 deletion(-)", "diff": "diff --git a/doc/guides/nics/features/cpfl.ini b/doc/guides/nics/features/cpfl.ini\nindex ee5948f444..f4e45c7c68 100644\n--- a/doc/guides/nics/features/cpfl.ini\n+++ b/doc/guides/nics/features/cpfl.ini\n@@ -8,6 +8,7 @@\n ;\n [Features]\n MTU update = Y\n+TSO = P\n L3 checksum offload = P\n L4 checksum offload = P\n Linux = Y\ndiff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c\nindex 043e24675e..f684d7cff5 100644\n--- a/drivers/net/cpfl/cpfl_ethdev.c\n+++ b/drivers/net/cpfl/cpfl_ethdev.c\n@@ -105,7 +105,13 @@ cpfl_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)\n \t\tRTE_ETH_RX_OFFLOAD_TCP_CKSUM |\n \t\tRTE_ETH_RX_OFFLOAD_OUTER_IPV4_CKSUM;\n \n-\tdev_info->tx_offload_capa = RTE_ETH_TX_OFFLOAD_MULTI_SEGS;\n+\tdev_info->tx_offload_capa =\n+\t\tRTE_ETH_TX_OFFLOAD_IPV4_CKSUM\t\t|\n+\t\tRTE_ETH_TX_OFFLOAD_UDP_CKSUM\t\t|\n+\t\tRTE_ETH_TX_OFFLOAD_TCP_CKSUM\t\t|\n+\t\tRTE_ETH_TX_OFFLOAD_SCTP_CKSUM\t\t|\n+\t\tRTE_ETH_TX_OFFLOAD_TCP_TSO\t\t|\n+\t\tRTE_ETH_TX_OFFLOAD_MULTI_SEGS;\n \n \tdev_info->default_txconf = (struct rte_eth_txconf) {\n \t\t.tx_free_thresh = CPFL_DEFAULT_TX_FREE_THRESH,\n", "prefixes": [ "14/21" ] }{ "id": 121326, "url": "