Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/127977/?format=api
http://patchwork.dpdk.org/api/patches/127977/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230602162216.1868870-4-vattunuru@marvell.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": "<20230602162216.1868870-4-vattunuru@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230602162216.1868870-4-vattunuru@marvell.com", "date": "2023-06-02T16:22:16", "name": "[v3,3/3] node/ethdev_rx: remove hardcoded node next details", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "62e13542e5e07b3067550352f657575c21f36a8b", "submitter": { "id": 1277, "url": "http://patchwork.dpdk.org/api/people/1277/?format=api", "name": "Vamsi Krishna Attunuru", "email": "vattunuru@marvell.com" }, "delegate": { "id": 1, "url": "http://patchwork.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230602162216.1868870-4-vattunuru@marvell.com/mbox/", "series": [ { "id": 28329, "url": "http://patchwork.dpdk.org/api/series/28329/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=28329", "date": "2023-06-02T16:22:13", "name": "node: Introduce kernel_rx & kernel_tx nodes", "version": 3, "mbox": "http://patchwork.dpdk.org/series/28329/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/127977/comments/", "check": "fail", "checks": "http://patchwork.dpdk.org/api/patches/127977/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 127EE42C11;\n\tFri, 2 Jun 2023 18:22:50 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 02AB342D3E;\n\tFri, 2 Jun 2023 18:22:39 +0200 (CEST)", "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 6852F42D31\n for <dev@dpdk.org>; Fri, 2 Jun 2023 18:22:37 +0200 (CEST)", "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 352AewZj027246; Fri, 2 Jun 2023 09:22:36 -0700", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3qy3uykfw3-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Fri, 02 Jun 2023 09:22:36 -0700", "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48;\n Fri, 2 Jun 2023 09:22:34 -0700", "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend\n Transport; Fri, 2 Jun 2023 09:22:34 -0700", "from localhost.localdomain (unknown [10.28.36.156])\n by maili.marvell.com (Postfix) with ESMTP id ADC023F7060;\n Fri, 2 Jun 2023 09:22:32 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=5ma31mPcewjVN0ZxemQ9boFUHl6HNRRg27mXK4C4loY=;\n b=Kq8oa90BXWmzgeDxKqq7zJ9vfcySZJLTC2FEfc5Fqs2jQtQERwTPbaZXrCuovxdKsNaW\n P8LVctUjKSGNjKhIhZpMZAxMVH6WCRur3FV4LW/ptr7ZRQ69BkjUQq+/vayx1R622KXb\n aZSvBbnH+HoBMr4XFr4RZMgII6sf0jVscT1TSXeLAeKLKVqtIuYpAxJdwR/srGm12eV4\n GNThRLs6+xzzrZl6gfGgkxnug9iZ1RxnwxmyuXTd/h7B9cmqfoHvK/VScnSXU5Ofg0tY\n vytW9T2cbJZ5yJUE6NMaJWkVuy1w8zlozNBmKuRbAL5htlXolVWYznmSPsKoOV82sSjn MA==", "From": "Vamsi Attunuru <vattunuru@marvell.com>", "To": "<dev@dpdk.org>, <thomas@monjalon.net>, <jerinj@marvell.com>", "CC": "<vattunuru@marvell.com>, <ndabilpuram@marvell.com>, <zhirun.yan@intel.com>", "Subject": "[PATCH v3 3/3] node/ethdev_rx: remove hardcoded node next details", "Date": "Fri, 2 Jun 2023 09:22:16 -0700", "Message-ID": "<20230602162216.1868870-4-vattunuru@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20230602162216.1868870-1-vattunuru@marvell.com>", "References": "<20230425131516.3308612-1-vattunuru@marvell.com>\n <20230602162216.1868870-1-vattunuru@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-GUID": "-MUuVTJCnfHWBrrzhAKYz8Nqv92GE3Wg", "X-Proofpoint-ORIG-GUID": "-MUuVTJCnfHWBrrzhAKYz8Nqv92GE3Wg", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26\n definitions=2023-06-02_12,2023-06-02_02,2023-05-22_02", "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": "For ethdev_rx node, node_next details can be populated\nduring node cloning time and same gets assigned to\nnode context structure during node initialization.\n\nPatch removes overriding node_next details in node\ninit().\n\nSigned-off-by: Vamsi Attunuru <vattunuru@marvell.com>\n---\n lib/node/ethdev_ctrl.c | 1 +\n lib/node/ethdev_rx.c | 3 ---\n 2 files changed, 1 insertion(+), 3 deletions(-)", "diff": "diff --git a/lib/node/ethdev_ctrl.c b/lib/node/ethdev_ctrl.c\nindex 37df0431b8..496f791cee 100644\n--- a/lib/node/ethdev_ctrl.c\n+++ b/lib/node/ethdev_ctrl.c\n@@ -82,6 +82,7 @@ rte_node_eth_config(struct rte_node_ethdev_config *conf, uint16_t nb_confs,\n \t\t\tmemset(elem, 0, sizeof(ethdev_rx_node_elem_t));\n \t\t\telem->ctx.port_id = port_id;\n \t\t\telem->ctx.queue_id = j;\n+\t\t\telem->ctx.cls_next = ETHDEV_RX_NEXT_PKT_CLS;\n \t\t\telem->nid = id;\n \t\t\telem->next = rx_node_data->head;\n \t\t\trx_node_data->head = elem;\ndiff --git a/lib/node/ethdev_rx.c b/lib/node/ethdev_rx.c\nindex a19237b42f..d131034991 100644\n--- a/lib/node/ethdev_rx.c\n+++ b/lib/node/ethdev_rx.c\n@@ -194,8 +194,6 @@ ethdev_rx_node_init(const struct rte_graph *graph, struct rte_node *node)\n \n \tRTE_VERIFY(elem != NULL);\n \n-\tctx->cls_next = ETHDEV_RX_NEXT_PKT_CLS;\n-\n \t/* Check and setup ptype */\n \treturn ethdev_ptype_setup(ctx->port_id, ctx->queue_id);\n }\n@@ -215,7 +213,6 @@ static struct rte_node_register ethdev_rx_node_base = {\n \n \t.nb_edges = ETHDEV_RX_NEXT_MAX,\n \t.next_nodes = {\n-\t\t/* Default pkt classification node */\n \t\t[ETHDEV_RX_NEXT_PKT_CLS] = \"pkt_cls\",\n \t\t[ETHDEV_RX_NEXT_IP4_LOOKUP] = \"ip4_lookup\",\n \t},\n", "prefixes": [ "v3", "3/3" ] }{ "id": 127977, "url": "