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 EB3FBA0543; Tue, 24 May 2022 22:06:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D226C400EF; Tue, 24 May 2022 22:06:55 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 20269400D6 for ; Tue, 24 May 2022 22:06:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653422813; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=T/QJ3qZLvmdEMfYex4ELXznZhcGYpgiyqHrMHeXyrDs=; b=Ud2jqPlIaZpP7izo+Bd+3OsynNT+/7ZxSAeOfUHDN+XfpbEos/tDMHizSQIy4qzCP0dZO5 aGB5z6x5sO3cj7N/4yfUp2MpcAO2NSKGQT1Ya9sPA2ZagEyVSoV8Pr8y++hH0XZL95aJC0 urFyqFytHbHQA+YwUus1cy3s9TWONr0= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-651-k-HpMWNZO868pGa9QKehjA-1; Tue, 24 May 2022 16:06:50 -0400 X-MC-Unique: k-HpMWNZO868pGa9QKehjA-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 91E0A3C01C00; Tue, 24 May 2022 20:06:49 +0000 (UTC) Received: from fchome.home (unknown [10.40.192.86]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0DD477AD8; Tue, 24 May 2022 20:06:47 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, andrew.rybchenko@oktetlabs.ru, ferruh.yigit@xilinx.com Subject: [PATCH v2 0/2] Split driver specific commands out of testpmd Date: Tue, 24 May 2022 22:06:40 +0200 Message-Id: <20220524200642.1322115-1-david.marchand@redhat.com> In-Reply-To: <20220513075718.18674-1-david.marchand@redhat.com> References: <20220513075718.18674-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true 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 Hello, Following TB decision [1] and recent discussions on the driver specific commands in testpmd, here is a proposal on how the split could be done. For now, this series simply moves the testpmd code in the driver directory. The driver specific testpmd code is still compiled as part of testpmd compilation via a global meson testpmd_driver_sources list. 1: https://mails.dpdk.org/archives/dev/2022-April/239191.html -- David Marchand Changes since v1: - dropped drivers updates, - handled comments on testpmd API, Changes since RFC v2: - extended cleanup patch 1, - fixed command registration (again..), - dropped ixgbe bypass commands, - fixed some indent, - updated documentation, Changes since RFC v1: - added a cleanup as patch 1, to make all parser symbols static, - fixed registering issue in patch 1, - moved more i40e specific commands, fixed checkpatch warnings, David Marchand (2): app/testpmd: mark most cmdline symbols as static app/testpmd: register driver specific commands app/test-pmd/bpf_cmd.c | 20 +- app/test-pmd/cmdline.c | 2847 ++++++++++--------- app/test-pmd/cmdline_flow.c | 8 +- app/test-pmd/cmdline_mtr.c | 219 +- app/test-pmd/cmdline_tm.c | 442 +-- app/test-pmd/meson.build | 5 + app/test-pmd/testpmd.c | 4 + app/test-pmd/testpmd.h | 23 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 27 +- drivers/meson.build | 5 + meson.build | 2 + 11 files changed, 1846 insertions(+), 1756 deletions(-) -- 2.36.1