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 7EEE7429EB; Tue, 25 Apr 2023 15:15:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6EDC040ED6; Tue, 25 Apr 2023 15:15:46 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id E313240395 for ; Tue, 25 Apr 2023 15:15:44 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33PCAvGU010158; Tue, 25 Apr 2023 06:15:42 -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=YDG/0sCHB+I8H9Ddcpt9vWl7zUV1YatnDDx5gtlBaCY=; b=aOYdFowdL08McG3Rb1A4ZIx0uWjc8O33AqSUBrbHFDKDZHL6dbKTiCTa98Zpk6CYpm7b elfzH9AVtgr5Ow5Y/jIAzsSLXnCN3eilkL02/nVfdd44juTsr1ayv4wqawX1Gg/mcm9k XYZDifgyhRiPg3+SmfdE388UQT/U8ZxsN/aB6Sk09SLejxj9J9/nzCEOSy6bGEZpZGiQ NoBs5EOCr2Okpo3QPmgl3A2HQC+wRsxosdxAa3xU1bvlw4ZrDa9m5N0Zc/vKlB9PMtib 78L+xyayg6L0XKuUku9vOj8ZqlpgrKMVA35WKXAkasZsGLwxJOpSkd1Rc7+PhaKT3PE4 7Q== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3q4f3pa6af-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 25 Apr 2023 06:15:42 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Tue, 25 Apr 2023 06:15:39 -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; Tue, 25 Apr 2023 06:15:39 -0700 Received: from localhost.localdomain (unknown [10.28.36.156]) by maili.marvell.com (Postfix) with ESMTP id AF9093F7057; Tue, 25 Apr 2023 06:15:37 -0700 (PDT) From: Vamsi Attunuru To: , , CC: , Subject: [PATCH v2 0/4] app: introduce testgraph application Date: Tue, 25 Apr 2023 06:15:12 -0700 Message-ID: <20230425131516.3308612-1-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-ORIG-GUID: zXF8QMmdEUn2synLmTeefNRvcwC5acrV X-Proofpoint-GUID: zXF8QMmdEUn2synLmTeefNRvcwC5acrV 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-25_05,2023-04-25_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 This patch series introduces testgraph application that verifies graph architecture, it provides an infra to verify the graph & node libraries and scale the test coverage by adding newer configurations to exercise various graph topologies & graph-walk models required by the DPDK applications. Also this series adds two new nodes (punt_kernel & kernel_recv) to the node library. V2: * Handle error checks in testgraph application * Extend supported test node patterns * Fix warnings Vamsi Attunuru (4): node: add pkt punt to kernel node node: add a node to receive pkts from kernel node: remove hardcoded node next details app: add testgraph application app/meson.build | 1 + app/test-graph/cmdline.c | 211 ++++ app/test-graph/cmdline_graph.c | 294 ++++++ app/test-graph/cmdline_graph.h | 19 + app/test-graph/meson.build | 14 + app/test-graph/parameters.c | 157 +++ app/test-graph/testgraph.c | 1426 +++++++++++++++++++++++++++ app/test-graph/testgraph.h | 91 ++ doc/guides/prog_guide/graph_lib.rst | 17 + doc/guides/tools/index.rst | 1 + doc/guides/tools/testgraph.rst | 131 +++ lib/node/ethdev_rx.c | 2 - lib/node/kernel_recv.c | 276 ++++++ lib/node/kernel_recv_priv.h | 74 ++ lib/node/meson.build | 2 + lib/node/punt_kernel.c | 125 +++ lib/node/punt_kernel_priv.h | 36 + 17 files changed, 2875 insertions(+), 2 deletions(-) create mode 100644 app/test-graph/cmdline.c create mode 100644 app/test-graph/cmdline_graph.c create mode 100644 app/test-graph/cmdline_graph.h create mode 100644 app/test-graph/meson.build create mode 100644 app/test-graph/parameters.c create mode 100644 app/test-graph/testgraph.c create mode 100644 app/test-graph/testgraph.h create mode 100644 doc/guides/tools/testgraph.rst create mode 100644 lib/node/kernel_recv.c create mode 100644 lib/node/kernel_recv_priv.h create mode 100644 lib/node/punt_kernel.c create mode 100644 lib/node/punt_kernel_priv.h -- 2.25.1