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 CF62E42C11; Fri, 2 Jun 2023 18:22:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C171442D10; Fri, 2 Jun 2023 18:22:31 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id D808242D0D for ; Fri, 2 Jun 2023 18:22:29 +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 352ANPSM026968; Fri, 2 Jun 2023 09:22:29 -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=3ZT9EQBTw4PacADGAQMBId0WK7FW7bYO9L/dwVdc9mU=; b=aUVLPiMFc8t/StfTXhr7bRnWtVwNQGAWsqY2GZVOSzIy8mhyKpBJBQDfgvNboiZrgvLm rVQj/hS8lFsRSv7rg9Ci5Hf+3XuyEi/K1PQVb00qiEaNxCxNz9Basxd+JSWX6ANFS7bx HjwlpGZkJNVBMDOe0Wt2wjxQtsyJTbJIPIcw3/0InIyu9yRieMykm3eypHtnqIxZnvdU zdhWwQ340JP5WZuLA1acHj9TBAqnizjQiKTd7nUBpF7eju3HTF0tIWaBGb/eycOblti6 s53AJjht30fS9FC3b1Sj0I2Mlv0QqCtVT0CZD6cU/34b3iR+J3sc996s3uaz71HN3fYZ Fw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3qy3uykfvn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 02 Jun 2023 09:22:28 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Fri, 2 Jun 2023 09:22:27 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Fri, 2 Jun 2023 09:22:27 -0700 Received: from localhost.localdomain (unknown [10.28.36.156]) by maili.marvell.com (Postfix) with ESMTP id 559863F7041; Fri, 2 Jun 2023 09:22:25 -0700 (PDT) From: Vamsi Attunuru To: , , CC: , , Subject: [PATCH v3 0/3] node: Introduce kernel_rx & kernel_tx nodes Date: Fri, 2 Jun 2023 09:22:13 -0700 Message-ID: <20230602162216.1868870-1-vattunuru@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230425131516.3308612-1-vattunuru@marvell.com> References: <20230425131516.3308612-1-vattunuru@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: zVt5ag1QU6sls_iEgoLlbcGnuPeL8a6z X-Proofpoint-ORIG-GUID: zVt5ag1QU6sls_iEgoLlbcGnuPeL8a6z X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patch set introduces two new nodes to transmit & receive packets from kernel. This nodes can be used for any exception path handling or to forward any control plane traffic to kernel or receive from kernel stack. V3: * Address review comments * Drop test-graph application from the patch set V2: * Handle error checks in testgraph application * Extend supported test node patterns * Fix warnings Vamsi Attunuru (3): node/kernel_tx: support packet transmit to kernel node/kernel_rx: support receiving packets from kernel node/ethdev_rx: remove hardcoded node next details doc/guides/prog_guide/graph_lib.rst | 17 ++ lib/node/ethdev_ctrl.c | 1 + lib/node/ethdev_rx.c | 3 - lib/node/kernel_rx.c | 276 ++++++++++++++++++++++++++++ lib/node/kernel_rx_priv.h | 48 +++++ lib/node/kernel_tx.c | 122 ++++++++++++ lib/node/kernel_tx_priv.h | 16 ++ lib/node/meson.build | 2 + 8 files changed, 482 insertions(+), 3 deletions(-) create mode 100644 lib/node/kernel_rx.c create mode 100644 lib/node/kernel_rx_priv.h create mode 100644 lib/node/kernel_tx.c create mode 100644 lib/node/kernel_tx_priv.h -- 2.25.1