From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 63688429A6; Fri, 21 Apr 2023 08:03:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B054542C4D; Fri, 21 Apr 2023 08:03:04 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 0964142B71 for ; Fri, 21 Apr 2023 08:03:01 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33L32sVu007982 for ; Thu, 20 Apr 2023 23:03:01 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=1A62cTdvOBmAEuF1KAOqe6dLjj9imzCUvhfWsk3X8SY=; b=JYCptBBACvaYackYxoekAUmW2WP7OXUx8AAWVOTi2rIgyK629gFtIumLYBIEZa7+X1C8 8dzhxCgAhJTQi4SqmBW3OTI2j1okRNSccSYBGypcVGpHfXA+YXQB0YEvrULNzRn9gKo6 wWvD2oCYjUu9a2N47DJsKKclJmltZywb4miOVBQh/Be8CgrzfUjI28+dA8858ugiUirT w+LmBHJ2GN9+Lhe+Dc84Uu7aZU1Y5oRiWeQ47afiF7h37qQdp8iC/Ftx+fFq5Qy0XPx1 iN5aA/tZR/8f+wOj+LaUpJB4D706AkNZBIKGYvckqVWCl+WrfclL42ttZCnnRXGAJVz3 rA== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3q3djpjemt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 20 Apr 2023 23:03:01 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 20 Apr 2023 23:02:59 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Thu, 20 Apr 2023 23:02:59 -0700 Received: from localhost.localdomain (unknown [10.28.36.156]) by maili.marvell.com (Postfix) with ESMTP id E763E3F707E; Thu, 20 Apr 2023 23:02:57 -0700 (PDT) From: Vamsi Attunuru To: , CC: , Subject: [PATCH 3/4] node: remove hardcoded node next details Date: Thu, 20 Apr 2023 23:02:44 -0700 Message-ID: <20230421060245.3136217-4-vattunuru@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230421060245.3136217-1-vattunuru@marvell.com> References: <20230421060245.3136217-1-vattunuru@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: MEvyUTBjD_73c5yhKnjC_LkjpsIzyuUY X-Proofpoint-ORIG-GUID: MEvyUTBjD_73c5yhKnjC_LkjpsIzyuUY X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-20_17,2023-04-20_01,2023-02-09_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org For ethdev_rx node, node_next details can be populated during node cloning time and same gets assigned to node context structure during node initialization. Patch removes overriding node_next details in node init(). Signed-off-by: Vamsi Attunuru --- lib/node/ethdev_rx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/node/ethdev_rx.c b/lib/node/ethdev_rx.c index a19237b42f..85816c489c 100644 --- a/lib/node/ethdev_rx.c +++ b/lib/node/ethdev_rx.c @@ -194,8 +194,6 @@ ethdev_rx_node_init(const struct rte_graph *graph, struct rte_node *node) RTE_VERIFY(elem != NULL); - ctx->cls_next = ETHDEV_RX_NEXT_PKT_CLS; - /* Check and setup ptype */ return ethdev_ptype_setup(ctx->port_id, ctx->queue_id); } -- 2.25.1